aboutsummaryrefslogtreecommitdiff
path: root/app/views/welcome
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Honor current Agent selectionIN COMMON Collective2021-03-221-1/+1
|
* Remove unused Taxonomy target and refactor debughellekin2021-01-231-9/+10
| | | | Cleaning up the code.
* Add some debug infov0.1.6hellekin2021-01-221-0/+1
|
* Link to current source code version (per AGPL-3.0)hellekin2021-01-221-0/+4
|
* Upgrade Rails and add StimulusJS supporthellekin2021-01-222-5/+2
|
* Add Stimulus Map and Taxonomy (WIP)hellekin2020-11-121-13/+3
| | | | | | | | This commit add StimulusJS interaction for the map and taxonomy, as well as styling. It provides preliminary work to hook up live data on the map from the taxonomy.
* Add map supporthellekin2020-11-111-21/+11
| | | | | | | | | | | | This commit creates a dedicated Map model and moves the JavaScript from view to a Stimulus controller. - Stimulus.js https://stimulusjs.org - Leaflet.js https://leafletjs.org Upcoming resources: - https://discourse.stimulusjs.org/t/leafletjs-with-stimulusjs-on-rails-6/1343/4 - https://github.com/ghybs/leaflet-defaulticon-compatibility
* Enable switching Agenthellekin2020-10-091-1/+7
| | | | | | | Switching current Agent can help with roles and resource access. Go to your dashboard by clicking the avatar. Select agent and hit "Select"
* Wrap debug with loginhellekin2020-10-091-4/+6
| | | | To avoid breaking on logout
* Scope routes to Agenthellekin2020-10-091-2/+12
| | | | | | | Since an Agent is required for all records, we scope the routes and get it present for free ;) This commit also adds resource views.
* Make map more beautifulhellekin2020-10-081-32/+21
| | | | | | | | | | | | | This commit introduces a few things: 1. New `content_for` hooks for :debug, :head, and :body_end so that views code remains consistent and clean 2. Fullscreen map! 3. Welcome#index view, the Rails way It also moves controller-related code to the controller, Enjoy!
* Removed the hand-picked markers because they caused errorsNemael2020-10-081-3/+3
|
* Map added but no dynamic points placed, the current points are hand-picked ↵Nemael2020-10-081-0/+48
| | | | from the data
* First pass at something visiblehellekin2020-10-061-6/+0
| | | | This is a first version of the application, to go beyond simple authentication.
* Add Authentication logichellekin2020-10-053-0/+28
The ApplicationController provides a `current_user` method (and helper) to access the authenticated user (if any). The WelcomeController provides minimal logic to authenticate against DiscourseSSO. Current state is that one can login and logout. Views need a lot of work.