Commit graph

150 commits

Author SHA1 Message Date
ea4e04dd33 Trying to fix healthchecks again that suddenly fail 2021-04-26 23:54:37 +02:00
51c297c107 Making healthchecks during deployment more relaxed 2021-04-26 23:50:41 +02:00
d0612d25ea Improved error message for healthcheck 2021-04-26 23:25:38 +02:00
31b19f3a2c Check for necessary ENV variables in healthcheck 2021-03-21 22:25:28 +01:00
d504e5e914 Increase session timeout from 30 minutes to 6 hours 2021-03-10 01:20:10 +01:00
5d0e4a520e Allow hiding and un-hiding of screenshot by moderators 2021-03-10 01:04:37 +01:00
0207d6b392 My views improved. Own screenshots view added 2021-03-09 22:43:58 +01:00
d41220c5fd Basic browser for audit logs added 2021-03-03 01:05:35 +01:00
46f76c5220 APT fixtures moved and shrunk 2021-03-02 22:38:32 +01:00
47df4d8afd Fix test suite 2021-03-02 00:51:24 +01:00
e9eb680aed ENV variables renamed for clarity 2021-02-28 02:03:49 +01:00
afa90e3927 OAuth2 callback URL is now configurable 2021-02-28 01:59:53 +01:00
bc507cbe39 Salsa login works 2021-02-27 23:50:51 +01:00
b2ed771663 Fix SMTP relay host for dokku deployment 2021-02-25 02:54:45 +01:00
1f9187e35c Add ActionMailer to inform admins about new screenshots
This version only informs Christoph as a test
2021-02-25 02:43:14 +01:00
e9b2a2193e Make tests pass 2021-02-21 19:43:26 +01:00
72225e32ef Docs 2021-02-21 19:41:04 +01:00
c6296b882d Add support for env var DEBSHOTS_ALERT_MESSAGE
If that environment variable is set then it will display on every page.
2021-02-21 12:04:19 +01:00
b6e4bd8a99 Work around Rails expectations that forbid dots in parameters 2021-02-21 11:12:16 +01:00
6542ffbc19 Add JSON response for paste-uploads 2021-02-20 21:19:15 +01:00
a8325e4833 Cruft 2021-02-20 21:18:55 +01:00
28519c1f30 Unused route removed 2021-02-18 01:57:44 +01:00
ce7198b713 Added simple moderate feature in My page 2021-02-14 18:48:48 +01:00
eb2a5c6e19 Healthcheck added
https://github.com/linqueta/rails-healthcheck
2021-02-14 16:41:29 +01:00
a46a44ac39 No debug logging in production 2021-02-14 15:32:45 +01:00
6d0ed8c8f8 Adding prefix /shrine for static images
Otherwise /screenshot/:name might get confused with
/screenshot/simage/123/small-123.png
2021-02-13 22:16:37 +01:00
413763ca5d Using DATABASE_URL env variable for Dokku deployment 2021-02-13 00:39:25 +01:00
ac13cf10c0 Make BetterErrors open vscode 2021-02-07 14:14:03 +01:00
3a4f40b7e3 Cruft 2020-11-01 23:25:34 +01:00
c4f5741b0c Migration to Shrine attachment handling 2020-11-01 15:07:16 +01:00
7ac69a1d8a Rails update. Fancybox update. Migrations from Paperclip. 2020-10-19 18:49:47 +02:00
87d37c1792 Added missing config after Rails update 2020-06-24 21:27:50 +02:00
ed53b08610 Typo fixed 2020-04-27 00:48:55 +02:00
8adf682a0b Migrations and helpers to move from Paperclip to ActiveStorage
To migrate the application as of April 2020:

• leave models/screenshot.rb with “has_attached_file”
• bundle exec rake db:migrate
• bin/move_paperclip_to_activestorage
• set models/screenshot.rb to “has_one_attached”
2020-04-20 20:24:59 +02:00
a0203d32af Defaults set for Rails 6.0 2020-04-20 20:15:51 +02:00
186a7d91c9 Upgrade Rails 5.2 -> 6.0 2020-04-14 02:26:43 +02:00
d130f68172 Upgrade from Rails 5.0 to 5.2 2020-04-14 02:16:25 +02:00
Christoph Haas
0dd63f6bf6 Attempt to assign anonymous screenshots to logged-in user 2018-08-20 19:32:34 +02:00
Christoph Haas
fea4c61c2b Fixed gitlab-ci 2018-08-14 17:20:52 +02:00
Christoph Haas
4d66ebde15 Next try with CI 2018-08-14 16:37:06 +02:00
Christoph Haas
b1dbcef80b admin/logs viewer implemented 2018-08-09 18:24:28 +02:00
Christoph Haas
f41afd1a48 Fixed problem with wrong redirects behind proxy 2018-08-08 09:09:27 +02:00
Christoph Haas
459e86e25a Various fixes that prevented production deployment 2018-08-07 18:36:53 +02:00
Christoph Haas
4060111b7f Added packages_without route 2018-08-06 22:56:54 +02:00
Christoph Haas
9d6baa20e5 Ubuntu reviews disabled 2018-06-19 14:25:47 +02:00
Christoph Haas
fe6430322b Disabled Ubuntu reviews
The reviews are pretty useless. People refer to bugs or old versions or
just don't know how to use a piece of software. This is not helpful.
2018-06-19 11:49:02 +02:00
1c3f692ec0 Fix logging with with Javascript disabled 2018-05-28 16:57:01 +02:00
dd7527691e Dammit… I can't remember what I changed and why 2018-05-06 19:07:55 +02:00
Christoph Haas
193d44f89a Stuff 2017-08-14 08:09:23 +02:00
0fbc247aff Reporting of spam screenshots disabled
Will be re-enabled later with a proper seperate page.
2017-08-11 21:06:33 +02:00