Albert Yi
3eaa4cb0f1
update sitemap.xml
2016-12-28 11:05:33 -08:00
Albert Yi
1b2c2de8b2
update link to user reports
2016-12-28 10:54:59 -08:00
evazion
8d714820a4
Fix undefined method is_deleted?' for nil` on /post_appeals.
...
Fix this exception:
undefined method `is_deleted?' for nil:NilClass
app/models/post_appeal.rb:72:in `resolved?'
app/views/post_appeals/index.html.erb:23:in `block in _app_views_post_appeals_index_html_erb__2678117644687662585_70170674603580'
app/views/post_appeals/index.html.erb:17:in `_app_views_post_appeals_index_html_erb__2678117644687662585_70170674603580'
app/controllers/post_appeals_controller.rb:13:in `index'
that occurs on these pages:
http://danbooru.donmai.us/post_appeals?limit=1&page=a2928
http://danbooru.donmai.us/post_appeals?limit=1&page=a2929
http://danbooru.donmai.us/post_appeals?limit=1&page=a2930
http://danbooru.donmai.us/post_appeals?limit=1&page=a2931
http://danbooru.donmai.us/post_appeals?limit=1&page=a2934
http://danbooru.donmai.us/post_appeals?limit=1&page=a2936
http://danbooru.donmai.us/post_appeals?limit=1&page=a2937
http://danbooru.donmai.us/post_appeals?limit=1&page=a2945
http://danbooru.donmai.us/post_appeals?limit=1&page=a2949
2016-12-27 21:33:44 -06:00
Albert Yi
3ad639521f
fixes #2805 : Improve nico seiga support
2016-12-27 16:11:22 -08:00
Albert Yi
08e0480a62
include archive databases in yml
2016-12-27 13:54:59 -08:00
Albert Yi
2fef0cdef9
Merge pull request #2804 from evazion/feat-comment-as-mod
...
Add option to comment as moderator (fix #2799 )
2016-12-27 11:49:36 -08:00
Albert Yi
5c0836a9c8
Merge pull request #2803 from evazion/fix-comment-cleanups
...
Various minor comment code cleanups
2016-12-27 11:42:08 -08:00
Albert Yi
0293d1d01c
Update comment.rb
...
allow Comment#for_creator to handle null user id case
2016-12-27 11:32:41 -08:00
Albert Yi
7e614b7673
Merge pull request #2802 from evazion/fix-pool-archives-db
...
Fix "'archive_development' database is not configured." exception.
2016-12-27 11:21:15 -08:00
Albert Yi
32056b9af3
Merge pull request #2793 from evazion/feat-copy-artist-commentary
...
Copy artist commentary (#2561 , #2238 )
2016-12-27 10:49:38 -08:00
evazion
68744bc24a
Add controls for copying commentary from source or another post.
2016-12-27 06:01:23 +00:00
evazion
be379cc4a2
Return artist commentary in /sources.json?url=<url>.
2016-12-27 06:01:23 +00:00
evazion
cc215f6a41
Add more artist commentary API endpoints.
...
* GET /posts/1/artist_commentary.json
* GET /artist_commentaries/1.json
2016-12-27 06:01:22 +00:00
evazion
254efd9ca2
Rearrange /artist_commentaries/search form.
2016-12-27 06:01:22 +00:00
evazion
7734e53169
Add "Help" link in /artist_commentaries subnav.
2016-12-27 06:01:22 +00:00
evazion
0af7e84c78
Fix subnav quick search bar on /artist_commentaries.
2016-12-27 06:01:21 +00:00
evazion
0e73f3c8a9
Add tests for stickying comments.
2016-12-26 23:52:46 -06:00
evazion
82e93b3c12
Allow downvoting admin comments.
2016-12-26 23:52:45 -06:00
evazion
91e368f08a
Highlight stickied comments; don't dim downvoted stickies.
...
The highlight color uses the same color as the subnav bar background
color. Make it a tad brighter so it's more visible.
2016-12-26 23:52:45 -06:00
evazion
1257639109
Add 'post as moderator' option for comments.
...
* Add 'post as moderator' option to comment form. This creates a so-called sticky comment.
* Downvotes have no effect on stickied comments; they're always visible, regardless of comment thresholds.
* Only mods may sticky comments.
* Mods may sticky comments by other users.
2016-12-26 23:52:45 -06:00
evazion
390524c7f5
Remove obsolete IE8 opacity hacks; remove unused transparency mixin.
2016-12-26 23:52:27 -06:00
evazion
1b05d5068a
Simplify Comment.for_creator_name.
2016-12-26 23:52:27 -06:00
evazion
9347f27059
/comments.json: add id param; allow id and post_id to take lists of ids.
2016-12-26 23:52:27 -06:00
evazion
69c50290a8
Include updater_name in /comments/1.json.
2016-12-26 23:52:27 -06:00
evazion
c165b38a91
Prevent anon users from attempting to undelete/unvote comments.
...
The :undelete and :unvote actions weren't covered.
2016-12-26 23:52:27 -06:00
evazion
7c838f8525
Delete unused /comments/index_all route and unused _threshold.html.erb template.
2016-12-26 23:52:27 -06:00
evazion
85011c9192
Fix "'archive_development' database is not configured." exception.
2016-12-26 23:52:27 -06:00
evazion
df22bae2be
Fix "'archive_development' database is not configured." exception.
2016-12-26 15:09:43 -06:00
r888888888
2584646017
add additional formatting for delayed job listing
2016-12-24 18:00:40 -08:00
Albert Yi
1ed5e0a087
Merge pull request #2796 from evazion/fix-ss-check-availability
...
Fix #2795 : "check_availability" bug with saved searches.
2016-12-23 11:20:17 -08:00
Albert Yi
5ba7a428c1
Merge pull request #2797 from evazion/feat-appeal-notice
...
Fix #2792 : pull appeal text from wiki page.
2016-12-23 11:19:35 -08:00
evazion
f0591f3f5b
Fix #2792 : pull appeal text from wiki page.
2016-12-22 21:53:10 -06:00
evazion
00ddd2f5d4
Fix #2795 : "check_availability" bug with saved searches.
2016-12-22 21:44:35 -06:00
Albert Yi
5a1ac41450
eliminate transaction log items table
2016-12-21 15:00:59 -08:00
Albert Yi
62956be384
hide saved search functionality if not enabled
2016-12-21 14:53:39 -08:00
Albert Yi
ee4ebce4d7
support pool version archive
2016-12-21 11:43:46 -08:00
Albert Yi
3c038f76f9
Merge pull request #2791 from evazion/fix-safebooru-ugoiras
...
Fix broken ugoira player on safebooru.
2016-12-20 17:57:39 -08:00
evazion
d79f1aac96
Move stupidtable.js into application.js.
...
Fixes this javascript error:
Uncaught TypeError: $(...).stupidtable is not a function
on these pages:
* http://safebooru.donmai.us/reports/user_promotions
* http://safebooru.donmai.us/reports/contributors
* http://safebooru.donmai.us/reports/janitor_trials
...due to stupidtable.js not loading.
2016-12-20 02:31:05 -06:00
evazion
780fe07976
Move ugoira_player.js into application.js.
...
Fixes an issue with the ugoira player not working on Safebooru due to
this error:
Asset filtered out and will not be served: add
`Rails.application.config.assets.precompile += %w( ugoira_player.js)`
to `config/initializers/assets.rb` and restart your server
2016-12-20 02:26:13 -06:00
Albert Yi
aa5e65129b
Merge pull request #2787 from evazion/fix-video_with_sound-blacklists
...
Prevent video_with_sound posts from autoplaying when blacklisted.
2016-12-19 13:10:23 -08:00
Albert Yi
66384d78a7
Merge pull request #2789 from evazion/fix-double-uploads
...
Prevent double uploading when hitting enter key in tag edit box more than once.
2016-12-19 13:09:59 -08:00
Albert Yi
611e5cf5e0
Merge pull request #2788 from evazion/fix-secure-api-keys
...
Fix #2785 : Allow changing API key; require password to view or change key.
2016-12-19 13:09:29 -08:00
Albert Yi
f3c8708c82
Merge pull request #2790 from evazion/fix-upload-resizer
...
Fix upload preview image displayed at full size (fixes #1375 , #2471 )
2016-12-19 13:08:04 -08:00
evazion
78ca92c981
Fix upload image resizer. ( fixes #1375 , #2471 )
...
Polling the image height isn't reliable. Wait for the image to be fully
downloaded before resizing it instead.
2016-12-18 20:42:24 -06:00
evazion
b7246d335f
Prevent double uploading when mashing enter key in tag edit box.
2016-12-18 18:45:02 -06:00
evazion
a92120e873
Fix #2785 : Allow changing API key; require password to view or change key.
2016-12-18 06:30:48 -06:00
evazion
5d0e950cdb
Prevent video_with_sound posts from autoplaying when blacklisted.
2016-12-17 18:33:03 -06:00
Albert Yi
3e285ea4ce
update dtext gem
2016-12-12 17:08:56 -08:00
Albert Yi
aef31d8d9b
enable ragel parser for comments, add additional sql diagnostic queries
2016-12-09 14:59:33 -08:00
Albert Yi
2af622e7a7
add ban to post mode menu
2016-12-09 11:56:25 -08:00