aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* REUSE: Add licenseshellekin2020-10-296-0/+1569
| | | | | | | | | CC-0 -> public domain for insignificant files CC-BY-SA-4.0 -> for documentation LAL-1.3 -> for creative content MIT -> for existing Ruby on Rails files ODbL-1.0 -> for database schema ODC-By-1.0 -> for database content
* Add REUSE.softwarehellekin2020-10-282-0/+623
| | | | | | | REUSE compliance makes it easier to maintain source code copyright and licensing information. See https://reuse.software/
* Merge branch 'markdown'hellekin2020-10-274-1/+51
|\
| * Add Markdown to format Resource.descriptionhellekin2020-10-272-1/+44
| |
| * User commonmarker gemhellekin2020-10-272-0/+7
| | | | | | | | | | | | | | This adds support for Markdown for Resource descriptions. CommonMark: https://commonmark.org/ Gem documentation: https://gjtorikian.github.io/commonmarker/
* | Added sanitization of data, puts instead of null or / data. Also strips ↵Nemael2020-10-241-6/+18
|/ | | | trailing whitespaces. It only sanitizes phone_number, website and email because they these data are following a format. Name, address, etc... are not sanitized
* Enable switching Agenthellekin2020-10-095-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 editionhellekin2020-10-096-19/+24
|
* Fix flashes stylehellekin2020-10-091-5/+12
|
* Wrap debug with loginhellekin2020-10-091-4/+6
| | | | To avoid breaking on logout
* Avoid errors on missing Taxonomyhellekin2020-10-092-5/+5
|
* [WIP] Add Resource business logichellekin2020-10-091-50/+60
| | | | | | | | Currently there's a bug throwing: TypeError (nil is not a symbol nor a string) When creating a Resource...
* Add some statshellekin2020-10-091-0/+20
|
* Add a selector for categories and sectionshellekin2020-10-091-0/+10
|
* Add permissionshellekin2020-10-092-1/+11
| | | | | - `current_agent` is now a full instance of Agent - provide helpers to verify current user roles
* Scope routes to Agenthellekin2020-10-098-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 validationshellekin2020-10-0911-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 datahellekin2020-10-088-1/+475
|
* Fix z-index for map and articlehellekin2020-10-082-1/+1
|
* Fix typohellekin2020-10-081-1/+1
|
* Merge branch 'map-style'hellekin2020-10-088-32/+177
|\
| * Make map more beautifulhellekin2020-10-088-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'Nemael2020-10-081-1/+1
|/
* Merge branch 'taxonomies'hellekin2020-10-0810-1/+147
|\
| * Add model foundation for classificationshellekin2020-10-0810-1/+147
| | | | | | | | | | | | | | | | Taxonomy > Category > Section This commit adds models for it. https://doc.incommon.cc/#classifications
* | Removed the hand-picked markers because they caused errorsNemael2020-10-081-3/+3
| |
* | Map added but no dynamic points placed, the current points are hand-picked ↵Nemael2020-10-081-0/+48
|/ | | | from the data
* Attempt to a fix for the edit resource pageNemael2020-10-081-2/+2
|
* Added leaflet gem and changed a bit the Edit Ressource page to be able to ↵Nemael2020-10-082-4/+10
| | | | edit categories
* Fix form, add flashhellekin2020-10-065-3/+88
|
* First pass at Resources...hellekin2020-10-064-4/+19
|
* First pass at listing Resourceshellekin2020-10-064-2/+77
| | | | | | This implements resource listing and pagination. See /resources
* 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-063-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 :)hellekin2020-10-061-0/+0
|