summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Escape comments before storing them in the databaseHEADmasterdevMax Magorsch2020-04-203-3/+6
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Make the label on the login page clickableMax Magorsch2020-04-201-4/+6
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Correctly display multi-line commentsMax Magorsch2020-04-203-10/+4
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Correctly sort the commentsMax Magorsch2020-04-206-18/+17
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Correctly sort the commentsMax Magorsch2020-04-201-0/+5
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* cve tool: Don't require a reason for changing the stateMax Magorsch2020-04-201-18/+6
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Rework the user object of glsa commentsMax Magorsch2020-04-201-0/+10
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Redo the comment escapingMax Magorsch2020-04-201-25/+15
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Escape the user commentsMax Magorsch2020-04-201-0/+14
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add permission for manually creating CVEsMax Magorsch2020-04-205-3/+23
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add a page to manually enter a cveMax Magorsch2020-04-207-1/+214
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Correctly display the user name in commentsMax Magorsch2020-04-2015-21/+26
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Make the domain configurableMax Magorsch2020-04-205-4/+14
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix the initial startupMax Magorsch2020-04-191-4/+5
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* docker-compose: Change the name of the postgress pass variableMax Magorsch2020-04-191-1/+3
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* docker-compose: Make the port configurableMax Magorsch2020-04-191-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* docker-compose.yml: Remove pgadminMax Magorsch2020-04-181-8/+0
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add the initial version of the rewritten glsamakerMax Magorsch2020-04-18736-117936/+20803
| | | | | | | | The glsamaker has been completly rewritten in go. It is using postgres instead of mysql now. The look and feel is based on tyrian. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Display version and last update in the footer2.1.18glsamakerv2Max Magorsch2020-03-045-4/+11
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix the cve import2.1.17Max Magorsch2020-03-031-171/+251
| | | | | | | | The cve feeds are using json instead of xml now. The import task has been migrated to read the json feeds now. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use bundler 1.x on travis for nowHans de Graaff2019-07-241-0/+5
| | | | | | | rvm's ruby25 comes with bundler 2.x by default, but we are still on 1.x on Gentoo, so prefer to use that instead. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Fix sed command syntaxHans de Graaff2019-07-241-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Set a secret token for testing on travisHans de Graaff2019-07-241-1/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Provide GLSA settings for tests on travisHans de Graaff2019-07-241-0/+1
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Set up test database on travisHans de Graaff2019-07-241-0/+7
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Fix rubocop Layout/TrailingBlankLinesHans de Graaff2019-07-2423-29/+20
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Silence a deprecation warningHans de Graaff2019-07-241-0/+3
| | | | | | | This setting only applies to after_commit and after_rollback callbacks which are not used, so we can safely set the non-deprecated value. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Fix test deprecations by providing a better fixtureHans de Graaff2019-07-241-1/+8
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused rspec gemHans de Graaff2019-07-232-15/+0
| | | | | | Testing is done with the default Rails setup using minitest. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused and obsolete FasterCSVHans de Graaff2019-07-234-5/+0
| | | | | | | FasterCSV as been included as the default CSV implementation in Ruby 1.9. It is also not actually used in the application. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove unused mechanize dependencyHans de Graaff2019-07-233-28/+0
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update json to latest versionHans de Graaff2019-07-232-3/+3
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove obsolete commentHans de Graaff2019-07-231-3/+0
| | | | | | This application will never use edge rails, no need to keep the comment. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update rake to latest versionHans de Graaff2019-07-232-3/+3
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Add travis configurationHans de Graaff2019-07-231-0/+16
| | | | Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update mysql2 0.4.xHans de Graaff2019-07-232-3/+3
| | | | | | This is the latest series to be supported by Rails 4.2. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Update rubocop configurationHans de Graaff2019-07-234-29/+1433
| | | | | | | | | Add performance and rails plugins, and generate a todo file so that rubocop is "green". This also updates some dependencies in the Gemfile.lock file. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Fix tests to account for changes in the codeHans de Graaff2019-07-233-5/+4
| | | | | | | | It looks like changes were added that where not accounted for in the tests, possibly the tests have not been updated for some time. Update all failing tests to account for the current code. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Remove obsolete performance testHans de Graaff2019-07-231-12/+0
| | | | | | | | | This method of performance testing was dropped for Rails 4.0 and no longer works with these versions. The rails-perftest now contains this code, but performance testing does not seem like an important requirement for this application, so just drop the test instead. Signed-off-by: Hans de Graaff <graaff@gentoo.org>
* Apparently we need explicit xmlrpc for rails2.1.16Michał Górny2019-07-232-0/+3
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* Try updating rails to fix ruby24 compat2.1.15Michał Górny2019-07-232-39/+38
| | | | Signed-off-by: Michał Górny <mgorny@gentoo.org>
* We need the older version of mysql for some reason.2.1.14Alec Warner2019-01-262-3/+3
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Update some gemfiles for mysql client update.2.1.13Alec Warner2019-01-262-73/+84
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Sync version tag2.1.12Robin H. Johnson2018-05-271-1/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Gemfile.lock: sync to Gemfile2.1.11Robin H. Johnson2018-05-271-2/+4
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Gemfile: Add rake specific versionChristopher Diaz Riveros2018-05-271-0/+1
| | | | | | | | | Problems in the rails server suggest that rake > 10.4.2 is not compatible with the current state from the web application, we need to declare specific version in Gemfile to ensure that a good version is available to run services. Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
* .gitignore: Add rulesChristopher Diaz Riveros2018-05-261-0/+2
| | | | | | | | | Added: doc/app/.cache/*: for cache files inside application. Gemfile.lock: lock file not needed for tracking. Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
* lib/spelling: Remove deprecated 'runspell'2.1.10Christopher Diaz Riveros2018-05-262-2/+10
| | | | | | | | | | 'runspell' gem 0.0.1 is dead upstream since 2011, and depends on old .so files from libhuspell-1.3. lib/glsamaker/spelling.rb stays in case we want to use a newer gem and don't lose the code. Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>
* bump version2.1.9Aaron Bauman2018-05-261-1/+1
|
* glsa_controller: Fix format for 'close bugs'Christopher Diaz Riveros2018-05-261-2/+2
| | | | | | Fixes the final screen 'Release finished' after closing related bugs. Signed-off-by: Christopher Diaz Riveros <chrisadr@gentoo.org>