Commit Graph

811 Commits

Author SHA1 Message Date
Marcin Kurczewski
c7250ae0a9 Improved thumbnail generating
- Moved thumbs folder to public_html/
- Users can supply custom thumbs of any size and the system will treat
  them like normal image
- Removed distinction between various thumb sizes in file system
- Introduced custom rewrite rule, which isn't exactly good-looking, but
  its benefits far outweigh its shortcomings
- Loading up to 75 times faster (was: 100-300ms, is: 4-10ms on my
  machine) thanks to removal of PHP proxying
2014-05-14 23:44:48 +02:00
Marcin Kurczewski
27ddf6f59f Changed versioning system 2014-05-14 20:31:34 +02:00
Marcin Kurczewski
66039e56a6 Added information about post space usage 2014-05-14 20:08:07 +02:00
Marcin Kurczewski
d082d74716 Added information about memory usage to footer 2014-05-14 19:38:42 +02:00
Marcin Kurczewski
1bc219a162 Added job for property reading 2014-05-14 19:14:16 +02:00
Marcin Kurczewski
700f2bc8ae Added method filter support to test runner 2014-05-14 19:14:16 +02:00
Marcin Kurczewski
95e37e55eb Restored support for anonymous setting changes 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
087d50f61b Fixed isNull in assert 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
2e12e4f39d Added jobs for user settings manipulation 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
b811e76318 Moved user settings to separate class 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
331691e332 Fixed constructing job file list in tests 2014-05-14 19:06:42 +02:00
Marcin Kurczewski
186a680e98 Added "sort:" keyword in search 2014-05-14 19:06:42 +02:00
Marcin Kurczewski
a99e0d93f0 Added tests for post list sort styles 2014-05-14 19:06:42 +02:00
Marcin Kurczewski
a2507370cc Fixed thumb generating
New thumbs worked only after refreshing the page and showed placeholder
thumb prior to that. Now they load correctly without need to reload.
2014-05-13 21:21:24 +02:00
Marcin Kurczewski
a38b280098 Reorganized tests file structure 2014-05-13 21:16:28 +02:00
Marcin Kurczewski
bca92f1f71 Added more unit tests, refactored test support 2014-05-13 21:10:37 +02:00
Marcin Kurczewski
6ce47ec2a7 Changed post type aliases in post search 2014-05-13 19:13:22 +02:00
Marcin Kurczewski
dcd2c8aa06 Added post content existence validation 2014-05-13 19:11:21 +02:00
Marcin Kurczewski
561ebd5508 Made ARG_QUERY optional 2014-05-13 19:11:21 +02:00
Marcin Kurczewski
ae12fdeaec Changed logger so it avoids blank lines 2014-05-13 19:11:21 +02:00
Marcin Kurczewski
d30dd3c05a Fixed JobPager - returns integers, not floats 2014-05-13 19:11:21 +02:00
Marcin Kurczewski
4b907f6121 Added missing property definitions 2014-05-13 14:00:25 +02:00
Marcin Kurczewski
6399afd799 Added more unit tests 2014-05-13 00:02:25 +02:00
Marcin Kurczewski
5d9513bac0 Modified post path management 2014-05-13 00:01:28 +02:00
Marcin Kurczewski
5514ed4fd6 Fixed exception throw in UserModel 2014-05-12 23:04:35 +02:00
Marcin Kurczewski
b8bb2c865e Moved setRelationsFromText logic to controller 2014-05-12 22:39:14 +02:00
Marcin Kurczewski
4395087a7c Fixed confirming user registration by staff 2014-05-12 20:10:19 +02:00
Marcin Kurczewski
d8808df091 Fixed canEditAnything method in EditUserJob 2014-05-12 19:39:58 +02:00
Marcin Kurczewski
3cd07a38ca Fixed password reminder 2014-05-12 19:30:16 +02:00
Marcin Kurczewski
a89eb97c9d Added protection against 2 users having same mail 2014-05-12 19:17:53 +02:00
Marcin Kurczewski
96ebd2c89f Fixed entity retrievers 2014-05-12 19:00:04 +02:00
Marcin Kurczewski
3596a8cdc7 Fixed tag renaming 2014-05-12 18:30:31 +02:00
Marcin Kurczewski
8e465720bc Fixed mass tag and tag renaming 2014-05-12 18:00:24 +02:00
Marcin Kurczewski
098f11bd09 Increased API readability
- Removed Abstract*Job hierarchy
- Introduced EntityRetrievers
- Introduced JobPager
- Moved files around
2014-05-12 18:00:24 +02:00
Marcin Kurczewski
484adbbf49 Added argument checking system 2014-05-12 15:15:50 +02:00
Marcin Kurczewski
0e6ed74682 Fixed post safety user settings 2014-05-12 15:15:50 +02:00
Marcin Kurczewski
c377ac8216 Removed unused classes 2014-05-12 14:47:44 +02:00
Marcin Kurczewski
6f6ce2ad24 Removed unused method 2014-05-12 14:47:44 +02:00
Marcin Kurczewski
20ad5da89a Fixed mass tag redirect 2014-05-12 00:22:02 +02:00
Marcin Kurczewski
4ba83e6834 Changed job arguments convention back
Restored JobArgs approach. Previous introduction of hierarchic argument
definitions has backfired: it was confusing what class to take arguments
from, the concept of sharing arguments between different jobs was
unintelligible and one never knew where given argument was actually
defined.

This appraoch makes it easier to maintain the arguments list and
simplifies the code a lot.
2014-05-12 00:13:18 +02:00
Marcin Kurczewski
8aa499a0b9 Fixed automatic featuring post
- Fixed main page view
- Code moved from StaticPagesController to PostModel
- Code split into semantically meaningful methods
- Allowed anonymous featuring through API
- Added protection against automatic featuring of hidden post
2014-05-11 23:43:35 +02:00
Marcin Kurczewski
6b40d6be7e Fixed assert error message; added new method 2014-05-11 23:39:00 +02:00
Marcin Kurczewski
72821157dd Fixed most used tag retrieving 2014-05-11 21:57:41 +02:00
Marcin Kurczewski
9cc8d03376 Finished token validation 2014-05-09 21:29:16 +02:00
Marcin Kurczewski
9882e84aa6 Finished user validation; increased readability 2014-05-09 21:23:54 +02:00
Marcin Kurczewski
ad7cdcb7fe More unit tests 2014-05-09 21:08:34 +02:00
Marcin Kurczewski
26e27e3339 Ban job returns user 2014-05-09 21:08:34 +02:00
Marcin Kurczewski
39f49fc539 Fixed post score validation 2014-05-09 21:08:34 +02:00
Marcin Kurczewski
343268d029 Improved model performance a little bit 2014-05-09 21:08:33 +02:00
Marcin Kurczewski
8ee80ea170 Continued work on getter/setters: post cached keys 2014-05-09 20:29:14 +02:00