Commit Graph
99 Commits
Author SHA1 Message Date
BrokenEagle 5f746c1a34 Made recommended changes to moderator reports (see #4267) 2020-01-21 01:38:08 +00:00
BrokenEagle 34368272e8 Added ability to search for URL array parameters
- Also added in different string splitters for the text fields
- Removed or renamed parameters covered by the main search function
2020-01-19 23:59:23 +00:00
BrokenEagle 29e8b89c93 Use better method for querying moderation reports on posts and topics
- Also moved the control logic out of the views and into the models
2020-01-19 20:16:22 +00:00
BrokenEagle 16100ecfe6 Use better method of querying the moderation reports for an instance
The use of any? and count was forcing new SQL requests for each statement.
Instead, present? and length were used which act on the reports once loaded.
Although unneeded, the comment and forum views were changed as well for consistency.
2020-01-19 00:09:51 +00:00
BrokenEagle f3ce811def Add tests for moderation reports
Added an HTML render for the new endpoint to get the tests to work.
It should probably have had one anyways so this is alright.
2020-01-18 23:37:58 +00:00
BrokenEagle 491d476456 Add pruning of reports older than a week 2020-01-18 21:42:31 +00:00
BrokenEagle a3e889bdf5 Added highlighting and notices for moderators
- Posts and topics have an added moderation_reports function
-- This is so all moderation reports can be loaded in a single query
- Those moderation reports are passed into the render functions separately
-- This is so the individual comments/posts don't have to be queried
2020-01-18 21:10:50 +00:00
BrokenEagle 4cef0e45c2 Create the ability to send reports to moderators
- Limited to Builders+
-- Moderator+ can also use as they may be too busy ATM
- Only on users, comments, and forum posts
- Multiple reports can be generated per instance
- Primarily posts to a moderator-only topic for viewability
- Secondarily has a table for searchability
-- Viewable only by moderators
2020-01-18 06:40:20 +00:00
BrokenEagle b2d12e2e20 Remove posts not shown for blank message check 2020-01-17 07:01:16 +00:00
BrokenEagle 3a422b26df Removed unneeded commentary tag checkboxes
As per the discussion on GitHub, these will be handled instead
by the existing mechanisms of related and frequent tags.
2020-01-16 21:40:14 +00:00
BrokenEagle 82b621d87d Added upload commentary enhancements
- Can now translate commentary from the upload page
- Can now add commentary tags with a checkbox
2020-01-14 23:59:27 +00:00
BrokenEagle 4ec6bacac0 Lock comments edited/deleted by moderators 2020-01-14 19:02:07 +00:00
BrokenEagle b3b896a9e3 Fix search by post ID and note ID links
- These were missing and needed on the vanilla note versions index
- Now they appear only if that particular URL parameter is not present
2020-01-13 21:21:15 +00:00
BrokenEagle 5d5cc66502 Remove empty column 2020-01-13 21:21:14 +00:00
BrokenEagle 63203d24cc Standardize use of column width parameter 2020-01-13 21:21:14 +00:00
BrokenEagle 3ab2c4c3ea Use optional parameter to set column class
- Fixes the extremely long class name on the post versions view
- Can now use one value instead of having to set th and td
- Added missing column classes on all tables
2020-01-13 21:21:13 +00:00
BrokenEagle 114637f594 Use more efficient use of regexes for Twitter hashtag normalization 2020-01-10 15:30:54 +00:00
BrokenEagle 2eef73e8fe Add additional Twitter hashtag
- It was mentioned on issue #4047 but was forgotten to be included
2020-01-10 14:52:49 +00:00
BrokenEagle 4a873626c8 Moved note title to the body so that it can be copied
- Adjusted the title text for new notes
- Adjusted the starting dialog sizes to fit the new text
2020-01-09 22:14:01 +00:00
BrokenEagle 6127492361 Fix missing post HTML attributes 2020-01-09 21:15:31 +00:00
BrokenEagle ef29ede448 Fix issue where numeric keypad was setting bad values 2020-01-08 00:22:28 +00:00
BrokenEagle 6f698ec104 Convert tag script storage to local storage 2020-01-08 00:22:28 +00:00
BrokenEagle 57befe894d Fix the error from missing jQuery-ui effects 2020-01-07 22:32:01 +00:00
BrokenEagle ad1e22af0b Add search page
- Fix issue with updater_name erroring out
- Add search options is_new and name_changed
2020-01-07 18:48:52 +00:00
BrokenEagle 9182a4f556 Highlight carriage return changes 2020-01-07 18:48:51 +00:00
BrokenEagle 34542fdf5c Pool versions diff: Use diff builder to highlight description changes
- Add highlights for name changes
- Separate and name the sections
2020-01-07 18:48:51 +00:00
BrokenEagle 4ab90e5d6e Move diff logic out of helper 2020-01-07 18:48:50 +00:00
BrokenEagle 8531636330 Change Desc Chg column to status column
- Add a diff column
- Reword post column name for better clarity
2020-01-07 18:48:50 +00:00
BrokenEagle 642e121ad9 Have artist wiki links go to artist page 2020-01-07 05:21:29 +00:00
BrokenEagle 67860a845c Add normalization for Twitter hashtags 2020-01-05 23:01:50 +00:00
BrokenEagle 5e03c3d84e Adjust naming of user and model attributes
- Remove unnecessary attributes that cause additional SQL queries
- Remove unneeded check for nil on current_item
2020-01-05 19:46:08 +00:00
BrokenEagle 4b904dff5a Convert classes to use data attributes
- Remote resolved classes on post flags since they were unused
2020-01-04 22:02:45 +00:00
BrokenEagle 223a6df5d8 Add API data to show/index views 2020-01-04 22:02:44 +00:00
BrokenEagle e8a96c1a2a Standardized naming of version list views 2020-01-04 22:02:44 +00:00
BrokenEagle be92282990 Combine version partials into one file 2020-01-04 22:02:43 +00:00
BrokenEagle 89df0a6ace Adjust how deleted forums get shown
- In some cases deleted items weren't visible from the index view
- There also shouldn't be any reason why they can't be shown when searched for specifically
-- This also matches the behavior on comments
2020-01-04 22:02:43 +00:00
BrokenEagle 043944e1dd Convert index tables to using table builder 2020-01-04 22:02:43 +00:00
BrokenEagle 4c6d3a5608 Added scary font 2020-01-01 03:06:40 +00:00
BrokenEagle 94340ccaf3 Remove references to Keeper/TopTagger 2019-04-01 13:17:18 -07:00
BrokenEagle 4c85cf4a32 Fix #3853: Blacklist minscore is broken. 2018-08-30 17:42:21 -05:00
BrokenEagle 30401591fb Set blank results when a non-autocomplete metatag is used
-Otherwise, the last valid autocomplete result will remain
--Causes incorrect results on Tab/Enter completion
-This clears the autocomplete results instead
2018-02-12 17:20:12 -08:00
BrokenEagle 31114b716a Fix the auto resize in desktop mode (ref: a95af95e) 2018-02-05 10:20:24 -08:00
BrokenEagle 3933c273c4 Add mod action for move favorites 2018-01-30 11:27:28 -08:00
BrokenEagle 92f7bb46a2 Add missing mod action category 2018-01-30 11:27:24 -08:00
BrokenEagle d829ab3a00 Move all order logic to models
- Have a default order for each model
-- The overall default is ID DESC
- Allow for custom orderings
-- When comma-separated IDs are used
2018-01-29 11:42:53 -08:00
BrokenEagle f626c7ebd7 Fix how cosplay tags are handled 2018-01-15 18:01:06 -08:00
BrokenEagle 160829d262 Don't update the updater_id when nothing has changed 2018-01-14 20:15:41 -08:00
BrokenEagle f1bf1440b4 Don't save wiki page when notes value is null 2018-01-14 20:15:29 -08:00
BrokenEagle dd8d80eaf7 Updated tests for mod actions 2018-01-14 00:07:20 -08:00
BrokenEagle 85f04a826a Added additional mod actions 2018-01-14 00:07:20 -08:00
BrokenEagle fcdc61f111 Add search interface for mod actions 2018-01-14 00:07:16 -08:00
BrokenEagle 3c45273694 Add category for mod actions 2018-01-13 20:55:52 -08:00
BrokenEagle b9964e97a7 Don't log comment update action on delete 2018-01-13 20:42:07 -08:00
BrokenEagle 65eb94f8f9 Remove unused mod actions 2018-01-13 20:42:02 -08:00
BrokenEagle ba7fadf6e9 Fix missing controllers for search[id] 2018-01-13 10:01:57 -08:00
BrokenEagle 17ffc36b60 Fix fuzzy autocomlete results 2018-01-03 09:08:19 -08:00
BrokenEagle 2e6f216e10 Fix spacing issues on versions
- Removed pipe character '|' on post version standard listing
2018-01-02 22:50:25 -08:00
BrokenEagle 8f0e4398eb Fix metatags being treated as normal tags
- Add parent metatag defaults any and none
- Add missing user-based metatags to user source
- Remove all negative metatags since the prior code strips the '-'
2018-01-02 19:52:13 -08:00
BrokenEagle 613beee375 Differentiate version views with reversion links 2018-01-01 19:36:27 -08:00
BrokenEagle 36ef8b4db3 Initial add of IQDB standalone page 2017-12-30 00:11:08 -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
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
BrokenEagle d54b26c61d Convert tag category Javascript/CSS assets to ERB 2017-12-24 17:01:17 -08:00
BrokenEagle 7af1391902 Add autocomplete to wiki page versions 2017-12-21 10:25:16 -08: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
BrokenEagle 5a602c60eb Added option to make favorite groups public 2017-12-18 17:30:02 -08:00
BrokenEagle 118fd3baf4 Added list_of_* wikis to copyright related tag response 2017-12-18 15:36:08 -08:00
BrokenEagle 3b1fdc8cde Fixed incorrect showing of favorite groups 2017-12-18 12:17:18 -08:00
BrokenEagle 26c168bdcd Fixed incorrect showing of favorites
- Moved all favorite checking logic to same file
2017-12-18 12:17:17 -08: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
BrokenEagle f346d6e35d Fix deleted comments visibility on partial index by comment 2017-12-01 16:30:44 -08:00
BrokenEagle b325b85df3 Fixed so prior unread dmails won't cause notice to appear 2017-12-01 12:51:55 -08:00
BrokenEagle 956bd707a5 Add additional restrictions on updating deleted pools 2017-11-20 19:31:11 -08:00
BrokenEagle e312ae3d92 Added fix script to update the correct tagcount for all posts 2017-11-14 17:11:18 -08:00
BrokenEagle dc5fdf6893 TagCategory.header_mapping: fix incorrect comment. 2017-11-14 14:22:41 -06:00
BrokenEagle 63773fed6b Fixes #3366 2017-11-14 07:39:25 -08:00
BrokenEagle f91e11bb41 Moved input existence validations to client 2017-11-13 14:08:34 -08:00
BrokenEagle 8445a0c7ad Differentiate visible/hidden comments for moderators 2017-11-11 20:45:01 -08:00
BrokenEagle a591660b01 Fixed issue with $.localStorage returning non-keys in Firefox 2017-11-08 23:15:05 -08:00
BrokenEagle c9c70bbaa4 Fixed bug with related tag script 2017-11-08 10:23:16 -08:00
BrokenEagle 5b4ab8d80e Disallow a user from seeing flagger's name on own uploads 2017-11-08 00:37:16 -08:00
BrokenEagle 6838901aac Moved non-config tag category info to its own class 2017-11-07 16:21:29 -08:00
BrokenEagle 7cb45fc8d3 Added fifth tag category meta 2017-11-07 10:58:42 -08:00
BrokenEagle 1de8fd2bd6 Moved tag logic for Javascript to config file 2017-11-07 10:58:40 -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 9f4daf7d2f Allow metatag case switch to use regexes
- Fix errant tabspaces
2017-11-06 15:27:54 -08:00
BrokenEagle bdf5912dc9 Reduce tag config variables co-dependency 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
BrokenEagle 7805404b47 Use timeout on tag box cursor calculation 2017-10-19 09:34:24 -07:00
BrokenEagle 272617837c Substitute nonusable period in local storage saves 2017-10-17 22:54:13 -07:00
BrokenEagle 9945719517 Use current local storage size for pruning calculations 2017-10-17 18:40:19 -07:00
BrokenEagle 1410a8dae3 Added searchbox link to responsive view 2017-10-11 17:45:55 -07:00
BrokenEagle 216d43e35d Use window.screen for resizes instead 2017-09-28 13:00:28 -07:00
BrokenEagle 6f593de46d Resize images for mobile layout 2017-06-03 12:52:27 -07:00