Marcin Kurczewski
50e4b40721
Upgraded to newest chibi
...
- Separate non-static router class
- Moved some setup code to new method, Core::init
- Persistent database connection between tests
2014-05-23 23:34:50 +02:00
Marcin Kurczewski
8e6e0c7846
Fixed mass tag
2014-05-23 07:40:43 +02:00
Marcin Kurczewski
c9903086fb
Simplified error intercepting in controllers
2014-05-20 23:12:24 +02:00
Marcin Kurczewski
8e39f08cf5
Fixed exception handling
2014-05-20 23:12:24 +02:00
Marcin Kurczewski
ef4ba5a348
Added ability to access posts using their hashes
2014-05-20 23:12:24 +02:00
Marcin Kurczewski
e3617434e6
Added AJAX wrappers to a few forms
2014-05-20 23:12:24 +02:00
Marcin Kurczewski
bba35875a3
Added HTTP status codes to exception interceptors
2014-05-20 23:01:10 +02:00
Marcin Kurczewski
fee19c61bc
Added support for custom avatars
2014-05-20 23:00:25 +02:00
Marcin Kurczewski
e12308d3cc
Changed thumb to thumbnail for consistency
2014-05-20 23:00:24 +02:00
Marcin Kurczewski
65e909d053
Refactored form rendering
2014-05-20 23:00:24 +02:00
Marcin Kurczewski
7609cbcccf
Merged mass tag and post list redirection
2014-05-19 09:24:15 +02:00
Marcin Kurczewski
acbd45d530
Fixed mass tag
2014-05-19 01:04:22 +02:00
Marcin Kurczewski
837c04c400
Fixed handling errors
2014-05-19 00:53:59 +02:00
Marcin Kurczewski
79f9ab9950
Fixed double (and sometimes triple) slash in URLs
2014-05-18 21:59:57 +02:00
Marcin Kurczewski
9f99ccd78f
Restricted some jobs from public execution
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e59b7e8b7b
Refactored privilege system a bit
...
- Jobs specify main privilege and sub privileges separately
Rationale: increase maintenance, restrict what can be done runtime
- Renamed ChangeUser* to EditUser* (consistency with EditPost*)
- Simplified enum names and configuration reading
- IJob interface members must be explicitly implemented
Rationale: reduce chances of forgetting something, or typos in
inherited method names
- Invalid privileges names in configuration yield exceptions
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
634d0061d4
Added API documentation prototype
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
03a6809510
Added API controller
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e95b8d93d8
Simplified view management
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
0aa75704a2
Fixed tag autocompletion
2014-05-18 21:32:47 +02:00
Marcin Kurczewski
5f246d7a51
Improved support for no Javascript
2014-05-18 21:32:47 +02:00
Marcin Kurczewski
f20ed1d3d6
Fixed comment previews
2014-05-18 21:32:47 +02:00
Marcin Kurczewski
a4f7c80fe2
Added HTTP error support
2014-05-17 00:02:02 +02:00
Marcin Kurczewski
e84f8096bd
Removed legacy functions
2014-05-17 00:02:01 +02:00
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
66039e56a6
Added information about post space usage
2014-05-14 20:08:07 +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
b8bb2c865e
Moved setRelationsFromText logic to controller
2014-05-12 22:39:14 +02:00
Marcin Kurczewski
96ebd2c89f
Fixed entity retrievers
2014-05-12 19:00:04 +02:00
Marcin Kurczewski
8e465720bc
Fixed mass tag and tag renaming
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
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
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
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
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
c005da2e6d
Refactored post content edit jobs; added unit test
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
7df8a6fa3b
Continued work on getter/setters: entity IDs
2014-05-07 17:58:18 +02:00
Marcin Kurczewski
b885411b2e
Encapsulated a few entity getters and setters
2014-05-05 17:47:30 +02:00
Marcin Kurczewski
d3beb8bc53
Implemented new enums
2014-05-05 17:47:30 +02:00
Marcin Kurczewski
458aac971d
Removed trash HTML
2014-05-05 17:47:30 +02:00
Marcin Kurczewski
67e4272f3e
Changes to privilege system
2014-05-05 17:47:30 +02:00