aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Migrate the project from sprockets to webpackerMax Magorsch2020-01-031-24/+7
| | | | | | | | | | | | | | | | | | | The asset pipeline was introduced in Rails 3.1. However, since Rails 5.1 webpacker has been available, so that it's possible to use webpack. The project has been fully migrated to use webpacker for bundeling javascripts as well as stylesheets now. This way, sprockets has been completely replaced and removed from the project. Associated gems as jquery-rails have been removed as well. Accordingly all advanced webpack functionalities are available now. The bin/first-run file as well as the Dockerfiles have been adjusted to use webpacker instead of the asset pipeline. Please note: In order to use webpacker, yarn has to be installed on the target system. Please make sure that 'yarnpkg' is in your path. Signed-off-by: Max Magorsch <max@magorsch.de>
* Update to latest Rails/Rack versionsHans de Graaff2019-12-201-64/+65
| | | | | | Required for https://www.openwall.com/lists/oss-security/2019/12/18/2 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update faraday to a non-broken versionHans de Graaff2019-12-201-1/+1
| | | | | | https://github.com/lostisland/faraday/releases/tag/v0.17.0 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update to latest rubocop versionsHans de Graaff2019-12-201-9/+9
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Gemfile.lock: Gentoo does not have bundler-2.0.2, use older version for nowRobin H. Johnson2019-12-181-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Add a query parser for advanced search queriesMax Magorsch2019-10-181-0/+2
| | | | | | | | | | | | | | | | Add a query parser using parslet which is able to parse advanced queries. This way, it is possible to run queries like: > +maintainers.emails:haskell@gentoo.org or > +maintainers.emails:haskell@gentoo.org -category:dev-haskell to find all packages that are maintained by the haskell herd and respectively all packages that are maintained by the haskell herd but not part of dev-haskell. Documentation on how to use the advanced queries is included into the website and can be viewed by clicking on a question mark next to the search bar on the landing page. Signed-off-by: Max Magorsch <max@magorsch.de>
* Update to rails 6.0Max Magorsch2019-10-061-64/+79
| | | | | | | Please see https://edgeguides.rubyonrails.org/6_0_release_notes.html for further release notes. Signed-off-by: Max Magorsch <max@magorsch.de>
* Migrate to ES 7.3 and the repository patternMax Magorsch2019-09-051-29/+13
| | | | | | | | | | | | | | | | | | Elasticsearch-persistence is used as the persistence layer for Ruby domain objects in Elasticsearch in this application. So far, the ActiveRecord pattern has been used here. However, this pattern has been deprecated as of version 6 of the gem and was removed in version 7. That's why the application has been migrated to use the repository pattern instead. For further information, please see: https://www.elastic.co/blog/activerecord-to-repository-changing- persistence-patterns-with-the-elasticsearch-rails-gem Note: The old Elasticsearch index won't be compatible with this version anymore. That's why a fresh index should be populated. Signed-off-by: Max Magorsch <max@magorsch.de>
* Use sassc-rails instead of sass-railsHans de Graaff2019-07-241-12/+10
| | | | | | | sass is no longer maintained and is now deprecated. sassc is the recommended replacement and sassc-rails provides that to rails. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update rubocop configurationHans de Graaff2019-07-221-0/+23
| | | | | | | | Include the new performance and rails cops. Add a rubocop todo file so that running rubocop now results in a clean run. Specific issues from the todo file can be removed at a later stage. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update to Rails 5.2Hans de Graaff2019-07-221-38/+46
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update to Rails 5.1Hans de Graaff2019-07-221-41/+47
| | | | | | | | This also fixes a bug in the fresh_when handling for the changelog view, which was exposed by the update (due to ETag now taking the flash message, if any, into account). Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Migrate to Rails 5.0Hans de Graaff2019-07-221-60/+70
| | | | | | | | | This commit contains all the recommended steps in the commit guide: https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-4-2-to-rails-5-0 It also updates the associated web-console dependency. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Pin jquery-rails and require new enough versionHans de Graaff2019-07-221-1/+1
| | | | | | | We need at least 4.3.5 to get jQuery 3.4.1 which fixes a security issue: https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/ Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update sdoc to a more modern versionHans de Graaff2019-07-221-6/+4
| | | | | | sdoc 1.x supports rdoc 5.x and newer. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused git dependencyHans de Graaff2019-07-221-2/+0
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused sinatra dependencyHans de Graaff2019-07-221-6/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused ruby-progressbar dependencyHans de Graaff2019-07-221-2/+0
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused parallel package from GemfileHans de Graaff2019-07-221-2/+0
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Lock elasticsearch dependency to 5.xHans de Graaff2019-07-221-36/+34
| | | | | | | The 5.x series still supports the deprecated persistence pattern so we cannot update beyond that at the moment. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update Gemfile.lock to latest bundler 1.x versionHans de Graaff2019-07-221-1/+1
| | | | | | This should re-enable travis runs again. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove did-you-mean.Alec Warner2019-04-281-2/+0
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Update to newer rails 4.2 series.Alec Warner2019-04-281-44/+43
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Upgrade rails to avoid security bugs.v6.0.21Alec Warner2018-06-161-31/+31
|
* Bump Gemfile.lock.v6.0.20Alec Warner2018-06-161-0/+2
|
* Update gems.v6.0.18v6.0.17Alec Warner2018-06-161-9/+9
|
* Update Gems.Alec Warner2018-04-281-25/+25
|
* Update gems.Alec Warner2018-02-151-85/+93
| | | | il8n was busted on towhee, so just update everything.
* Pull more elasticsearch gems forward.Alec Warner2018-01-171-3/+3
| | | | | Apparently my earlier bundler update did not do this properly. This resulted in invalid queries being sent to the backend.
* Update Elasticsearch gems to 6.0.0Alec Warner2018-01-151-5/+5
| | | | | | | | | As we are updating Elasticsearch itself, we need new gems to talk to it. I had done this in the container (via bundler update elasticsearch) but it kept getting reverted because the gemfile.lock changes were not saved on rebuild. So we make it permenant here.
* Begin transition to inline SVG octiconsAlex Legler2016-08-101-0/+6
|
* Initial commit w/currently running codeAlex Legler2016-07-201-0/+224