Commit Graph

205 Commits

Author SHA1 Message Date
Kira
804903c67d [BUR] Improve some bur error reporting 2020-07-12 22:53:02 -07:00
Kira
621df484f5 Clean up dead db tables 2020-01-12 18:41:07 -08:00
Kira
15923af4ba Add janitor selectable background color per image 2019-12-31 10:19:11 -08:00
Kira
32f0266481 Add wiki edit reason 2019-11-15 20:00:54 -08:00
Kira
df2c76226b Add link to artist note changes to history 2019-10-13 16:47:48 -07:00
Kira
f8b339b3b0 Add reason to post versions 2019-10-06 07:34:29 -07:00
Kira
d378887d25 Add tag relationship reason 2019-10-06 00:59:19 -07:00
Kira
fa4a51d81b Add tag alias undo support 2019-10-03 06:26:25 -07:00
Kira
5a133e1643 Add lore tag category 2019-09-24 17:04:46 -07:00
Kira
e074080ade Potentially fix vote cheating 2019-09-19 14:41:55 -07:00
Kira
bb9e30dc74 Remove user inviter system 2019-09-16 13:50:47 -07:00
Kira
6127ea6d25 Initial comment hide vs delete distinction 2019-09-06 07:01:37 -07:00
Kira
532e2c1e04 Update to rails 6 2019-08-28 21:50:40 -07:00
Kira
834d837572 Minor fixes for sets pages. 2019-08-28 19:03:39 -07:00
Kira
4fe2e02fa4 Make user_id column unique on user_statuses 2019-08-27 15:44:23 -07:00
Kira
41e1a1a0f7 Add change_seq support 2019-08-15 07:34:11 -07:00
Kira
9721705b64 Add permabans, for those special individuals that need them 2019-08-10 00:22:34 -07:00
Kira
1861441100 Add post status below post on index pages 2019-08-03 19:00:58 -07:00
Kira
1d09ff5440 Clarify flags from deletions in the deletion/flag log 2019-08-01 14:49:58 -07:00
Kira
e0f1d69ead Allow turning off throttles during testing 2019-07-19 03:48:16 -07:00
Kira
4fb3c9fedb Add some cheap exception logging until something better is made 2019-07-17 14:40:03 -07:00
Kira
7b750ac862 Descriptions on posts 2019-07-14 06:24:52 -07:00
Kira
0715b0c251 Add species and invalid tag types 2019-06-23 00:27:33 -07:00
Kira
583cd7e20d Make password resets closer to old e6 password resets 2019-06-12 21:39:45 -07:00
Kira
d21e36073b Remove cached counters from user model and update references 2019-06-04 11:51:23 -07:00
Kira
621148b097 Update more stuff to go in the user status table. 2019-06-04 05:56:20 -07:00
Kira
05e4736bb5 User different table for cached counters
This does not make the required changes to redirect to these
new properties yet.
2019-06-02 07:49:38 -07:00
Kira
7aaa36282d Fix bad migration of pool versions 2019-05-21 22:39:08 -07:00
Kira
5d8494caac Replace post archive service with inline code 2019-05-10 16:08:08 -07:00
Kira
25f8222d2c Add avatar to user class
This also updates the supporting code to enable dumping deferred
post information to the page, which was partially broken in a
previous commit.
2019-04-30 06:50:43 -07:00
Kira
128428f879 Add user profile info
Possible improvements:
 - Lock commission information to users linked to artists.
   (Currently not implemented.)
2019-04-28 06:59:29 -07:00
Kira
06db14aceb Add simple versioning replacement
This replaces the old simple versioning helper that existed on
e621. The implementaiton is roughly the same but has been updated
to use newer rails methods.

No, it's not very flexible, but it didn't need to be.
2019-04-27 11:28:02 -07:00
Kira
8698bd4e39 Support for access locked forum categories 2019-04-21 20:32:11 -07:00
Kira
4673523607 Update storage of mod actions to json for potential search abilities 2019-04-14 02:34:04 -07:00
Kira
779f30b6bd Preliminary mod action decorator and structure 2019-04-14 02:30:01 -07:00
Kira
86adf1eea4 Add fix up post disapproval things after revert 2019-04-11 23:46:34 -04:00
Kira
44ab7b1a8c Comment votes and vote fixups and interface 2019-04-09 13:04:40 -07:00
Kira
d9f5dcd4ce Tag type restrictions and history 2019-04-03 18:56:47 -07:00
Kira
99f8e9addd Moved favs/voting out into managers to consolidate logic
While the logic was not particularly complex or spread out it was
made more complicated by the models being dependant on one another.

This creates a central entry point for voting and favorites and
coordinates all transactions.

TODO: upvote/downvote/fav metatags in tag section result in an error
because they attempt to change the transaction isolation mode during
an outer transaction.
2019-03-31 13:25:55 -07:00
Kira
45394916d8 Sets 2019-03-23 00:40:44 -07:00
Kira
b5db278311 Test and bring tickets closer to completion
Add links to report items to all of the reportable areas of the
site.

Fix a lot of errors surrounding views and bad expectations from
the old codebase.

Change how dmails can be viewed to match the old logic. This prevents
users from creating links to their own dmails that can be shared with
moderators, and instead forces them to be reported.

Sets are still not implemented, so the reporting area for them has
not been tested or revised. That will happen at a later phase when
sets go in.
2019-03-14 19:10:33 -07:00
Kira
6f1d47c10b Add ticket infrastructure. 2019-03-13 14:04:59 -07:00
Kira
bc1218044c Blips 2019-03-01 08:44:29 -08:00
Kira
118459af1b Takedowns 2019-02-23 08:45:10 -08:00
Kira
8126c9ef52 Remove post disapprovals table
Also fix a dumb mistake with approvals.
2019-02-19 20:44:45 -08:00
Liam P. White
47d1e4fc20 Coalesce favorites tables 2019-02-19 22:39:57 -05:00
Kira
43cad3f5e7 Remove post banning functionality
The distinction between file deletion and banning is pretty weird
and there are a bunch of edge cases that make this not worth
trying to maintain a distinction.

Left in the automatic implication code on banned artists because
it looked useful for automating some of the basic tasks that are
done surrounding DNP artists.
2019-02-14 01:44:54 -08:00
Kira
e42cf5ec1e Update SQL structure 2019-02-13 20:08:20 -08:00
Albert Yi
a15b13567d db structure update 2019-01-28 17:28:11 -08:00
evazion
80f43f9a7c Fix #4038: Attempting to create an IP-ban bans the creator.
* Rename comments.ip_addr to comments.creator_ip_addr.
* Fix belongs_to_creator to not clobber ip_addr field.
2019-01-09 16:20:34 -06:00