Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Add stimulus.js | hellekin | 2020-10-23 | 5 | -0/+62 | |
| | | ||||||
* | | Remove bork agent_selector_form helper | hellekin | 2020-10-09 | 2 | -11/+0 | |
| | | ||||||
* | | Remove debug info | hellekin | 2020-10-09 | 1 | -1/+0 | |
| | | ||||||
* | | Grant maintainer to group owner | hellekin | 2020-10-09 | 1 | -0/+2 | |
|/ | ||||||
* | Enable switching Agent | hellekin | 2020-10-09 | 5 | -5/+48 | |
| | | | | | | | 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 edition | hellekin | 2020-10-09 | 6 | -19/+24 | |
| | ||||||
* | Fix flashes style | hellekin | 2020-10-09 | 1 | -5/+12 | |
| | ||||||
* | Wrap debug with login | hellekin | 2020-10-09 | 1 | -4/+6 | |
| | | | | To avoid breaking on logout | |||||
* | Avoid errors on missing Taxonomy | hellekin | 2020-10-09 | 2 | -5/+5 | |
| | ||||||
* | [WIP] Add Resource business logic | hellekin | 2020-10-09 | 1 | -50/+60 | |
| | | | | | | | | Currently there's a bug throwing: TypeError (nil is not a symbol nor a string) When creating a Resource... | |||||
* | Add some stats | hellekin | 2020-10-09 | 1 | -0/+20 | |
| | ||||||
* | Add a selector for categories and sections | hellekin | 2020-10-09 | 1 | -0/+10 | |
| | ||||||
* | Add permissions | hellekin | 2020-10-09 | 2 | -1/+11 | |
| | | | | | - `current_agent` is now a full instance of Agent - provide helpers to verify current user roles | |||||
* | Scope routes to Agent | hellekin | 2020-10-09 | 8 | -23/+111 | |
| | | | | | | | Since an Agent is required for all records, we scope the routes and get it present for free ;) This commit also adds resource views. | |||||
* | Add Classifications and Resource validations | hellekin | 2020-10-09 | 11 | -31/+147 | |
| | | | | | | | | | | | | | | | | - Turn `has_and_belongs_to_many` into `has_many :through`: now, resources and sections are related through Classifications. - Refactor usage of jsonb column to use ActiveRecord validations - Attention! store_accessor: NOTE: If you are using structured database data types (eg. PostgreSQL hstore/json, or MySQL 5.7+ json) there is no need for the serialization provided by .store. Simply use .store_accessor instead to generate the accessor methods. Be aware that these columns use a string keyed hash and do not allow access using a symbol. NOTE: The default validations with the exception of uniqueness will work. For example, if you want to check for uniqueness with hstore you will need to use a custom validation to handle it. https://api.rubyonrails.org/classes/ActiveRecord/Store.html | |||||
* | Add categories, sections, and import data | hellekin | 2020-10-08 | 8 | -1/+475 | |
| | ||||||
* | Fix z-index for map and article | hellekin | 2020-10-08 | 2 | -1/+1 | |
| | ||||||
* | Fix typo | hellekin | 2020-10-08 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'map-style' | hellekin | 2020-10-08 | 8 | -32/+177 | |
|\ | ||||||
| * | Make map more beautiful | hellekin | 2020-10-08 | 8 | -32/+177 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | This commit introduces a few things: 1. New `content_for` hooks for :debug, :head, and :body_end so that views code remains consistent and clean 2. Fullscreen map! 3. Welcome#index view, the Rails way It also moves controller-related code to the controller, Enjoy! | |||||
* | | Changed 'has_ony' to 'has_one' | Nemael | 2020-10-08 | 1 | -1/+1 | |
|/ | ||||||
* | Merge branch 'taxonomies' | hellekin | 2020-10-08 | 10 | -1/+147 | |
|\ | ||||||
| * | Add model foundation for classifications | hellekin | 2020-10-08 | 10 | -1/+147 | |
| | | | | | | | | | | | | | | | | Taxonomy > Category > Section This commit adds models for it. https://doc.incommon.cc/#classifications | |||||
* | | Removed the hand-picked markers because they caused errors | Nemael | 2020-10-08 | 1 | -3/+3 | |
| | | ||||||
* | | Map added but no dynamic points placed, the current points are hand-picked ↵ | Nemael | 2020-10-08 | 1 | -0/+48 | |
|/ | | | | from the data | |||||
* | Attempt to a fix for the edit resource page | Nemael | 2020-10-08 | 1 | -2/+2 | |
| | ||||||
* | Added leaflet gem and changed a bit the Edit Ressource page to be able to ↵ | Nemael | 2020-10-08 | 2 | -4/+10 | |
| | | | | edit categories | |||||
* | Fix form, add flash | hellekin | 2020-10-06 | 5 | -3/+88 | |
| | ||||||
* | First pass at Resources... | hellekin | 2020-10-06 | 4 | -4/+19 | |
| | ||||||
* | First pass at listing Resources | hellekin | 2020-10-06 | 4 | -2/+77 | |
| | | | | | | This implements resource listing and pagination. See /resources | |||||
* | Facilitate development with puma in the browser | hellekin | 2020-10-06 | 1 | -30/+26 | |
| | | | | | A single worker in development enables in-context debug in the error console in the browser. | |||||
* | User Kaminari gem for pagination | hellekin | 2020-10-06 | 3 | -0/+29 | |
| | | | | | | | | | 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 | |||||
* | Add a favicon so we can find the tab :) | hellekin | 2020-10-06 | 1 | -0/+0 | |
| | ||||||
* | Document importation of resources | hellekin | 2020-10-06 | 2 | -10/+32 | |
| | | | | | | | | | | Renamed `readme.txt` to `README.md` to stick to standard README case and take advantage of Markdown formatting supported by code hosting services. Also fixed names in the content. And added import method to the database. | |||||
* | Fix resources migration | hellekin | 2020-10-06 | 2 | -1/+4 | |
| | | | | | | | t.references already creates an index, so the second index actually broke things. You may need to rebuild the database! | |||||
* | Update parser fields | hellekin | 2020-10-06 | 1 | -3/+3 | |
| | | | | | | | | mail -> email since it's unambiguous Also changed 'Concertes' source to 'ConcertES' since it is the group name on IN COMMON and the name of the Agent, to facilitate data import. | |||||
* | Ignore generated Locations.geojson | hellekin | 2020-10-06 | 1 | -0/+3 | |
| | ||||||
* | Add Resource model | hellekin | 2020-10-06 | 6 | -1/+34 | |
| | | | | | | Resources will be stored as JSON, in the (GeoJSON) :feature column. They are assigned an UUID upon creation if they don't comme with one. They belong to an Agent. | |||||
* | Populate database with Agents: rails db:seed | hellekin | 2020-10-06 | 1 | -0/+11 | |
| | ||||||
* | Improved the parser file and added some more comments, created a readme.txt ↵ | Nemael | 2020-10-06 | 2 | -0/+99 | |
| | | | | file to explain LocationsParser.rb | |||||
* | Files to parse with parser.rb to create the Locations.geojson file which ↵ | Nemael | 2020-10-06 | 14 | -0/+248990 | |
| | | | | contains all the locations from the Dewey and Concertes data | |||||
* | Production environment with systemd and chruby requires this... | hellekin | 2020-10-06 | 1 | -0/+3 | |
| | ||||||
* | Add better integration with systemd | hellekin | 2020-10-06 | 3 | -0/+8 | |
| | ||||||
* | Refactor authentication method to make it a bit more readable | hellekin | 2020-10-06 | 1 | -35/+67 | |
| | ||||||
* | Remove broken code | hellekin | 2020-10-06 | 1 | -6/+0 | |
| | ||||||
* | Ensure SSO return host is correct in production | hellekin | 2020-10-06 | 1 | -1/+1 | |
| | ||||||
* | [deploy] Restore ActionMailer since it breaks during deploy... | hellekin | 2020-10-06 | 1 | -3/+3 | |
| | ||||||
* | Add code for deployment | hellekin | 2020-10-06 | 2 | -5/+28 | |
| | ||||||
* | Fix URL | hellekin | 2020-10-06 | 1 | -1/+1 | |
| | ||||||
* | [SECURITY] Update Ruby to v2.6.6 (take two) | hellekin | 2020-10-06 | 2 | -2/+2 | |
| |