aboutsummaryrefslogtreecommitdiff
path: root/config
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'sso-login' into mainHEADmainIN COMMON Collective2021-04-098-6/+147
|\
| * [DEV] WIP: explore sso login alternativeIN COMMON Collective2021-03-268-6/+147
| |
* | [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.
* Merge branch 'uuid-resolver' into mainhellekin2021-03-222-1/+5
|\
| * Add UUIDResolverhellekin2021-03-222-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | [DEV] Remove unnecessary ambiguity with default database hosthellekin2021-03-221-1/+1
|/
* [FIX] Restore REUSE 3.0 compliancehellekin2021-02-021-0/+4
|
* Comment out webpack-bundle-analyzerhellekin2021-01-231-0/+3
| | | | | | | Just keep it around but do not use it. It requires `yarn add webpack-bundle-analyzer -D` to install. Moving `* /` to `*/` will disable the JavaScript comment.
* Move CSS to Webpackhellekin2021-01-232-6/+6
| | | | | | | | | | | | | Using both the asset pipeline and webpack is confusing and leads to unpredictable results in production. This commit moves all (S)CSS to Webpack under `app/javascript/scss` so that we can test whether the development interface results in a consistent production deployment. In order to load the ForkAwesome fonts we used a long path: `$fa-font-path: "../../../node_modules/fork-awesome/fonts";` Not sure whether this works...
* Yarn integrity check breaks railsv0.1.5hellekin2021-01-221-0/+3
|
* Upgrade Rails and add StimulusJS supporthellekin2021-01-2215-32/+126
|
* 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.
* Allow using INCOMMON as a module namehellekin2020-10-291-0/+1
|
* REUSE: Add AGPL-3.0-or-later to routeshellekin2020-10-291-0/+3
|
* REUSE: Add LAL-1.3 to translation stringshellekin2020-10-291-0/+4
|
* REUSE: Add MIT to original Rails fileshellekin2020-10-293-0/+12
|
* REUSE: Add AGPL-3.0-or-later on remaining IN COMMON codehellekin2020-10-292-0/+8
|
* 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.
* Facilitate development with puma in the browserhellekin2020-10-061-30/+26
| | | | | A single worker in development enables in-context debug in the error console in the browser.
* User Kaminari gem for paginationhellekin2020-10-061-0/+14
| | | | | | | | | Since we're dealing with lots of resources, we need a way to handle pagination. This gem seems to be the new kid on the block and doing things right, including pagination by default an I18n support. Let's see. Kaminari: https://github.com/kaminari/kaminari
* Production environment with systemd and chruby requires this...hellekin2020-10-061-0/+3
|
* Add better integration with systemdhellekin2020-10-061-0/+2
|
* Remove broken codehellekin2020-10-061-6/+0
|
* Ensure SSO return host is correct in productionhellekin2020-10-061-1/+1
|
* [deploy] Restore ActionMailer since it breaks during deploy...hellekin2020-10-061-3/+3
|
* Add code for deploymenthellekin2020-10-062-5/+28
|
* First pass at something visiblehellekin2020-10-063-6/+14
| | | | This is a first version of the application, to go beyond simple authentication.
* Add Talk API Keyshellekin2020-10-061-1/+1
| | | | | | Rails.application.credentials.talk_api_key is the key for user interaction Rails.application.credentials.talk_api_admin is the username to use for administration Rails.application.credentials.talk_api_admin_key is the admin API key
* 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.
* Configure Discourse SSOhellekin2020-10-053-0/+14
| | | | | | | | We're creating a minimal User model that will be filled from SSO. We also configure Inflections so we can use SSO instead of Sso which looks weird for a module named after an acronym. Use Discourse as SSO: https://meta.discourse.org/t/using-discourse-as-a-sso-provider/32974
* Add Discourse SSO codehellekin2020-10-053-1/+20
|
* Create database setuphellekin2020-10-051-0/+5
|
* rails new incommon-map -d postgresql -C -Thellekin2020-10-0527-0/+678