Commit Graph
74 Commits
Author SHA1 Message Date
MrYummy dfb1ed9185 Added Website Settings 2017-05-29 00:10:58 +02:00
jomo 61edf27888 add CookieJar patch to flag cookies as secure based on the connection protocol
rails only allows to globally flag session cookies as either secure or not
this patch sets the secure flag for cookies based on the protocol (http/https)
this is used to send cookies via http but flag them secure for https
which allows use with HTTP over Tor for an onion domain
this is acceptable because nginx redirects clearnet http to https
2017-01-08 08:06:37 +01:00
Jonas Folvik db1c10eb9b An Option to resend the confirmation mail
You should now be able to resend the confirmation mail with the click of
a link that is next to the warning that the mail isn't confirmed.

Resend the confirmation mail cleaning

Just a way to re use the files and stuff we already have instead of the
file I created even though I could use the register_mail we have.

Change of route and link to button

I changed the route from GET to POST because of security reasons, and
changed the link_to to a button_to

changed the notice

I changed the notice so it said check for the mail instead of check for
the link

Changed notice and button

Changed the notice to say "Check your inbox" instead of "Check your
mail" also changed the way the class looks
2016-06-17 10:21:49 +02:00
jomo ce304ece43 fix utf8mb4 / MySQL5.5 crap 2016-02-07 14:25:53 +01:00
jomo e077fd2a0a Revert "remove mysql 5.6 fix"
This reverts commit ceaec53d39.

Revert "try fixing mysql utf8mb4 issues"

This reverts commit 1a04b3c882.
2016-01-30 00:02:47 +01:00
jomo ceaec53d39 remove mysql 5.6 fix 2016-01-29 23:57:44 +01:00
jomo 1a04b3c882 try fixing mysql utf8mb4 issues 2016-01-29 23:53:13 +01:00
jomo 7987e37f11 use ruby 2.0.0-p648 2016-01-29 22:01:33 +01:00
jomo 138a98f086 Revert "ruby 2.3.0 \o/"
This reverts commit f47b2b5129.
2016-01-29 21:36:17 +01:00
jomo f47b2b5129 ruby 2.3.0 \o/ 2016-01-28 21:50:05 +01:00
Jonas Folvik ec8d0095f3 Removed methods that are unused and not needed
Removed the haspaid?, correct_case?, ign_is_not_skull and
ign_is_not_mojang methods because they aren't used anymore, since we now
have a connection between the server and the website to check if they
have paid and that the skull is a skull. I also removed the
account_exists? method because it makes problems when you setup the
database since some users can be seen to not exist.
2016-01-18 20:28:03 +01:00
jomo 1ed36f2129 changes for rails 5 2016-01-18 00:23:39 +01:00
jomo ce19d61e1d use utf8mb4
because utf8 is not UTF-8 compatible...
2016-01-17 18:58:05 +01:00
jomo bf91ef766c don't use port 80 for https URLs 2015-12-04 15:02:26 +01:00
jomo 498fa1875d use secure cookies in production 2015-12-04 00:30:08 +01:00
jomo 315122c1de use https in email links 2015-12-03 23:47:51 +01:00
jomo b37308e2b1 compress css 2015-04-16 23:59:57 +02:00
jomo ed7dd52db9 pre-fill email field on wrong password 2015-04-03 20:00:39 +02:00
jomo bafe1f27ac silly me 😒 2015-03-23 22:35:04 +01:00
jomo f507b77baa deploy from :octocat: 2015-03-23 22:32:47 +01:00
jomo e1ffb534db fu capistrano 2015-03-23 01:37:03 +01:00
jomo 408956271d more capistrano changes 2015-03-23 01:00:06 +01:00
jomo 2237a5f510 capistrano changes 2015-03-23 00:50:13 +01:00
jomo f572f13479 remove unused route 2015-03-22 23:20:45 +01:00
jomo 976799b996 add developent.rb & production.rb 2015-03-22 23:16:57 +01:00
jomo 6ed86ce909 add database.yml 2015-03-22 22:57:09 +01:00
jomo 631a56a8c1 add secrets.yml 2015-03-22 22:50:49 +01:00
jomo d6221ca8d1 add DMCA link
NEVER GONNA GIVE YOU UP
NEVER GONNA LET YOU DOWN
NEVER GONNA RUN AROUND AND DESERT YOU
NEVER GONNA MAKE YOU CRY
NEVER GONNA SAY GOODBYE

