aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add syntactic sugarhellekin2021-02-021-0/+6
| | | | | | | | | | | | To some it may be more straightforward to think of the members of an Agent as "users". This commit accepts using `Agent#users` instead of `Agent#members`, but warns developers that they should be using the other method. Since Agent has_many Users, the Principle of Least Surprise warrants that `agent.users` does something. But they're really members.
* Remove useless methodhellekin2021-02-021-4/+0
|
* [FIX] Account for users without an avatar or grouphellekin2021-02-024-4/+27
| | | | | | | | | | | | | | | 1. Ensure new users belong to an Agent Users may come without the correct group information, leading to a situation where they have no Agent assigned to them. The application cannot handle this, so we ensure new users are at least associated to the new Anonymous Agent. 2. Introduce a default avatar Users coming without an avatar would see a broken view. Now they're assigned a default avatar, which shows the IN COMMON icon logo instead.
* Introduce an Anonymous Agenthellekin2021-02-024-62/+27
| | | | | | | | | | | | | Since we moved away from Roles it's important to maintain a default Agent that is distinct from the previous default IN COMMON Agent. Previously, a user without a proper group would be granted the `observer` role in the default Agent, enough to create new resources. Now, we consider anonymous users to be part of the Anonymous Agent, which also brings the possibility for them to edit yet to be accepted Resources.
* Add leaflet-geosearchhellekin2021-02-025-1/+21
| | | | | | | | | | | This Leaflet plugin adds a live address search on the map. We anticipate the possibility to find POIs from their address, or to check whether an address is already in the database. For now it enables looking up an address. https://smeijer.github.io/leaflet-geosearch/leaflet-control/
* [FEATURE] Add print buttonhellekin2021-01-313-0/+29
| | | | | | | | Using `leaflet-easyprint`, we can add a button to print a current view of the map. This commit adds the functionality, without customization. Source: https://github.com/rowanwins/leaflet-easyPrint
* Add scale information to the maphellekin2021-01-311-0/+3
|
* Reconfigure the asset pipelinehellekin2021-01-231-1/+1
| | | | | Since we moved CSS to Webpack, also tell that to the asset pipeline.
* 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.
* Document extra steps to cleanup imported datahellekin2021-01-231-0/+19
|
* Remove unused Taxonomy target and refactor debughellekin2021-01-233-11/+13
| | | | Cleaning up the code.
* Move CSS to Webpackhellekin2021-01-2326-87/+107
| | | | | | | | | | | | | 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...
* On the way to finding fonts?hellekin2021-01-222-2/+2
|
* Try loading fonts from webpackhellekin2021-01-221-1/+1
|
* Do not validate associated Agenthellekin2021-01-221-1/+1
|
* Remove duplicate codev0.1.7hellekin2021-01-221-14/+0
|
* Fix category styleshellekin2021-01-222-14/+14
| | | | | | Make category style independent of database ID to prevent bad surprises between development and production. Instead we use the rank.
* Add some debug infov0.1.6hellekin2021-01-221-0/+1
|
* Yarn integrity check breaks railsv0.1.5hellekin2021-01-221-0/+3
|
* Ensure tagged version gives right repo URLv0.1.4hellekin2021-01-221-2/+2
|
* Fix this deployment...v0.1.3hellekin2021-01-221-0/+2
|
* Distinguish branch and tagv0.1.2hellekin2021-01-221-2/+4
|
* WIP: display versionv0.1.1hellekin2021-01-221-6/+4
|
* WIP: fix link to source codev0.1.0hellekin2021-01-221-3/+5
|
* Link to current source code version (per AGPL-3.0)hellekin2021-01-224-0/+45
|
* Add markers and popupshellekin2021-01-2212-56/+152
| | | | | - Replace MakiMarkers with ExtraMarkers and ForkAwesome - Add HTML popup binding
* Move map to tophellekin2021-01-222-2/+2
|
* Fix category colors for Dewey taxonomyhellekin2021-01-221-11/+11
| | | | Original colors are kept as comments for future reference.
* Upgrade Rails and add StimulusJS supporthellekin2021-01-2268-277/+1103
|
* Add compatibilty CSS for leaflethellekin2020-11-131-0/+1
|
* Add leaflet plugin to fix webpack compatibilityhellekin2020-11-133-2/+9
|
* Fix .ruby-version file to 2.6.6hellekin2020-11-121-1/+1
|
* Add Stimulus Map and Taxonomy (WIP)hellekin2020-11-1219-88/+246
| | | | | | | | 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-1275-9/+3441
|\
| * Allow using INCOMMON as a module namehellekin2020-10-291-0/+1
| |
| * Add agent selector widget and taxonomy navigator (WIP)hellekin2020-10-293-0/+11
| |
| * Add original list of Dewey Maps categorieshellekin2020-10-291-0/+526
| |
| * Add public assetshellekin2020-10-294-0/+84
| |
| * REUSE: Add LAL-1.3 to CSV files and relicense app/views to AGPL-3.0-or-laterhellekin2020-10-291-1/+5
| |
| * REUSE: Fix list of default fileshellekin2020-10-291-2/+2
| |
| * REUSE: Add CC-BY-SA-4.0 to schemahellekin2020-10-291-0/+4
| |
| * 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 CC-BY-SA-4.0 to documentationhellekin2020-10-293-0/+16
| |
| * REUSE: Add AGPL-3.0-or-later on remaining IN COMMON codehellekin2020-10-294-0/+16
| |
| * REUSE: Add LAL-1.3 to app/viewshellekin2020-10-291-1/+1
| |
| * REUSE: Add AGPL-3.0-or-later to app/*hellekin2020-10-2931-2/+311
| |
| * REUSE: Add LAL-1.3 license to SCSShellekin2020-10-2912-0/+153
| |
| * REUSE: Add general confighellekin2020-10-291-5/+40
| |