aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'sso-login' into mainHEADmainIN COMMON Collective2021-04-091-1/+1
|\
| * [DEV] WIP: explore sso login alternativeIN COMMON Collective2021-03-261-1/+1
| |
* | [FIX] Use form model to create/edit resources (fixes #4, fixes #5, refs #3)v0.1.10IN COMMON Collective2021-04-081-0/+1
|/ | | | | | | | | Since we must associate other models (e.g., classifications) to a Resource, we use a composite model to save all changes inside a database transaction. This approach makes it simpler to handle resources and their associations. Work remains to fix the geolocation and reverse geolocation to ensure these are in sync.
* Add UUIDResolverhellekin2021-03-221-1/+4
| | | | | | | | | | | | | | | | | The UUIDResolver adds a route at `/by-uuid/:uuid` that enables applications to request information about a given UUID. The UUID must be a Random UUID (version 4, see RFC 4122). If an invalid UUID is given, the controller will return 422 Unprocessable Entity. If a valid UUID is given: - 404 indicates that the UUID is not assigned to anything known to the system. - 302 indicates that the UUID was assigned to a record, and the User-Agent will be redirected to that record's Location as indicated in the response header. - 200 indicates that the UUID was assigned to more than one record (which is unlikely) and will list those records.
* Upgrade Rails and add StimulusJS supporthellekin2021-01-221-1/+2
|
* Add Stimulus Map and Taxonomy (WIP)hellekin2020-11-121-0/+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.
* REUSE: Add AGPL-3.0-or-later to routeshellekin2020-10-291-0/+3
|
* Enable switching Agenthellekin2020-10-091-2/+1
| | | | | | | Switching current Agent can help with roles and resource access. Go to your dashboard by clicking the avatar. Select agent and hit "Select"
* Scope routes to Agenthellekin2020-10-091-2/+13
| | | | | | | Since an Agent is required for all records, we scope the routes and get it present for free ;) This commit also adds resource views.
* First pass at something visiblehellekin2020-10-061-0/+8
| | | | This is a first version of the application, to go beyond simple authentication.
* Add Authentication logichellekin2020-10-051-1/+6
| | | | | | | | | | | 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.
* Add Discourse SSO codehellekin2020-10-051-0/+3
|
* rails new incommon-map -d postgresql -C -Thellekin2020-10-051-0/+3