evazion
8a012d4c91
Remove unused mobile mode code ( #3206 ).
...
Mobile mode was removed in 31e36cf .
2018-03-20 02:29:06 -05:00
r888888888
3657cacd17
* post keeper is calculated synchronously
...
* add fallback mechanism in case archive service is not up
* pass along most recently added tags to any keeper calculation
2018-03-08 16:00:44 -08:00
r888888888
0c5dcbbf68
Revert "Revert "implement post keepers""
...
This reverts commit b9fcfe0442 .
2018-03-06 18:04:31 -08:00
r888888888
689b5690bf
fixes #3560
2018-02-22 11:15:42 -08:00
Albert Yi
b9fcfe0442
Revert "implement post keepers"
2018-02-07 12:28:56 -08:00
Albert Yi
2e62916832
Merge pull request #3529 from r888888888/most-valued
...
implement post keepers
2018-02-07 12:10:38 -08:00
r888888888
ba6e3f4a0e
gracefully handle bad connection errors to replica db ref #3212
2018-02-05 15:05:21 -08:00
r888888888
32cc508edb
hide uploader information on posts/show page, add keeper information
2018-02-01 14:38:03 -08:00
BrokenEagle
3933c273c4
Add mod action for move favorites
2018-01-30 11:27:28 -08:00
Albert Yi
9f578b3270
Merge pull request #3504 from BrokenEagle/fix-3494
...
Fix how cosplay tags are handled
2018-01-18 12:47:02 -08:00
BrokenEagle
f626c7ebd7
Fix how cosplay tags are handled
2018-01-15 18:01:06 -08:00
Albert Yi
dfd343f70e
Merge pull request #3496 from BrokenEagle/feat-mod-action-event-ids
...
Add categories to mod actions
2018-01-15 11:09:38 -08:00
BrokenEagle
3c45273694
Add category for mod actions
2018-01-13 20:55:52 -08:00
r888888888
1a7bfca9bd
fix reference to config.image_server_host
2018-01-04 13:10:15 -08:00
r888888888
b60f4d62fd
delegate post url generation to config
2018-01-04 13:06:52 -08:00
r888888888
af6ab74f8d
support dedicated image servers
2018-01-03 13:32:50 -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
d8eef6ef2b
Fix #1563 : Warn users attempting to upload with very few tags.
2017-12-27 15:04:00 -06:00
BrokenEagle
a973415139
Fixed cutoff for what is considered an added tag
2017-12-21 10:10:13 -08:00
BrokenEagle
b2598b7966
Add validation warning for non-general/meta tags
2017-12-20 08:58:04 -08:00
evazion
8c44789fbc
Fix #3440 : Implications aren't applied to automatic tags.
...
Apply implications after adding automatic tags.
2017-12-19 14:37:12 -06:00
r888888888
4dabbde05d
use full file url for open graph url if a file doesn't have a large version
2017-12-15 11:30:26 -08:00
Albert Yi
5da62eff8d
Merge branch 'master' into fix-3278
2017-12-13 14:30:08 -08:00
Albert Yi
850ac353ed
Merge pull request #3399 from BrokenEagle/fix-gold-safemode-message
...
Changed safe mode error message for Gold+ users
2017-12-13 14:26:50 -08:00
Albert Yi
1d901e9307
Merge pull request #3357 from evazion/feat-soft-post-validations
...
Post editing: add warning when creating new tags (#3352 )
2017-12-13 14:24:51 -08:00
evazion
131c0109d4
Address #3415 : og:image meta tags can point to video files.
2017-12-06 09:47:57 -06:00
BrokenEagle
839f0f653f
Changed safe mode error message for Gold+ users
...
- Made explicit the error messages and their order
- Banned takes priority, then Gold+, then Safe
- Made the groups exclusive of each other
2017-12-05 19:08:01 -08:00
evazion
acd49be4cc
Fix #3419 : Deleting a post doesn't clear parent's "parent" status.
...
Bug: when deleting a child post and the "Move favorites to parent?" option is
set, the parent's has_active_children flag is not cleared.
`give_favorites_to_parent` moves the votes, and moving the votes has the
side effect of reloading the post (to get the new score). But reloading
the post wipes out the is_deleted_changed? flag, which is used by `update_parent_on_save`.
Fix: update the `is_deleted` flag *before* moving favorites, so that the
`update_parent_on_save` callback runs before `give_favorite_to_parent` runs.
2017-12-05 19:35:15 -06:00
evazion
3c6a613964
Fix #3410 : Unable to create a new wiki page.
...
Fix `Post.fast_count(nil)` failing when the user had the "safe mode" or
"deleted post filter" options turned on.
2017-11-29 12:34:07 -06:00
evazion
5b89f56c2e
Move PostgresExtensions to ApplicationRecord.
2017-11-26 13:57:51 -06:00
evazion
6d9708a22e
posts: don't warn about missing artist tags for official_art.
2017-11-26 11:43:46 -06:00
evazion
cc1f8ab9ed
posts: warn when a tag cannot be removed due to implications / automatic tags.
2017-11-25 17:03:33 -06:00
evazion
94fa835733
posts: warn when post from known source is missing an artist tag.
2017-11-25 17:03:33 -06:00
evazion
4cd372296d
posts: warn when post is missing copyright tags.
2017-11-25 17:03:33 -06:00
evazion
d571efd703
posts: warn when adding artist tag with no artist entry.
2017-11-25 17:03:33 -06:00
evazion
963eacd849
posts: warn when adding newly created tags.
2017-11-25 17:03:32 -06:00
r888888888
060762defa
add service for purging files from cloudflare cache
2017-11-22 13:19:30 -08:00
r888888888
5c5daeac72
remove unused mobile templates
2017-11-21 10:19:24 -08:00
r888888888
902f657a5d
for video/ugoira, don't render preview if file doesn't exist yet
2017-11-21 10:16:03 -08:00
evazion
134958d137
Fix #3390 : Searching certain metatags results in an empty paginator
...
Fixes Post#get_count_from_cache to only lookup the count in the tags
table when the search is for a single "simple" tag.
Check memcache when the search is not a simple tag:
* multi-tag searches (touhou rating:s)
* single metatag searches (rating:s, source:"foo bar")
* negated tags (-touhou)
* wildcard tags (*touhou*)
* or searches (~touhou)
2017-11-20 14:41:02 -06:00
r888888888
a4c13a7e96
enable vacuum cron task, disable postupdates
2017-11-16 14:29:12 -08:00
r888888888
73f257ec63
disable manual post count expiration, rely solely on timed expiries ( fixes #3376 )
2017-11-16 13:43:38 -08:00
r888888888
7dea7eef89
run tag count counters synchronously
2017-11-15 16:29:39 -08:00
r888888888
dba0117b99
when expiring tag cache, only queue work for remote servers
2017-11-15 11:46:52 -08:00
BrokenEagle
e312ae3d92
Added fix script to update the correct tagcount for all posts
2017-11-14 17:11:18 -08:00
evazion
5f39a8b4b2
Fix #3365 : Incorrect tag category counts.
...
`Hash[array]` didn't work because Hash needed to be called as `Hash[*array]`. Or,
more simply, `array.to_h`.
2017-11-13 21:45:12 -06:00
BrokenEagle
6838901aac
Moved non-config tag category info to its own class
2017-11-07 16:21:29 -08:00
BrokenEagle
1e5540f3a0
Moved most of the tag category config logic to the config file
...
-Fixed an unused Post class method (fix_post_counts) that didn't have a parameter
2017-11-06 15:27:54 -08:00
BrokenEagle
6e812ca714
Moved adding post to new pool until after post save
2017-10-30 16:38:31 -07:00
BrokenEagle
635c76df57
Move case sensitive metatags to before downcase
2017-10-21 13:58:55 -07:00