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
Marcin Kurczewski
a14afd8e27
Improved names of entity retrieval methods
2014-05-08 08:54:53 +02:00
Marcin Kurczewski
e4ee4589a8
Fixed/refactored tag validation
2014-05-08 08:54:53 +02:00
Marcin Kurczewski
acf8cf28e8
Made anonymous upload parameter optional
2014-05-08 08:54:48 +02:00
Marcin Kurczewski
20ee47e596
Continued work on getter/setters: staff confirm
2014-05-07 21:30:38 +02:00
Marcin Kurczewski
16942d9d19
Continued work on getter/setters: timestamps
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
a619662585
Continued work on getter/setters: post file stats
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
c4bcc4b85b
Continued work on getter/setters: post names
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
878079030d
Continued work on getter/setters: post uploaders
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
8d8e92b84e
Continued work on getter/setters: post visibility
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
75704ef0da
Continued work on getter/setters: post dimensions
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
509bf44619
Continued work on getter/setters: post sources
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
329f6a0259
Fixed account activation links
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
1bbba5de3c
Fixed displaying errors in registration page
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
323138bd98
Fixed issues with logging
...
- Fixed log file name template
- Fixed buffering changes when running add/edit jobs in batch
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
404bd979f4
Fixed issues with confirmation e-mails
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
e152c9baca
Fixed multiple problems with user jobs
2014-05-07 21:30:37 +02:00
Marcin Kurczewski
ea87bab896
Fixed comment preview
2014-05-07 17:58:24 +02:00
Marcin Kurczewski
410237d678
Better privilege checking for batch operations
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
cd437ca036
Fixed move_uploaded_file bullshit
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
42b8049ae5
Fixed privileges in user view
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
e610963d4b
Fixed post scoring privileges
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
c8e9804a15
Changed privilege tests to be more generic
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
0ea81b8f69
Added single argument setter to jobs
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
875eeaf4d4
Fixed privileges for some user jobs in API
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
2e6687329b
Refactored test system to be object-oriented
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
c005da2e6d
Refactored post content edit jobs; added unit test
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
431d881962
Added data cleanup after each test run
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
a8be3a8bce
Added post source editing unit test
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
1600589793
Moved max post source length to config
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
440f7140ff
Fixed number padding in test runner
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
b7a42d9f6a
Fixed privileges for some jobs
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
26f2c46e5b
More restrictive privilege system
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
04481122ce
Improved test environment sandboxing
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
2f54ee75b7
Organized tests file structure
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
eebb862332
Fixed hardcoded post permalink syntax
2014-05-07 17:58:23 +02:00
Marcin Kurczewski
8009c16f0c
Refactored comment model, fixed anonymous previews
2014-05-07 17:58:22 +02:00
Marcin Kurczewski
fb7119b235
Fixed comment tests
2014-05-07 17:58:22 +02:00
Marcin Kurczewski
7df8a6fa3b
Continued work on getter/setters: entity IDs
2014-05-07 17:58:18 +02:00
Marcin Kurczewski
878f09ad0d
More options to run-all.php
...
Gotta document these some day
2014-05-05 18:03:54 +02:00