Commit graph

125 commits

Author SHA1 Message Date
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
020a864736 Added welcome and profile actions to the my controller 2017-04-23 13:37:48 +02:00
280b95e3fd Enforcing HTTPS for authentication matters 2017-04-22 18:23:50 +02:00
0a60134f0e Showing Ubuntu reviews even in development mode 2017-04-19 21:45:29 +02:00
601f202463 Route to my/welcome added to greet users who log in 2017-04-19 00:19:08 +02:00
8bb0db883d Cruft removed 2017-04-19 00:15:49 +02:00
1d5b8568f3 Beautification 2017-04-19 00:15:42 +02:00
b24abd7328 Github SSO added 2017-04-19 00:15:29 +02:00
65723d3063 Amazon SSO added 2017-04-17 13:11:44 +02:00
2a7491edcd Google authentication added 2017-04-17 00:42:03 +02:00
f7258370a0 Further updates to Rails 5.0.2 2017-04-17 00:16:32 +02:00
a1ba2625bf Fixed deprecation warnings 2017-04-17 00:02:23 +02:00
26a2f44ff1 Updated Rails version to 5.0.2 2017-04-16 23:59:05 +02:00
4bad4d3a36 OpenID auth using Launchpad and Stackexchange works 2017-04-16 23:58:08 +02:00
898dd81c6b Playing with OmniAuth
However OmniAuth is mainly used for authorization. So let's try a more
lightweight approach with just OpenID.
2017-04-15 23:08:25 +02:00
909be1c8ae SSO using Amazon added 2017-04-06 20:19:14 +02:00
63634f00df Allow same email address with different SSO providers 2017-04-06 18:32:20 +02:00
9a5ddb5e13 Experimental authentication for Launchpad and Google added 2017-04-06 12:56:06 +02:00
72ccc986a4 Google's recaptcha removed. Avoid external dependencies. 2017-04-05 16:26:23 +02:00
20cf3e0f10 Added route for /my_uploads 2017-02-06 09:49:51 +01:00
0e02b70213 Routing changed to accomodate new upload workflow 2017-01-31 22:44:36 +01:00
34d7eb649c New upload review process partly finished 2017-01-18 21:30:14 +01:00
2189f8cc81 Merge branch 'master' of git.workaround.org:chaas/debshots 2016-11-03 13:23:15 +01:00
a56944038c Merge branch 'master' of git.workaround.org:chaas/debshots 2016-10-29 17:42:46 +02:00
48840f6254 Upgrade to Rails 5.0.1 2016-10-29 17:41:47 +02:00
107309a84c Upload page seperated, styled and Javscript-pimped
Actual upload is not yet working.
2016-08-29 18:17:16 +02:00