aboutsummaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* [FIX] Prevent debug from failing without a userhellekin2021-02-111-1/+1
|
* [FIX] Prevent debug from failing without a userhellekin2021-02-111-1/+1
|
* [FEATURE] Link to editv0.1.8hellekin2021-02-112-0/+35
|
* [FIX] Availability of agentshellekin2021-02-1114-25/+82
|
* Fix image linkhellekin2021-02-051-1/+1
| | | | The server changed, and so did the link to the IN COMMON logo.
* [FIX] Restore REUSE 3.0 compliancehellekin2021-02-027-0/+28
|
* 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-023-61/+25
| | | | | | | | | | | | | 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-023-0/+12
| | | | | | | | | | | 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-311-0/+10
| | | | | | | | 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.
* Remove unused Taxonomy target and refactor debughellekin2021-01-233-11/+13
| | | | Cleaning up the code.
* Move CSS to Webpackhellekin2021-01-2324-81/+101
| | | | | | | | | | | | | 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
|
* 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-227-47/+51
| | | | | - 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-2237-118/+401
|
* Add compatibilty CSS for leaflethellekin2020-11-131-0/+1
|
* Add leaflet plugin to fix webpack compatibilityhellekin2020-11-131-2/+3
|
* Add Stimulus Map and Taxonomy (WIP)hellekin2020-11-1216-88/+224
| | | | | | | | 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-1248-3/+523
|\
| * Add agent selector widget and taxonomy navigator (WIP)hellekin2020-10-293-0/+11
| |
| * REUSE: Add CC-BY-SA-4.0 to schemahellekin2020-10-291-0/+4
| |
| * 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
| |
| * Add Markdown to format Resource.descriptionhellekin2020-10-272-1/+44
| |
* | Add map supporthellekin2020-11-114-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | 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 example controllerhellekin2020-11-111-18/+0
| |
* | Adjust Style for mobile and stimulushellekin2020-11-117-4/+119
| |
* | Add stimulus.jshellekin2020-10-233-0/+29
| |
* | Remove bork agent_selector_form helperhellekin2020-10-092-11/+0
| |
* | Remove debug infohellekin2020-10-091-1/+0
| |
* | Grant maintainer to group ownerhellekin2020-10-091-0/+2
|/
* Enable switching Agenthellekin2020-10-094-3/+47
| | | | | | | Switching current Agent can help with roles and resource access. Go to your dashboard by clicking the avatar. Select agent and hit "Select"
* Fix Resource editionhellekin2020-10-096-19/+24
|