aboutsummaryrefslogtreecommitdiff
path: root/app/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Fix category styleshellekin2021-01-221-2/+2
| | | | | | Make category style independent of database ID to prevent bad surprises between development and production. Instead we use the rank.
* Link to current source code version (per AGPL-3.0)hellekin2021-01-221-0/+11
|
* Add markers and popupshellekin2021-01-222-17/+17
| | | | | - Replace MakiMarkers with ExtraMarkers and ForkAwesome - Add HTML popup binding
* Upgrade Rails and add StimulusJS supporthellekin2021-01-225-20/+50
|
* Add Stimulus Map and Taxonomy (WIP)hellekin2020-11-121-0/+22
| | | | | | | | 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.
* Merged masterhellekin2020-11-127-0/+92
|\
| * REUSE: Add AGPL-3.0-or-later to app/*hellekin2020-10-297-0/+49
| |
| * Add Markdown to format Resource.descriptionhellekin2020-10-271-0/+43
| |
* | Add map supporthellekin2020-11-111-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | Remove bork agent_selector_form helperhellekin2020-10-091-7/+0
|/
* Enable switching Agenthellekin2020-10-091-0/+9
| | | | | | | Switching current Agent can help with roles and resource access. Go to your dashboard by clicking the avatar. Select agent and hit "Select"
* Add a selector for categories and sectionshellekin2020-10-091-0/+10
|
* Add permissionshellekin2020-10-091-0/+8
| | | | | - `current_agent` is now a full instance of Agent - provide helpers to verify current user roles
* First pass at something visiblehellekin2020-10-062-0/+4
| | | | This is a first version of the application, to go beyond simple authentication.
* Add Authentication logichellekin2020-10-051-0/+2
| | | | | | | | | | | 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.
* rails new incommon-map -d postgresql -C -Thellekin2020-10-051-0/+2