░░░░░▄▄▄▄▀▀▀▀▀▀▀▀▄▄▄▄▄▄░░░░░░░
░░░░░█░░░░▒▒▒▒▒▒▒▒▒▒▒▒░░▀▀▄░░░░
░░░░█░░░▒▒▒▒▒▒░░░░░░░░▒▒▒░░█░░░
░░░█░░░░░░▄██▀▄▄░░░░░▄▄▄░░░░█░░
░▄▀▒▄▄▄▒░█▀▀▀▀▄▄█░░░██▄▄█░░░░█░
█░▒█▒▄░▀▄▄▄▀░░░░░░░░█░░░▒▒▒▒▒░█
█░▒█░█▀▄▄░░░░░█▀░░░░▀▄░░▄▀▀▀▄▒█
░█░▀▄░█▄░█▀▄▄░▀░▀▀░▄▄▀░░░░█░░█░
░░█░░░▀▄▀█▄▄░█▀▀▀▄▄▄▄▀▀█▀██░█░░
░░░█░░░░██░░▀█▄▄▄█▄▄█▄████░█░░░
░░░░█░░░░▀▀▄░█░░░█░█▀██████░█░░
░░░░░▀▄░░░░░▀▀▄▄▄█▄█▄█▄█▄▀░░█░░
░░░░░░░▀▄▄░▒▒▒▒░░░░░░░░░░▒░░░█░
░░░░░░░░░░▀▀▄▄░▒▒▒▒▒▒▒▒▒▒░░░░█░
░░░░░░░░░░░░░░▀▄▄▄▄▄░░░░░░░░█░░
2015-03-09 23:05:55 +01:00
jomo 374f602163 remove mini markdown renderer everywhere
was still used for comment emails etc
2015-01-26 00:42:58 +01:00
jomo cf5207b22f change time zone to UTC, show zone in timestamps 2014-10-13 02:21:19 +02:00
jomo ec3daa2882 change default pagination to 30, set 100 for users 2014-09-22 05:50:40 +02:00
jomo df4264f35b set default per_page to 100 2014-09-21 23:05:22 +02:00
jomo f2bc23975f add kaminari config 2014-09-21 23:02:55 +02:00
jomo 2b1e8acee3 add username suggestions to editor 2014-07-06 02:38:44 +02:00
jomo 4c21ea1859 add way to raise error; funny 500 status message 2014-06-29 07:10:13 +02:00
jomo 13bde668a3 put rbenv stuff into init script 2014-06-25 03:28:42 +02:00
jomo 2cb491fbbe removed false nginx conf 2014-06-25 00:15:48 +02:00
jomo 81518f1ec4 fixes for production 2014-06-25 00:08:54 +02:00
jomo 6769982fe3 fixes for production 2014-06-25 00:05:19 +02:00
jomo 1b23de09ef need to use sudo for config 2014-06-24 23:58:03 +02:00
jomo e24e7b3460 removed more crap 2014-06-24 23:39:57 +02:00
jomo 323bb17c3d fixed wrong git URI 2014-06-24 23:13:06 +02:00
jomo e7fbb7d8f2 remove crap 2014-06-24 23:10:04 +02:00
jomo a0c4c4881d don't use sudo 2014-06-24 23:09:08 +02:00
jomo 3be59e76c7 remove rvm-capistrano 2014-06-24 23:06:34 +02:00
jomo a2ff7068c0 added capistrano; more production changes 2014-06-24 23:04:24 +02:00
jomo 498aa03606 adjust new path 2014-06-23 19:20:40 +02:00
jomo 00b9383ebf add unicorn 2014-06-23 07:30:34 +02:00
jomo 7325a585fc redirect logged in users to news, others to home 2014-06-23 03:02:16 +02:00
jomo 9e60048c82 redirect logged in users to news, others to home 2014-06-23 02:59:48 +02:00