Commit graph

690 commits

Author SHA1 Message Date
Marcin Kurczewski
9f57b16d76 Changed user list a bit 2014-05-18 21:59:57 +02:00
Marcin Kurczewski
33b2bb1b20 Fixed privacy policy 2014-05-18 21:59:57 +02:00
Marcin Kurczewski
e9f3a8bf86 Newest chibi-core 2014-05-18 21:59:57 +02:00
Marcin Kurczewski
794d0497c8 Fixed plural in footer 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
b185b098d0 Fixed upload filename align; changed form controls 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
fc07bb590a Fixed long tag names appearance in post view 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
ed74a9f470 Fixed scripts
I haven't updated these in a loooong time...
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
9f99ccd78f Restricted some jobs from public execution 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
9e756e28e4 Continued work on documentation 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
2a7b7e7ac2 Fixed assert 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
de078677fe Reduced job hierarchy 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
ee3f2ca9d3 Added help to test runner 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
f20ed1d3d6 Fixed comment previews 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
538c5054d6 Fixed youtube uploads 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
c15f59db39 Grouped views into file hierarchy 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
53f4d77ff3 Increased readability 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
c501ccdff1 Fixed issues with variable types
- False booleans were serialized as NULLs, which lead to problems with
  queries like 'SELECT ... WHERE NOT x'
- Fixed anonymous uploads
- More robust integer and boolean parsing in jobs
2014-05-18 21:32:47 +02:00
Marcin Kurczewski
2a6f047c28 Removed ?json in favor of X-Ajax 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
aa20b81229 Enhanced support for MySQL 2014-05-17 00:02:02 +02:00
Marcin Kurczewski
3f93973a12 Added support for MySQL in test runner 2014-05-17 00:02:02 +02:00
Marcin Kurczewski
e84f8096bd Removed legacy functions 2014-05-17 00:02:01 +02:00
Marcin Kurczewski
22b18bfbc9 Refactored TestRunner and core 2014-05-15 09:50:54 +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
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