| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
| |
This commit adds a script originally written by @dvn for DREAM.
The script hits a remote URL from the CI to trigger production
or staging deployment.
|
|
|
|
| |
The server changed, and so did the link to the IN COMMON logo.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Since we moved CSS to Webpack, also tell that to
the asset pipeline.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Cleaning up the code.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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...
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Make category style independent of database ID to prevent
bad surprises between development and production. Instead
we use the rank.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- Replace MakiMarkers with ExtraMarkers and ForkAwesome
- Add HTML popup binding
|
| |
|
|
|
|
| |
Original colors are kept as comments for future reference.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|