Commit Graph

522 Commits

Author SHA1 Message Date
jomo
e9ca7e790d update donation page 2016-01-29 00:29:07 +01:00
jomo
f47b2b5129 ruby 2.3.0 \o/ 2016-01-28 21:50:05 +01:00
jomo
0aa32d3632 update rails for security
See 2c8f567e53 for info
2016-01-25 20:51:53 +01:00
jomo
6138b8d435 fix IPv6 style email validation
example: jsmith@[IPv6:2001:db8::1]
2016-01-25 17:11:51 +01:00
jomo
09592a8198 Merge pull request #6 from Futseh/master
Removed methods that are unused and not needed
2016-01-18 22:32:16 +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
69c0037cf6 add README 2016-01-17 23:16:37 +01:00
jomo
e53228eaf1 update to rails 4.2.5, clean up 2016-01-17 22:27:38 +01:00
jomo
ce19d61e1d use utf8mb4
because utf8 is not UTF-8 compatible...
2016-01-17 18:58:05 +01:00
jomo
80d9a1761a *actually* fix parens checking if forum exists
this led to 500 when the forum was deleted but the thread still existed
2016-01-17 18:33:17 +01:00
jomo
676875914f fix parens checking if forum exists
this led to 500 when the forum was deleted but the thread still existed
2016-01-17 18:23:26 +01:00
jomo
7744703eb8 Merge pull request #4 from Futseh/master
Fixed path bug
2016-01-17 00:46:03 +01:00
Jonas Folvik
553a15519a Fixed path bug
This is a fix for the bug that you couldn't go back to the original
thread by clicking the links at the top.
2016-01-17 00:44:31 +01:00
Futsy
e1fe02eacc Fixed the double mail bug
This should fix the double mail bug
2015-12-22 14:27:05 +01:00
jomo
544e226dfa rename crafatar helm to overlay
the option has been renamed
2015-12-20 03:50:34 +01:00
jomo
b618db7938 link to specific version of ago.js 2015-12-20 00:55:28 +01:00
jomo
756d0d1047 bcrypt has a 72 character limit :'(
56 bytes limit of eksblowfish, to be exact
2015-12-17 00:58:27 +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
560f83ce88 use Subresource Integrity for externally hosted javascript
browsers will calculate the sha256 hash of the script and compare it to the value of the integrity attribute
if the values do not match, the browser will refuse to execute it.

note: the shasum is written in base64 encoding, not the (more common) hex format!
2015-12-03 23:12:04 +01:00
jomo
e50f1fffee change slack badge back to https 2015-12-03 21:59:21 +01:00
jomo
acd1426618 update slack domain 2015-12-01 14:47:14 +01:00
jomo
3a93273cee fix inconsistency between Chrome & FF
In Firefox a <textarea> with a padding-top preserves the padding when scrolling down,
whereas in Chrome the padding will scroll up altogether with the content
2015-08-30 19:54:32 +02:00
jomo
9edbdb7d55 add strip_attributes
converts empty string to nil on the user model
so unique indexes with null: true will not break
2015-08-26 02:54:51 +02:00
jomo
20d31494dc fix sql uniqueness not working
turns out :unique is actually not an option, see
http://apidock.com/rails/v4.2.1/ActiveRecord/ConnectionAdapters/TableDefinition/column

weird enough this never caused trouble
2015-08-26 01:39:07 +02:00
jomo
3c0173f7c4 fix page number in redirection after updating a comment 2015-07-11 04:14:04 +02:00
jomo
4e97a9d63d fix error message for broken mails 2015-07-10 23:22:43 +02:00
jomo
17e27fa17f update favicon in assets folder 2015-07-01 18:56:27 +02:00
jomo
5fb6e8a9e2 use monospace fonts for code blocks 2015-06-17 21:21:20 +02:00
jomo
df5bf67dd7 this looks better 2015-05-25 18:19:50 +02:00
jomo
5272044a35 add drop-shadow to 3D crafatar renders
(idea shamelessly cloned from namemc.com)
2015-05-25 18:15:24 +02:00
jomo
f5e6969762 add link to donor list on donation page 2015-05-25 18:00:46 +02:00
jomo
41cf37103f allow user filter for donor 2015-05-25 17:58:37 +02:00
jomo
d1c360959f maybe I should add migrations... 2015-04-24 00:43:29 +02:00
jomo
542b235f23 show info page update time 2015-04-24 00:28:01 +02:00
jomo
eb00bc2f95 show role on user hover 2015-04-24 00:05:52 +02:00
jomo
b37308e2b1 compress css 2015-04-16 23:59:57 +02:00
jomo
db098ac2e1 optimize images
TODO: logo.svg
2015-04-16 23:50:34 +02:00
jomo
9c9d55bfe4 add donation option for @Dico200 2015-04-14 22:05:00 +02:00
jomo
1ca17d9931 update redcarpet due to XSS bug
http://danlec.com/blog/bug-in-sundown-and-redcarpet
2015-04-09 14:22:50 +02:00
jomo
0ab2b99c31 add padding to <li> 2015-04-03 21:19:30 +02:00
jomo
59ed71090c restructure signup page 2015-04-03 21:17:25 +02:00
jomo
ed7dd52db9 pre-fill email field on wrong password 2015-04-03 20:00:39 +02:00
jomo
04c379c3c4 Update donation info 2015-04-03 18:54:31 +02:00
jomo
40bdcaf16b Revert "blog comment improvements"
This reverts commit 320cfa56f9.
2015-04-02 10:30:15 +02:00
jomo
11efebc316 Revert "more improvements"
This reverts commit a404feb6c5.
2015-04-02 10:30:02 +02:00
jomo
a404feb6c5 more improvements 2015-04-01 17:02:53 +02:00
jomo
320cfa56f9 blog comment improvements 2015-04-01 16:59:01 +02:00