Commit Graph

6618 Commits

Author SHA1 Message Date
r888888888
c3aff42458 add defaults for cloudflare keys 2017-12-29 17:15:39 -08:00
Albert Yi
00f091ef3e Merge pull request #3478 from BrokenEagle/fix-post-replacement-autocomplete
Add autocomplete to tags input on post replacements
2017-12-29 15:53:14 -08:00
Albert Yi
e1bfd29a7f Merge pull request #3475 from evazion/fix-3468
Fix #3468: Approval queue should not show one's own uploads or previous approvals.
2017-12-29 11:54:34 -08:00
evazion
3e936748c0 Fix #3468: Approval queue should not show one's own uploads or previous approvals. 2017-12-28 19:36:37 -06:00
evazion
1ca2497015 Fix #3474: Spurious email notifications. 2017-12-28 18:50:08 -06:00
evazion
857fa24697 Fix #3473: Validation warnings for no artist/copyright are still shown on upload failure. 2017-12-28 18:19:28 -06:00
r888888888
59cd4d71d3 fixes #3467 2017-12-28 14:56:03 -08:00
Albert Yi
0f7b9c3a21 Merge pull request #3472 from BrokenEagle/fix-status-active-search
Fix status:active so that it doesn't show flagged posts
2017-12-28 13:47:25 -08:00
BrokenEagle
5d317c19dd Add autocomplete to tags input on post replacements 2017-12-28 12:41:03 -08:00
BrokenEagle
7c9dd80d35 Fix status:active so that it doesn't show flagged posts 2017-12-28 12:17:11 -08:00
Albert Yi
b315ee25bc Merge pull request #3471 from BrokenEagle/fix-controller-views
Various fixes for controller views
2017-12-28 11:18:44 -08:00
BrokenEagle
71e05e8502 Fix nonworking forum_post/new when no topic ID is specified 2017-12-28 10:21:03 -08:00
BrokenEagle
5cdd8d8f67 Standardize position of page title and secondary links
- Removed path specification for secondary links where unneeded
2017-12-28 10:20:27 -08:00
BrokenEagle
31d3215dad Fix page controller and action IDs
- Also fix affected CSS and JS files
2017-12-28 10:20:12 -08:00
r888888888
d110f91198 updated related tags expiry for reltags delegated to reportbooru service 2017-12-27 17:30:26 -08:00
Albert Yi
94f7b91673 Merge pull request #3466 from evazion/fix-1563
Fix #1563: Warn users attempting to upload with very few tags.
2017-12-27 13:26:19 -08:00
evazion
d8eef6ef2b Fix #1563: Warn users attempting to upload with very few tags. 2017-12-27 15:04:00 -06:00
Albert Yi
12ce69171a Merge pull request #3465 from evazion/fix-3464
Fix #3464: CurrentUser.ip_addr isn't set for anonymous users.
2017-12-27 12:01:28 -08:00
Albert Yi
7651497b23 Merge pull request #3463 from evazion/fix-nico-seiga-timeout
Fix #3457: Timeout when fetching source data from NicoSeiga.
2017-12-27 12:00:38 -08:00
evazion
ad74d9e75a Fix #3464: CurrentUser.ip_addr isn't set for anonymous users. 2017-12-27 13:34:20 -06:00
evazion
1fc2284874 /users/new: show error message when account signup fails. 2017-12-27 13:34:20 -06:00
evazion
32ac09ee48 Add test for registering sock puppet accounts. 2017-12-27 13:33:57 -06:00
evazion
48b67967b5 Fix #3457: Timeout when fetching source data from NicoSeiga. 2017-12-27 13:08:14 -06:00
Albert Yi
4c947fb127 Merge pull request #3462 from evazion/fix-3460
Fix #3460: Timeout in `update_last_ip_addr`.
2017-12-27 10:53:33 -08:00
r888888888
c757cdeb12 fix text on mod random queue 2017-12-27 10:52:25 -08:00
r888888888
f11c731e32 fixes #3461 2017-12-27 10:51:17 -08:00
evazion
e34754c65c Possible fix for #3460: Timeout in update_last_ip_addr.
Set the user's statement timeout as soon as possible, before updating
anything in the database.
2017-12-27 12:42:11 -06:00
r888888888
659eb62402 css tweaks 2017-12-26 16:06:16 -08:00
evazion
952b5f9245 Fix bogus artist finder matches for http://www.nicovideo.jp/user/1234. 2017-12-26 14:31:42 -06:00
evazion
86f1ec5919 Fix #3459: Batch Bookmarklet for Artstation returns wrong results. 2017-12-26 14:05:41 -06:00
Albert Yi
2e0e8e1365 Merge pull request #3456 from BrokenEagle/fix-3455
Fix 3455: Convert tag category Javascript/CSS assets to ERB
2017-12-25 13:22:04 -08:00
Albert Yi
010e70e6c7 Merge pull request #3454 from evazion/fix-3448
Fix #3448: Lower the limit for tag category changes
2017-12-25 13:20:45 -08:00
Albert Yi
fb0095d7fc Merge pull request #3453 from evazion/fix-3450
Fix #3450: Aliased tags show up under translated tags.
2017-12-25 13:20:20 -08:00
Albert Yi
b2ba0cb9a9 Merge pull request #3452 from evazion/fix-favorites-show
Fix "The action 'show' could not be found for FavoritesController"
2017-12-25 13:20:04 -08:00
Albert Yi
8d81b96a28 Merge pull request #3449 from BrokenEagle/fix-3267
Add autocomplete to wiki page versions
2017-12-25 13:19:46 -08:00
Albert Yi
8c2b657349 Merge pull request #3451 from evazion/fix-js-double-render
Fix double render error in `/blah.js`.
2017-12-25 13:19:33 -08:00
BrokenEagle
d54b26c61d Convert tag category Javascript/CSS assets to ERB 2017-12-24 17:01:17 -08:00
evazion
0d69c03249 Fix "undefined method `is_builder?' for nil:NilClass" in static/error.html.erb.
`CurrentUser.user` may be nil if an exception is raised before it's
initialized.
2017-12-23 18:27:04 -06:00
evazion
5f1b7da95d Fix "RuntimeError: can't modify frozen String" in static/error.html.erb.
Fixes a frequently occurring error in New Relic.
2017-12-23 18:23:41 -06:00
evazion
91592b2f18 Fix #3448: Lower the limit for tag category changes.
Also allow admins to bypass all restrictions.
2017-12-23 13:44:45 -06:00
evazion
2385933e56 tags: fix /tags/1234/edit not enforcing correct category change restrictions. 2017-12-23 13:41:18 -06:00
evazion
19bda2056c tags: update category cache whenever category changes.
Do `update_category_cache_for_all` in a callback instead of calling it
manually everywhere.
2017-12-23 13:07:23 -06:00
evazion
265377bdbb Fix #3450: Aliased tags show up under translated tags.
Resolves aliases in translated tags. For example, say we lookup `遠坂凛`
and find `tohsaka_rin` and `toosaka_rin`. We apply aliases so that
`tohsaka_rin` becomes `toosaka_rin`, which is then returned as the only
translated tag.
2017-12-23 12:27:58 -06:00
evazion
6243cc8d48 Fix invalid routes for /posts, /explore/posts.
Fixes these invalid routes:

