Commit graph

157 commits

Author SHA1 Message Date
eb8f27d9e6 Fix handling of user session and user-uploaded images 2020-08-17 01:49:20 +02:00
33086f9430 Merge branch 'master' of salsa.debian.org:debian/debshots 2020-04-20 20:29:06 +02:00
d130f68172 Upgrade from Rails 5.0 to 5.2 2020-04-14 02:16:25 +02:00
Christoph Haas
0207cb194b Cope with new installation without screenshots 2018-08-22 13:10:22 +02:00
Christoph Haas
2746b22c18 upload screenshot anonymously, login in, get screenshots assigned 2018-08-21 18:25:18 +02:00
Christoph Haas
820ff2a30b Tests improved 2018-08-20 22:27:35 +02:00
Christoph Haas
1b299d53e6 Auto-approval and upload fixed 2018-08-20 20:07:53 +02:00
Christoph Haas
0dd63f6bf6 Attempt to assign anonymous screenshots to logged-in user 2018-08-20 19:32:34 +02:00
Christoph Haas
228b7375e7 Refactored auto-approve code to make it more readable 2018-08-17 17:07:42 +02:00
Christoph Haas
9428d8d7dd Screenshot upload process fixed and tested 2018-08-17 09:21:32 +02:00
Christoph Haas
80d21a1f90 Cruft from seperate log controller removed 2018-08-13 15:02:11 +02:00
Christoph Haas
6b54bc2847 Redirect back to / after logout 2018-08-10 16:21:02 +02:00
Christoph Haas
6182078cdd Restrict admin controller to admins 2018-08-10 16:20:53 +02:00
Christoph Haas
bf96a72158 Parsing of email address from Debian client cert CN fixed 2018-08-10 12:42:08 +02:00
Christoph Haas
b1dbcef80b admin/logs viewer implemented 2018-08-09 18:24:28 +02:00
Christoph Haas
591845a25d Reindented 2018-08-06 22:59:26 +02:00
Christoph Haas
79d4c9f834 Fixed bogus indentation 2018-08-06 18:47:13 +02:00
Christoph Haas
8e668603fc Fixed sort order of packages and screenshots
Packages are sorted by most visits
Screenshots are sorted by newness
2018-08-06 18:41:05 +02:00
Christoph Haas
e0b3721804 Debian SSO login fixed 2018-08-06 17:53:05 +02:00
Christoph Haas
197f81ce7a Show screenshots ordered by upload date 2018-08-06 16:25:40 +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
43f1419354 Fixed redirection back after approving an image 2018-05-28 17:29:56 +02:00
b67ac9d36a Handle empty uploads 2018-05-28 16:49:55 +02:00
dd491a9b91 better_errors issue has been fixed – removing workaround 2018-05-28 16:21:11 +02:00
dd7527691e Dammit… I can't remember what I changed and why 2018-05-06 19:07:55 +02:00
45e543ab87 Setting owner for new uploads 2017-08-17 19:22:26 +02:00
317e583b97 Fixed ACL check for deleting screenshots 2017-08-17 19:00:35 +02:00
0bfacbee30 Anonymous uploads replaced by creation of ad-hoc users 2017-08-17 09:31:06 +02:00
d9d0babb2c Create a cookie token only if the user is anonymous 2017-08-14 19:08:52 +02:00
58ab5f1073 Get screenshots for logged-in as well as anonymous users 2017-08-14 19:06:39 +02:00
b1e8ebd9b4 Hack added to speed up better_errors 2017-08-14 19:06:24 +02:00
Christoph Haas
193d44f89a Stuff 2017-08-14 08:09:23 +02:00
862c864ffe Sort packages in view by their visits (public interest) 2017-04-23 22:55:39 +02:00
448c9d4e68 Make sure users are authenticated before using /my 2017-04-23 17:59:37 +02:00
020a864736 Added welcome and profile actions to the my controller 2017-04-23 13:37:48 +02:00
527bc7cd07 Fixed display of Ubuntu reviews 2017-04-19 21:44:54 +02:00
11ae4e6d66 Unused methods in user controller disabled 2017-04-19 13:07:33 +02:00
52ff0be45a Detecting Debian SSO client certificates for login 2017-04-19 00:16:44 +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
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
194a990656 Added missing handler for SSO callbacks 2017-04-06 18:32:45 +02:00
0c080386ef before_filter -> before_yction 2017-04-06 12:53:45 +02:00
8e2ebe3cf6 Loading of Ubuntu reviews slightly refactored 2017-04-05 16:27:14 +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