-
575 squashed commits follow: initial commit for Caligram frontend templates Lay in tab structure for content + footer slider + secondary nav Start Redux boilerplate Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> merge starting both server Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add dotenv file Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> Replaced react-hot-loader with webpack-hot-middleware (stevoland) Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> creation of outer/inner containers for map/events + work on secondary navigation finish up styling for secondary navigation header blocking in initial footer bumper w/links add .DS_Store to .gitignore Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> import caligram proxy Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> boilerplate update Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix indentation Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> Remove api server The proxy will have a remote source Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> map proxy correctly Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> api client connection in front-end Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> No need for csrf in frontend Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove auth stuff Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove hashid Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add events call Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> event list sample Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix react warnings Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove unused package Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix server side rendering Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove devtools Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> move api config to dotenv Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update readme Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> cleanup App.js Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove unused stuff Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove InfoBar stuff Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add moment.js Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update router for translations Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> wait for a better way to do the route -> locale file stuff Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> Upgrade babel-plugin-react-transform Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> pin dependencies Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> pass history prop on app only Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update packages Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> there's always something else that runs on port 3000 The port has been changed to 3010 Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add event detail page fetch Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix loaded detail state Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> id at the end because SEO Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add pace js Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> I like purple... Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update packages Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix client double render Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update dependencies Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix loading flicker Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update packages, fix deprecated createLocation Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> pass query string to server side render Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> Fetch data on client when SSR is disabled Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update dependencies Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> React 0.14 Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add redux router Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> pace with/without ajax is acting weird with new router, remove for now Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix pacejs bug Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> test status code Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove bindActionCreators Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> error handling for render Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> server fixes Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update query-string package Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix server fetching Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> don't initialize hooks before store Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> other router changes Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> tweak of localhost port to avoid conflict inclusion of susy grid framework removal of bootstrap in preference of mistress susy removal of old bootstrap related css middleware return value Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> delete tokens if client authentification failed Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix eslint Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> Remove Stacey Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> update devtools Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> remove bootstrap and add fonts output Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> note to keep routes in alpha order Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> import susy library, start setting up css Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add normalize.css Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> change proxy port for frontend Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> start template integration add grid layout and listing styles Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add global styles Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> start event details page Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add configs Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> restart on push state Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> overwriting document meta for event details Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> fix tags Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> small fixes Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> revert scripts Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> clean up Api Client Signed-off-by: Martin Bastien <martin.bastien@studiofrenetic.com> add big search bar search bar types call add dynamic search bar with grouping fix empty dropdown state fix query length condition Extensible search bar Css fix for full-width search selection change options list highlight left color change options list with border left highlight string not case sensitive Don't filter out accented characters lazier autosuggest fix state callback call remove console log changing endpoints and logic for autosuggest Remove option wrapper width update dependencies Group events by day update dependencies remove spellcheck on search field groupby case sensitive add layout components make content height relative to view port add new icons transition to top after route change add setTimeout on scroll top add fetchData error handling update boilerplate fix installation errors filter out empty component remove duplicate lint rules remove serve-static module stateless 404 page Added start date, time and venue to event detail just to write some code in react Remove some useless code I forgot to remove upgrade stuff add client condition for devtools replace today's date string add tags in listing change for date object to string add unique key for tags IE9 support vertical alignment without flex foundation for popovers without bootstrap remove container to keep popover inside viewport work on categories popover add styles to categories lists support older browsers with autoprefixer pass query params to api insert default values from url in search bar add tag names on default Fix Categories overlay to search input Typo - Add "s" Add editor config Cursor on anchor Fix scroll on click anchor overlay toggle Start Audiences overlay popover Fix Add and remove tags, types into store and search bar Use already imported dependency Fix camelCase dependecy bug Move change state Remove logs output hard dependency for router until boilerplate update remove bindActionCreator commented imports update Router Links syntax add links and query string to tags and types remove query string when deleting search values Add regions & areas popover UI Center outline nav Fix ui popover regions Load region by type Regions as wizard Event show + start integrating facebook like share button Add facebook-plugins Add TwitterButton Share url Remove log app id Try FB reload Fix facebook share with update dependency and fix css Tweek css & more mobile Reponsive list event Add Google Map Image Remove log Add new date-multiple icon Add event locale Fix missing Twitter Button Add cities overlay on top nav Add Map to event and keep it center on window resize Rename home to events to start homepage Homepage tabs icon nav layout fix tabs gutter rerplace temp image Add calendar popover tab button home + link all events Add calendar-2 icon Font smoothing Update svg icon and close issue #1 update link paths Continue on homepage UI - still needed work Fix arrow rotation on [top|right|left] placement Add placement orientation to overlays Fix overlays placement proptype Add Popover home bottom Fix bubbling child parent target event Fix icon carret - Close #2 Add icon-list Hide grid Add caret icon Footer index link TimeOverlay Remove halfHourSteps & _range closestHour Validate selected prop as valid date Fix some spacing between content and footer Fix calendar caret left & right rotation Add small search bar Hide small search on /events and show elsewhere Add Paginator UI Tweak Paginator UI Add new lines Change event list page Remove log Remove log Force event reload with back & next browser pushState Make smallSearchBarContainer responsive Fix Home large dropdown responsive Fix tag hover buttons Make calendar responsive Make carousel slide Cursor pointer hover carousel control Add missing dependency SmallSearchBar Toggle search from types to tags Start Categories Breadcrumb component remove data key on embeds Still has todos... - put overflow items to start get themes and tags bus letter + breadcrumb Breadcrumb UI Search dynamic placeholder Fix more ellipses hidden if not needed Fix redirect to home whenre remve item in searchbars Separate letters from main tags store Show venue in events list Refactor buttons + add primary-inverted Dynamic tag breadcrumb with parent and children handle OK on tags Remave old regions overlay nav Add search with parent support in RegionOverlay Make home tags scrollable make default cities one level up move outerWidth to utils Show all events styles UI update eslint and add semi-colon on class properties fix self-calling function syntax Ajustements de CSS sur l'accueil. Remplace MM par Caligram. Add cities un cities popover overlay Handle selected calendar date Filter events by date calendar and or hour dropdown Handle sync calendar and hour select date and time + remove on select same day Add location and pushState to AudiencesOverlay Show video oEmbed Display audiences tags Display event prices Add show counter Fix social buttons vertical align remove old social scss comment Add MoreDatesOverlay Sort components Update facebook-plugins dependency display formatted dates in More Dates Overlay Add more date overlay to event show Cities Overlay UI Fix global color and font-size Add dangerouslySetInnerHTML to event description hardcoded default url to french and dynamic route switch add silly underscore to ApiClient add missing keys on routes update selectize to latest version fix open box css fix search bar placeholder change cities for sites and associate mrc region (#3) add search bar groups translations, closes #6 and #8 remove search conditions, closes #7 higher search max values, closes #19 fix search bar remove link, closes #10 remove reload condition hide pagination for empty / one page results, closes #4 update link, closes #14 Ajustement CSS page accueil revert _selectize.scss small date format fixes change small search bar for simple select, closes #5 and #15 faster autocomplete fix search by venues Search categories refactoring and close #13 limit tags breadcrumb to last children add redirection on search, closes #17 refactor search, closes #20 fix query string add multiple regions selection Tag search improvements fix proptype for single item vs array fix search duplicates global parent search for region autocomplete add audience and price type, closes #23 add background to other month, closes #21 css fix for timelist other timelist css fixes add simple pagination for regions add autocomplete search for venues in overlay, closes #22 remove unused parent regions in search WIP subdomain switch fix small search bar css issues fix dropdown menu max height, #18 add event next date in frontend add nextdate time fix sort of event groups reverse order Retrait temporaire de la page d'accueil. Bugfix dans la page de fiche. Ramène la page d'accueil. Downgrade redbox-react pour éviter un bug. Adaptation préliminaire pour VSP. Remove all references to TagHBox. Remove crap. First pass on css colors, font colors, background, logo. Modifications Change colors, put logo, change footer, add images, change right side for left side. Modifications background, left side to right side, font-color, logo, add images Add Cogito font. Use retina images. Remove unused code. Layout adjustments. First pass of upgrade to React 15. Also upgrading Babel and Redux. Fix webpack config. Downgrade react-calendar-pane. The new version changes the markup and we don’t want to deal with it right now. Update history. Conform to new history API. Update react-google-maps. Don't show search criteria in search bar. Show them above the event list instead. Minor style adjustments. Layout adjustments. Remove unused code. Adjust search bar styles. Remove unused image. Fix formatting. Add Retina images. Improve formatting. Tweak CSS of search bar. Refactor SCSS and remove unused styles. Clean up SCSS. Update stuff from boilerplate. Remove console.log(). Lists should not have bullets by default. Add mostly-working search filters. Change port to avoid conflict with main frontend. Update package.json. Explicitly require velocity-animate to fix bug on older npm versions. Refactor main navigation. Tweak footer. Make header smaller on pages other than home. Change main navigation hover effect color. Change table for list <table> for <ul>, modifications of the scss Add pages for About and Contact. Contact is just a placeholder right now ¯\_(ツ)_/¯ Add styles for event list. Tweak style of colored squares. Implement preliminary version of FeaturedEventList. Fix bug in Safari. Initial work on event page. Add nonbreaking spaces in about page. Style event page. Last minute modifications. Correction Height of images, colors, make block clickable, add "Tous les quartiers"... Remove debugging line. Increase events height. Translate mini-calendar. Had to update react-calendar-pane, and refactor CSS. Closes #17. Update react-overlays. Fix minor stuff. Arrow and Date Change the arrow from "En vedette", put date to events Display real dates for events. Group events by week. Closes #4 Also, use new `event_dates` API access point. organization labels for autocomplete Show price notes in event details. Fixes #14 Also replace “Gratuit” with “Entrée libre” Improve formatting of addresses. Fixes #15 Add Google Maps API key. Fixes #25 Fix "all" criteria in sidebar Change colors associated with organizations. Tweak CSS for event dates. Partial fix for #24 Tweak text size in event list. contact cration creation of page contact Changes in contact add pins, add images, add link Fb Twitter youtube page Contact add opening hours Change "Entrée libre" back to "Gratuit". Use "Grand public" as default audience. Fixes #43 Only show arrows when there is content. Fixes #11 Make featured event keys more specific. Fix page buttons. Fixes #38 Remove useless link to Source Sans font. Filter by organization. Fixes #26 Change space change the space between categories Uppercase first letter of date. Fixes #54 Improve look of events on Windows. Not perfect but ¯\_(ツ)_/¯ Use Autosuggest instead of Selectize for search bar Change Facebook link for the arrondissement. Fixes #71 Change text of About page. Fixes #69 Add nonbreaking spaces to Contact page. Fixes #64 Change time formatting for event pages. Fixes #63 Add string substitutions. Fixes #62 Typo. Fixes #59 Remove links in about page. Fixes #58 Make external links open new tabs. Fixes #66 Add link to Caligram. Fixes #40 Fix social sharing links. Fixes #29 Typos in contact page. Fix formatting of contact info. Add favicon. Fixes #75 Phone version. Tablet and desktop versions. Fixes #57 CSS tweaks. Start making contact page responsive. contact change logo to a better quality, change font, page able to change for Tablette Minor tweaks to contact page Fix map in contact page Shorten display name of Maison de la culture Use correct region IDs fetch featured events from /calendars/{id}/featured debugging in progress testing with a new redux module Maybe fix featured events? Work on contact page Almost fix date chooser. #23 Problem: menu doesn’t close when picking a date. Replace map with smaller version Remove unused code Remove unused images Corrige une faute dans la page contact Try to fix featured arrows not working in prod Fix bug where events would sometimes scroll horizontally Make dates overlay work. Fixes #50 External website links should open new windows. Fixes #100 Remove console.log Always show all events on home page. Fixes #99 Prevent opening hours from overlapping. Fixes #112 Vraiment pas parfait mais fuck toute Point events to the correct date. Fixes #84 Fix types in Contact page. #101 Fix typos in contact page. #82 Fix link on Contact page. Fixes #81 Update types Fix typo Attempt to fix font issue in IE. Fixes #79 Update tags Make whole criterion clickable Show date ranges in search criteria. Fixes #22 Add link to remove all search criteria Add CSS transitions Change color of today's date in small calendar Fix email link in contact area. Fixes #117 Remove "Rencontres d'auteur". Fixes #90 Show full date and time in MoreDatesOverlay. Fixes #115 Show time ranges in event details. Fixes #107 Improve display of dates and times. Fixes #106 Remove console.log() Add Google Analytics code Probably not the right way, but ¯\_(ツ)_/¯ Fix Google Analytics Disable carousel temporarily Modifications space between icon Kind of fix carousel on mobile Tweak locale file Revert "Merge branch 'contact-modifications'" This reverts commit 6d58b4f2, reversing changes made to 5fee40a5. Remove useless code Fix metadata Implement Google Analytics Add maintenance page Update asset paths for maintenance page Revert "Update asset paths for maintenance page" This reverts commit 3a49659f. Add auto-refresh to maintenance page Use data URIs for maintenance page Change maintenance mode refresh rate Tweak maintenance refresh time Fix og:description to use plain text instead of HTML. Fixes #127 Change calendar title. Fixes #131 Activate the carousel Arrow mettre bonne fleche, regler probleme des fleches lors de changement de page Ugly fix for featured events Fixes events showing in the wrong order and with incorrect dates Arrow Change arrow from "en vedette" change arrow smaller size, bigger margin Minor tweaks to arrow placement Add ordinals to dates. Partial fix for #139 Add Instagram icon to Contact page Use EventList from caligram-react The old EventList is now EventListContainer, which itself uses the new EventList. Update global.scss to use styles from caligram-react Reimplement event list styles using caligram-react Remove unused styles Use EventListItem from caligram-react in FeaturedEventList Fix incorrect prop type Remove unused files Use new custom dateFormat prop Remove stray console.logs Use SelectionList component in Sidebar Replacement for SearchCriterion Fix development mode warning message Align lint rules partially with caligram-react Avoid requiring style for sidebar Move filters data up + Connect location query to sidebar state Remove initial search call Would be issued on every update Move set filters action to reducer and container Replace SearchCriteria with SelectableList Remove unused data sources in Home.js Small style fix for selectable labels Remove SearchCriterion component Update package.json to specify explicit versions Tweak CSS to match original design Add staging deployment configuration Adjust staging deployment Provide calendar_id through env file Implement EventDetail from caligram-react Add variable in deployment configuration For simpler generalization to other repos Also use APP_NAME constant in environment file Use Calendar component from caligram-react Fix bug where state would not propagate correctly Fix bug where Redux state was not properly updated `events.selectedRange` would not properly update from location query. Remove console.log Always use promises in fetchData Remove empty directory Removed unused components Move Footer styles to stylesheets directory Move Contact styles to stylesheets directory Remove unused stylesheet Move OpeningHours styles to stylesheets directory Fix contact page Move OpeningHours component Remove unused components Move Home styles to stylesheets directory Move App styles to stylesheets directory Clean up images for containers Move MainNavigation styles to stylesheets directory Move EventDetailContainer to Events directory And get rid of Event directory. Move container styles to their own directory To match structure of `src` directory Clean up images Move SearchBar styles to stylesheets directory Remove unused selector Move FeaturedEventList styles to stylesheets directory Don't double-import caligram.scss Move FeaturedEventList and SearchBar components Add styles for empty EventList Fix deployment configuration Fix webpack configuration to use env variables Do not reload php7-fpm Not used by client applications Reload production application on deploy Rename audiences title Fix style Remove initial search action Move audiences to separate module Move types to separate module Move tags to separate module Also support multi-types sidebar clear Move organizations to a separate module Move regions to a separate module Refactor venues module to follow other entity modules structure Rename name field to label for consistency with search Make selected items required in props Add helper method to add absent in collection Refactor search module to use dispatched actions Instead of local state Add venues to selected entities Rename type to group and group to tag in search entities Would conflict with the names returned by the search Add cancellation support to promises Implement in search Also add delay to search repetition (would send a ton of requests) Fill entities cache on page load TODO : unify search return values, the current interface with searchIn and ids is unpredictable and error prone. Either prefer the entities endpoints (/audiences, /tags, etc.) or unify the output of the search controller. Match $light-gray with caligram-react for consistency Use new components from caligram-react Icon, Pagination, ShareLinks. Also change webpack configuration to correctly handle SVGs. Fix range and EventListContainer selectionList object structure Fetch caligram-react dependencies DRY dependencies calls Fix organization sidebar label style The X was not at the right place Load tops when menu is not provided Sequence is : Load tops -> Load initial entities -> Set filters Best case is three noops : Menu is already provided, no initial entities are required, Take menu if required from project configuration Set entity menu if required and not provided Fix range selection Fix types group and tag Was not updated to new naming scheme Move all static data to config.js file Idea is that the config file is the only one that would change in a cloned application, leaving all behavioural concerns unaffected by specific calendar implementations. Move organizations X a little bit Add babel preset react app to dependencies Remove node_modules from shared_dirs Would cause problems between updates Provide selectedDate to EventDetail Add slack webhook on deploy Update react-autosuggest Move SearchBar to SearchBarContainer Use caligram-react SearchBar component Add package-lock.json Use new responsive mixins Clean up responsive styles Prefer using colors from caligram-react Remove unused styles and refactor Fix sidebar styles Remove VSP-specific components and assets
280bb630