Commit Graph

99 Commits

Author SHA1 Message Date
Robin Liao
851ff11576 Need to provide methods so we can identify when we're using the fallback method, and adjust tests accrodingly 2011-09-03 04:48:51 -07:00
albert
4265408581 fix tests 2011-08-23 17:22:38 -04:00
albert
c8067a4691 fixing jobs 2011-08-15 19:41:50 -04:00
albert
c078178fc4 added whenever (cron replacement), fixed related tag calculation updates (now delayed), tag subscriptions now calculated on cron 2011-08-05 19:07:28 -04:00
albert
e106f70b6d * Removed memcaching for TagImplication (too many latent race conditions)
* Added Post.exact_tag_match to skip normalization/metatag parsing
* Added DelayedJob support for tag alias/implication processing
2011-08-04 19:54:13 -04:00
albert
3e2b2e7418 added new tag batch change model 2011-08-03 18:32:57 -04:00
albert
04103c3352 added invites 2011-07-29 19:42:25 -04:00
albert
c8afd34d15 added ip addr search 2011-07-29 18:04:50 -04:00
albert
5da43c54f0 fixed all tests 2011-07-22 19:25:56 -04:00
albert
d0e8084f0f implemented moderator dashboard queue 2011-07-22 17:34:43 -04:00
albert
72e9da01b5 fixing functional tests 2011-07-17 16:42:26 -04:00
albert
469ae14805 fixed tests, implemented sql based partitioning for favorites 2011-07-16 20:16:34 -04:00
albert
fc9755b748 fixed unit tests 2011-07-16 19:30:42 -04:00
albert
58c3d2af13 fixing tests 2011-07-16 19:20:02 -04:00
albert
033f0fc266 added wiki page post set test 2011-06-11 17:29:55 -04:00
albert
1a303fd3db added tests for post sets 2011-06-11 17:05:46 -04:00
albert
ca7afc10be revamped pool tests 2011-06-10 01:02:09 -04:00
albert
f67374da83 * Some major bug fixes related to post sets. Tests for pools and favorites were added.
* Refactored the favorites code a bit. Adding a favorite from either an user or a post now works and will update all necessary records.
2011-06-07 19:06:39 -04:00
albert
49b3d43ddd * meta_search now pulls directly from GitHub
* Updated gems
* [inprogress] New pagination helpers used instead of pagination presenters
* [inprogress] Favorites refactored to use ActiveRecord
* [inprogress] PostSets refactored to use a decorator/dependency injection pattern
* [inprogress] Made pool/post interaction more robust
* Pool#posts now returns an ActiveRelation object
* Fixed unit tests
2011-06-07 17:34:09 -04:00
albert
435d3bf6e2 fixed user tests 2011-06-05 04:05:21 -04:00
albert
158810d9f0 fixed comment test 2011-05-16 09:27:06 -04:00
albert
c348f6118f copied over download.rb changes from oldbooru 2011-04-08 13:18:22 -04:00
albert
aee5cf0aa1 fixed unit tests 2011-03-30 15:11:22 -04:00
albert
f749e82da9 post appeal test 2011-03-30 14:22:36 -04:00
albert
a871b425f6 added post flag test 2011-03-30 14:13:42 -04:00
albert
f9c961cdc6 * Removed unapprovals, added post flags and post appeals (still need to update tests)
* Restyled text
2011-03-28 18:48:02 -04:00
albert
90a41a334b separated pool/post updates; fixed unit tests 2011-03-13 17:49:34 -04:00
albert
9e7efbd295 stubbed in view code from old danbooru; only janitors can lock a wiki page 2011-02-28 14:18:39 -05:00
albert
6d0157265c pool views 2011-02-25 17:41:00 -05:00
albert
f48000a8b5 got rid of removedpost, restore classic is_deleted mechanics 2011-02-12 17:37:48 -05:00
albert
c80df378d8 fixed tests 2011-02-02 16:55:36 -05:00
albert
c0968ec5e3 tag subscriptions 2011-01-30 02:24:47 -05:00
albert
2053e6ad8c * Renamed Post.find_by_tags into Post.tag_match, made into a full fledged scope
* Post.tag_match no longer takes an options hash (use other arel builders instead)
2011-01-28 17:40:22 -05:00
albert
7051b016f5 added revert methods for post 2011-01-26 18:26:32 -05:00
albert
f7e2344b9f * Reworked how post versioning works, now more closely resembles the 1.18 strategy 2011-01-26 18:10:49 -05:00
albert
683d4583ac * Added note version controller and test
* Added pool version controller and test
* Refactored unit tests for post disapprovals
* Renamed PostModerationDetail to PostDisapproval
2011-01-25 18:13:05 -05:00
albert
c5a9067e72 fixed unit tests 2011-01-22 03:01:15 -05:00
albert
3d5873c182 some fixes to janitor trials, implemented jan trial controller test 2011-01-14 16:45:10 -05:00
albert
dceda1b073 added ip bans controller 2011-01-14 15:50:17 -05:00
albert
d6f1d09da0 deleting a forum topic should delete its posts 2011-01-12 18:06:46 -05:00
albert
668fbab77a * Updated gemfile
* Added forum post/topic unit tests
* Added forum post/topic controller tests
2011-01-12 18:00:07 -05:00
albert
46164eab4f finished dmails and favorites functional tests 2010-12-05 22:27:45 -05:00
albert
f8ab736677 fixed tests 2010-11-19 17:20:13 -05:00
albert
c6304c6e08 views 2010-11-19 16:24:17 -05:00
albert
f3b4312ef3 * Refactored post history. Each post now has a single history record. This history record has multiple revisions, serialized as JSON in a text field. 2010-11-06 03:08:27 -04:00
albert
6076788d60 * Approvers can no longer approve an unapproved post if they previously approved it 2010-11-04 18:31:36 -04:00
albert
551c25909c * Denormalized post versions. Testing has shown it reduces the size
of the table 66%.
2010-11-04 18:17:03 -04:00
albert
fc0a076aca * Missing files
* Work on post exploration code by traversing dates
2010-10-27 20:16:43 -04:00
albert
857379fadf * Added post voting (partial)
* Fixed jrails
* Added header to comment/index
* Post votes now store the score
2010-10-27 19:23:53 -04:00
albert
1c9d8c37c7 Fixed some major bugs with implications, cleaning up the cache
expiration process and adding some additional tests.

Cleaned up the unit tests.  They should all run cleanly with rake
test:units now.
2010-10-27 16:56:12 -04:00