* GET http://danbooru.donmai.us/posts/new
* GET http://danbooru.donmai.us/posts/1234/edit
* POST http://danbooru.donmai.us/posts
* DELETE http://danbooru.donmai.us/posts
* GET http://danbooru.donmai.us/explore/posts
2017-12-23 11:31:12 -06:00
evazion
806513836b Fix failbooru in /users/custom_style.css when custom_style is nil.
http://danbooru.donmai.us/users/custom_style.css failed when manually
requested by anonymous users, or by users who didn't have a style set.
2017-12-23 11:11:50 -06:00
evazion
20b84578a2 Fix "The action 'show' could not be found for FavoritesController"
Fixes an exception on "/favorites/1234" requests.
2017-12-23 00:56:40 -06:00
evazion
5975152ddc Fix double render error in /blah.js. 2017-12-23 00:45:07 -06:00
r888888888
461ddbf017 fixes #3422 2017-12-21 11:33:23 -08:00
Albert Yi
796a83d7cf Merge pull request #3447 from evazion/fix-3443
Fix failure in `rake db:migrate` on fresh install (#3443).
2017-12-21 11:21:50 -08:00
Albert Yi
5bc3c677d1 Merge pull request #3446 from BrokenEagle/fix-validator-addtag-cutoffs
Fix cutoff for what is considered an added tag
2017-12-21 11:21:26 -08:00