2
0
mirror of https://github.com/moebooru/moebooru synced 2025-08-30 21:45:13 +00:00
Commit Graph

3867 Commits

Author SHA1 Message Date
edogawaconan
2d6da991fe Less cross-test thread variable pollution. 2014-12-06 01:09:26 +09:00
edogawaconan
af39d0718b Don't explode on nil. 2014-12-05 23:54:08 +09:00
edogawaconan
1ccb3c9d9c Compare date by its integer value. 2014-12-05 11:48:38 +09:00
edogawaconan
0ccdd15d4d FavoriteController is pretty much nonexistent anymore. 2014-12-05 11:48:20 +09:00
edogawaconan
ac0c62e6aa Replace dtext test with the new one. 2014-12-05 11:19:35 +09:00
edogawaconan
e147a685ec Fix test for CommentController. 2014-12-05 11:16:35 +09:00
edogawaconan
4fb71ed7e4 Remove test on disabled functionality. 2014-12-05 11:05:05 +09:00
edogawaconan
7e6092c398 Fix test for ArtistController. 2014-12-05 10:53:05 +09:00
edogawaconan
82c3195b81 Fix wording in Help: IRC. 2014-12-04 11:30:28 +09:00
edogawaconan
6691b9927f Fix test for Dmail model. 2014-11-23 13:09:44 +09:00
edogawaconan
152d317204 Count for https instead of just http.
Avoid generating link text starting with "/".
2014-11-22 23:55:56 +09:00
edogawaconan
08efa3ec77 Fix most(?) of deprecations in PoolController.
- add wrapper for sql generator thingy to match new rails
- fix old query syntax
2014-11-21 22:19:45 +09:00
edogawaconan
8aa26c2c2c Fix test for pool controller
- add js support for `access_denied`
- pool operations now require login
- append redirect url to login redirect expectation
- fix up deprecated queries
- sequence is now a string
2014-11-21 21:41:35 +09:00
edogawaconan
c12e4cfeec Fix code styling. 2014-11-21 12:00:27 +09:00
edogawaconan
8be331634d PostTagHistory has been replaced by History. 2014-11-21 10:58:38 +09:00
edogawaconan
a2176710cc Fix cache helper test.
Previously disguised as "ApplicationTest" in "models".
2014-11-21 10:46:20 +09:00
edogawaconan
2dbb81b82f Fix test for PostController.
Refactor while at it.
2014-11-21 02:01:36 +09:00
edogawaconan
4effedb540 Fix test for PostTagHistory (which seems useless). 2014-11-21 01:00:28 +09:00
edogawaconan
809561fbae Fix test for Note model. 2014-11-20 23:47:58 +09:00
edogawaconan
55c4a0670a Fix up deprecated queries. 2014-11-20 23:08:37 +09:00
edogawaconan
470e718bd4 Remove test for long-removed pool slave/master system. 2014-11-20 23:05:55 +09:00
edogawaconan
efe3295076 Fix query for counting. 2014-11-20 23:05:39 +09:00
edogawaconan
2ed45c1a34 Fix test for report controller. 2014-11-20 22:32:05 +09:00
edogawaconan
de1142cc89 Clear out most of deprecations in tag controller. 2014-11-20 22:26:28 +09:00
edogawaconan
aa2a6c6f2b Set current user before creating post.
When creating post with tag.
2014-11-20 22:22:32 +09:00
edogawaconan
c9d05c3d80 Don't explode on incorrect user_id in test. 2014-11-20 22:22:14 +09:00
edogawaconan
46bb1358ab Green up UserController and fix deprecations. 2014-11-20 21:49:41 +09:00
edogawaconan
ee24d7de20 Modernise user#show_blocked_users action. 2014-11-20 21:21:21 +09:00
edogawaconan
9877fd1daf Favorite tags has been long removed.
In favor of tag subscription.
2014-11-20 20:10:03 +09:00
edogawaconan
6034d76731 Fix all deprecations related to test/models/post_test.rb. 2014-11-20 19:20:11 +09:00
edogawaconan
90f2ada601 Simplify logic. 2014-11-20 19:14:04 +09:00
edogawaconan
973c5b084b Remove :mystery: query cache cleaner. 2014-11-20 19:05:06 +09:00
edogawaconan
10a6fe1737 Remove enable_caching variable, allow env-based memcache server settings. 2014-11-20 17:50:48 +09:00
edogawaconan
d6caa3925a Ignore generated translations.js. 2014-11-20 17:50:48 +09:00
edogawaconan
b1281388ab Missing require keyword. 2014-11-20 17:50:48 +09:00
edogawaconan
20081ac89e Accidentally committed experimental code. 2014-11-20 17:50:48 +09:00
edogawaconan
f40efa2df2 Update to slightly modern rails idiom. 2014-11-20 17:50:48 +09:00
edogawaconan
772d26b08d Downgrade structure dump to PostgreSQL 9.1. 2014-11-20 17:50:48 +09:00
edogawaconan
cf1801da37 Sort variable names. 2014-11-20 17:50:47 +09:00
edogawaconan
fd6b97a241 Accepts "MB_DATABASE_URL" to set database connection. 2014-11-20 17:50:47 +09:00
edogawaconan
c6055a04b5 Don't explode on nil. 2014-11-20 17:50:47 +09:00
edogawaconan
5cdd1672e5 Make local_config optional.
Stuff will break, etc.
2014-11-20 17:50:47 +09:00
edogawaconan
c5e0f4bfe2 Wrong class name. 2014-11-20 17:50:47 +09:00
edogawaconan
bcb28996e6 Readd all fixtures. 2014-11-20 17:50:47 +09:00
edogawaconan
889b5ef598 Add required helper. 2014-11-20 17:50:47 +09:00
edogawaconan
63de7ac9a7 Remove ancient test_parser initialization. 2014-11-20 17:50:47 +09:00
edogawaconan
005de0bbda Fixtures are kind of broken right now. 2014-11-20 17:50:47 +09:00
edogawaconan
c5bf39afab No need to specify full path of test_helper anymore. 2014-11-20 17:50:47 +09:00
edogawaconan
06175f6c3a Move test tructure to the latest version.
- `unit` becomes `models`
- `functional` becomes `controllers`
2014-11-20 17:50:47 +09:00
edogawaconan
af6b17324d Fix minimagick/imagemagick version checker. 2014-11-20 17:50:47 +09:00