2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-31 14:05:14 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
nanaya
902bd71764 Fix updating blacklisted tags 2018-02-19 04:41:52 +09:00
nanaya
a20e351139 Fix autocomplete 2016-12-21 17:10:14 +09:00
nanaya
2e509f6e00 Green test \o/
Removed unneeded gems.
2016-08-16 07:50:23 +09:00
nanaya
57148ae854 Add pool browse setting as permitted parameter 2015-11-15 20:44:52 +09:00
nanaya
badd9d4bb3 Strong params for user controller.
And prevent user from renaming their name :D
2015-07-25 15:26:27 +09:00
edogawaconan
0c2f30f58b Update .deliver to use .deliver_now instead. 2015-01-06 02:24:53 +09:00
edogawaconan
83f6ad3a6e Update to 4.2.
- backport javascript functions.
- remove deprecation message from backported functions.
- fix queries and syntaxes.
- remove unused performance tester.
- update config settings to match 4.2.
- reflections is now string, not symbol.
- split off (/index) routes. For some reason it is always added now.
- DMailer is now plain ruby class.
- properly test xhr thingy.
- remove hooves
2014-12-23 03:15:06 +09:00
edogawaconan
46bb1358ab Green up UserController and fix deprecations. 2014-11-20 21:49:41 +09:00
edogawaconan
ee24d7de20 Modernise user#show_blocked_users action. 2014-11-20 21:21:21 +09:00
edogawaconan
10c3bf5839 Remove then keyword for multiline if/unless.
Autocorrected with rubocop.
2014-11-20 17:50:45 +09:00
edogawaconan
7f006779e2 Restrict formatting layout. 2014-11-20 17:50:42 +09:00
edogawaconan
a9da5a48af Add space after comment's #. 2014-11-20 17:50:35 +09:00
edogawaconan
865968354a Add spaces between defs. 2014-11-20 17:50:34 +09:00
edogawaconan
f422df855f Use . instead of :: for method call. 2014-11-20 17:50:34 +09:00
edogawaconan
1304cf4552 Fix parameters alignment. 2014-11-20 17:50:34 +09:00
edogawaconan
16e1f80299 Replace if ! with unless.
Rubocop(tm).
2014-11-20 17:50:32 +09:00
edogawaconan
939bd90cd6 Unify block styling.
Courtesy rubocop.
2014-11-20 17:50:31 +09:00
edogawaconan
b0938706be Replace and and or with && and ||. 2014-11-20 17:50:31 +09:00
edogawaconan
8b5b2a86bb Remove extra () when calling method.
Ruby isn't javascript.
2014-11-20 17:50:31 +09:00
edogawaconan
e468f9e46e Remove extra newlines. 2014-11-20 17:50:31 +09:00
edogawaconan
e657d36c97 Fix all space-related styling.
Courtesy rubocop.
2014-11-20 17:50:30 +09:00
edogawaconan
f29c0d1fdd Negate with ! instead of not.
Leveraged rubocop auto-correct.
2014-11-20 17:50:30 +09:00
edogawaconan
2d4fd2a99a *_filter => *_action. 2014-11-20 17:50:29 +09:00
edogawaconan
d61e30ff7e Double quotes everywhere.
Using rubocop's auto-correct.
2014-11-20 17:50:29 +09:00
edogawaconan
782b012018 Use hash rocket syntax everywhere. 2014-11-20 17:50:29 +09:00
edogawaconan
e8c9e6ebf4 Restrict response format. 2014-11-20 17:50:27 +09:00
Edho Arief
fa46437b84 Shiny user settings.
--HG--
extra : rebase_source : 917335f5b870af9d442bbbefe2d12cc5a0b44292
2013-03-30 00:04:26 +09:00
dovac
06126965b6 must be a registered user to view user/show/* 2012-12-06 11:11:51 -08:00
dovac
81ad7c1d9b remove 3hour caching 2012-12-06 11:07:04 -08:00
dovac
0c01422d21 cache user/show/* for 3hours 2012-12-05 15:04:38 -08:00
Edho Arief
d8549e7aa7 Merge from -release.
--HG--
rename : lib/core_ext/string.rb => lib/core_ext/ext-string.rb
2012-10-19 09:19:01 -07:00
dovac
f0d3d2625e add HttpOnly ref: http://www.codinghorror.com/blog/2008/08/protecting-your-cookies-httponly.html
--HG--
branch : 3.2.0-release
2012-10-17 16:47:34 -07:00
Edho Arief
2e5303af28 Use page_number instead of params[:page].
--HG--
branch : 3.2.0-release
2012-09-21 02:21:24 -07:00
Edho Arief
5147305368 Merge fix. 2012-09-17 06:51:57 -07:00
Edho Arief
b7477c51c2 Restricting format.
--HG--
branch : 3.2.0-release
2012-09-16 06:49:14 -07:00
Edho Arief
5d0c0f0634 Moved all set_title to view with provide. 2012-08-04 22:09:58 +07:00
Edho Arief
cc75b8f4e8 Use helper to get sanitized params[:page]. 2012-08-01 11:31:03 +07:00
Edho Arief
9219e2ead7 One less legacy plugin (auto_complete) 2012-07-26 21:20:35 +02:00
Edho Arief
e090c67709 Case insensitive search. 2012-07-26 21:02:22 +02:00
Edho Arief
7a70419a86 Autocomplete for user. 2012-07-26 20:55:37 +02:00
Edho Arief
9222804732 Fixed reset password mailer. 2012-07-16 19:54:47 +07:00
Edho Arief
2441fa7a49 Import~ 2012-07-09 00:13:01 +07:00
Edho Arief
f473ceccfc Allows removing avatar. 2012-07-08 23:23:33 +07:00
Edho Arief
ce0d830a19 Simpler query for user_ips. 2012-07-07 01:36:31 +07:00
Edho Arief
4e53c5a231 WIP: moved verification for user to routes. 2012-07-01 16:54:13 +07:00
Edho Arief
2a282899c9 Sanitize parameter to be rendered.
--HG--
extra : rebase_source : 2481998150987dd91853237dbd8dd873841035b9
2012-06-30 18:04:06 +07:00
Edho Arief
d0a9a8de7c Implemented user/change_email. 2012-06-27 21:07:15 +07:00
Shuugo
cde58fc2f3 Implement changes requested by StahnAileron here:
http://bb.hanyuu.net/konachan/issue/13/ban-list-ordering

- Sort by ban expiration
- Add when the ban actually expires

Still missing to add a column of banned by to the blocked users table (the blocked IPs already has one)
2012-06-24 22:20:18 +02:00
Edho Arief
be04b40e2e Ensure no anonymous when accessing change_password. 2012-06-11 21:48:02 +07:00
Edho Arief
137eda2a05 Much better change password form and error checking. 2012-06-11 20:53:45 +07:00