Commit Graph
4811 Commits
Author SHA1 Message Date
Albert Yi 0018a09f30 Merge pull request #3027 from evazion/feat-flag-cooldown
Add 3 day cooldown between flags
2017-05-08 13:05:38 -07:00
Albert Yi 646a2b3762 Merge pull request #3022 from evazion/fix-api-pretty-names
Fix #2352: Return raw usernames in API instead of pretty names.
2017-05-08 12:49:01 -07:00
Albert Yi 92c4c043f0 Merge pull request #3032 from evazion/fix-expired-bans
Fix exception when user with expired ban logs in.
2017-05-08 11:33:44 -07:00
evazion fd291c8b42 bans: fix exception when user with expired ban logs in.
`ban.destroy` fails because users have many `bans`, not a single `ban`.
Destroying the expired ban isn't necessary anyway.
2017-05-07 12:13:19 -05:00
r888888888 1b5d409c0c remove usage of postgres now() in token bucket check 2017-05-06 20:54:54 -07:00
evazion 31a38ea39a flags: add flag cooldown test. 2017-05-04 17:37:59 -05:00
evazion 3b37bb6142 flags: add 3 day flagging cooldown period. 2017-05-04 16:51:49 -05:00
evazion 8638b7527b flags: don't set is_flagged twice.
PostFlag#update_post already sets is_flagged when the flag is created.
No need to set it again.
2017-05-04 16:51:49 -05:00
evazion 9f64857719 flags: move status locked check to post_flag.rb. 2017-05-04 16:51:49 -05:00
evazion 43ad3258e5 API: fix api limits being lowered when user doesn't have api key. 2017-05-04 12:57:20 -05:00
evazion 7ade3b6831 Fix #2352: return raw usernames in API instead of pretty names. 2017-05-03 22:16:38 -05:00
Albert Yi b6e1958917 Merge pull request #3017 from evazion/fix-deviantart-links
Fix links to DeviantArt sources
2017-05-03 15:49:16 -07:00
Albert Yi fea540331b Merge pull request #3019 from evazion/fix-pawoo-sources
Fix pawoo sources after upload.
2017-05-03 15:33:53 -07:00
Albert Yi fac6ff38aa Merge pull request #3018 from evazion/fix-user-search
Add search options for approvers/super voters/contributors
2017-05-03 15:33:33 -07:00
evazion db1fa60a43 Set pawoo sources to html page after upload. 2017-05-03 00:09:51 -05:00
evazion d6ca040198 /super_voters: remove in favor of /users?search[is_super_voter]=true search. 2017-05-02 23:15:19 -05:00
evazion 1dba314eda /users: add search options for approvers/super voters/contributors. 2017-05-02 23:15:19 -05:00
evazion 44b1a8dbf6 /users: convert search form to simple form. 2017-05-02 22:53:33 -05:00
evazion 002d54921e responsive layout: fix "More »" link from line-wrapping. 2017-05-02 22:30:56 -05:00
evazion 85f6590b1a responsive layout: fix <input> sizes and styling. 2017-05-02 22:30:56 -05:00
evazion 352a3e065f responsive layout: fix dropdown nav menu overlapping main content.
The culprit is `float: right;` but none of this other stuff is needed.
2017-05-02 22:30:56 -05:00
r888888888 9757700ec7 fix post archive presenter 2017-05-02 15:57:42 -07:00
r888888888 e96e9c0105 fix for post archive presenter 2017-05-02 15:50:58 -07:00
r888888888 25b2f73546 fix for post archive presenter 2017-05-02 15:47:22 -07:00
r888888888 caf9281e3e fixes #2950 2017-05-02 15:40:17 -07:00
r888888888 66458c34b0 fixes #3014 2017-05-02 15:39:16 -07:00
evazion 93c9b622a1 post_approval.rb: log correct post id when approving deleted posts. 2017-05-02 00:01:21 -05:00
evazion 1baffb31ff Link dA sources as http://$artist.deviantart.com/art/$title-$id in sidebar.
Previously we used 'http://$artist.deviantart.com/gallery/#/d$id'. This
relied on a javascript redirect on Deviantart's end, which didn't work
for people with javascript disabled.
2017-05-01 23:29:16 -05:00
r888888888 3b414db844 defer to popular searches for popular tag list 2017-05-01 17:56:34 -07:00
r888888888 440c5219bd memoize domains 2017-05-01 15:52:32 -07:00
r888888888 62c9beafc2 fixes #2993: Artist URL breakdown 2017-05-01 15:48:04 -07:00
Albert Yi d7e83bef79 Merge pull request #3003 from evazion/feat-noter-any-metatag
Add noter:<any|none>, commenter:<any|none> metatags
2017-05-01 14:52:30 -07:00
Albert Yi 522ee8b303 Merge pull request #3004 from evazion/fix-responsive-taglist
Fix tag list for responsive layout.
2017-05-01 14:51:53 -07:00
Albert Yi 590bfa18f6 Merge pull request #3005 from evazion/fix-ss-query-normalization
Fix #2995: Saved searches’ tags are getting reordered
2017-05-01 14:51:01 -07:00
r888888888 48e9856f37 fixes #3007: Eliminate Janitor role 2017-05-01 14:38:30 -07:00
Albert Yi 99ed0cc437 Merge pull request #3008 from evazion/fix-disallow-blank-notes
Fix #1566: disallow blank note bodies.
2017-05-01 14:18:28 -07:00
Albert Yi 279134c9bb Merge pull request #3009 from evazion/fix-dmails-search
Fix #1868: Dmail search improvements: subject, searchbox
2017-05-01 14:05:22 -07:00
evazion e10327219d /users/1234.json: include upload_limit/max_upload_limit/favorite_group_count. 2017-04-29 12:26:25 -05:00
evazion f7509433b1 /users.json: make private attributes visible to the user themselves (fix #1551). 2017-04-29 12:26:24 -05:00
evazion 0652b907a9 dmails: inline search form on /dmails page. 2017-04-29 11:50:26 -05:00
evazion d1216f260e dmails: add search[title_matches] param. 2017-04-29 11:50:25 -05:00
evazion 27d6025425 dmails: convert search form to simple form. 2017-04-29 11:50:25 -05:00
evazion e8b9361226 notes: display error message when note saving fails. 2017-04-28 21:37:14 -05:00
evazion a3ecfdb79d notes: disallow blank note bodies. 2017-04-28 19:34:27 -05:00
evazion 8e5491a536 saved searches: add query normalization tests. 2017-04-28 16:26:44 -05:00
evazion 0b63dd32d1 saved searches: don't change tag ordering within queries.
Normalize queries aside from the tag ordering when they're saved.
Normalize queries including ordering when they're sent to listbooru.

This way tag ordering within searches is kept in the /saved_searches listing.
2017-04-28 16:24:07 -05:00
evazion 3eef8a62cc Remove unused css. 2017-04-28 15:08:07 -05:00
evazion 7aae76d80a responsive layout: move sidebars beneath main content.
Incidentally fixes bug with notes being mispositioned on top of the
sidebar because the sidebar was declared as float: left.
2017-04-28 15:05:46 -05:00
evazion 25aaef5afe Add tests for noter:<any|none>, comm:<any|none> metatags. 2017-04-26 16:51:34 -05:00
evazion b0626a9124 Add commenter:<any|none> metatags. 2017-04-26 16:51:34 -05:00