Commit graph

674 commits

Author SHA1 Message Date
Marcin Kurczewski
ea4c7fac6e Added script for CLI post search
Other updates include removing unnecessary context retrieval and making post
query builder CLI friendly.
2013-10-30 22:47:33 +01:00
Marcin Kurczewski
1714e9e665 Added support for post relations 2013-10-30 20:20:01 +01:00
Marcin Kurczewski
157572d9ca Fixed post deletion
When post was deleted foreign keys in corresponding comments weren't NULLified.
2013-10-30 17:06:35 +01:00
Marcin Kurczewski
19eea1e5b6 Login form: checkbox works when clicking text 2013-10-30 16:53:25 +01:00
Marcin Kurczewski
b7084d61ae Closed #51 - anonymous uploads; simplified JS 2013-10-30 16:51:22 +01:00
Marcin Kurczewski
36caef3831 Tag list respects safety settings 2013-10-30 16:22:46 +01:00
Marcin Kurczewski
e0c4c28e70 Micro optimizations for tag list 2013-10-29 23:21:41 +01:00
Marcin Kurczewski
96d994eeea CSS enhancements for focused elements 2013-10-29 23:01:02 +01:00
Marcin Kurczewski
bc43883339 Closed #54 - added mass tag
- Moved tag forms to separate files
- Tag forms got tag autocompletion
2013-10-29 23:00:21 +01:00
Marcin Kurczewski
cf1b5837a7 Reduced thumbnail size (PNG->JPG) 2013-10-29 09:27:02 +01:00
Marcin Kurczewski
3130a66ad3 Fixed browsing settings 2013-10-28 12:58:18 +01:00
Marcin Kurczewski
e2e9d9bf13 Fixed default safety 2013-10-28 11:26:45 +01:00
Marcin Kurczewski
9e6716021a Models: enhanced entities filtering 2013-10-28 11:24:11 +01:00
Marcin Kurczewski
49b91b7f55 Fixed (un)banning users (missing column in DB) 2013-10-27 23:23:48 +01:00
Marcin Kurczewski
2aaafcd0de Updated help 2013-10-27 23:22:37 +01:00
Marcin Kurczewski
24f5024db3 Fixed tag autocompletion
It yielded too many results in some cases.
2013-10-27 23:14:48 +01:00
Marcin Kurczewski
e346a8e57c Added new search keywords
- tagmin, tagmax
- commentmin, commentmax
2013-10-27 23:02:15 +01:00
Marcin Kurczewski
558f8f42c8 Closed #55 2013-10-27 22:55:14 +01:00
Marcin Kurczewski
c4d5263422 Next/prev post navigation respects safety settings
Before change this setting was either ignored or errors were shown if users was
unable to view given post.
2013-10-27 20:51:03 +01:00
Marcin Kurczewski
3f3024d6ac Added avatars for unknown users 2013-10-27 20:46:10 +01:00
Marcin Kurczewski
b55a8f1dce Closed #52 - fixes for anonymous accounts
- Anonymous account is no longer created when commenting/uploading
- Anonymous users can now switch safety, if it's available
- Anonymous users can delete their own posts
- Refurbished session and logging in/out mechanism
- Possible fixes for registration/activation/account deletion issues
2013-10-27 20:39:32 +01:00
Marcin Kurczewski
f726690ea3 Closed #53 2013-10-27 19:32:48 +01:00
Marcin Kurczewski
0d360d525e SWF thumbnails: support for gnash
Swfrender produced mostly black squares. Gnash handles SWF files much, much
better than swfrender.
2013-10-27 19:27:25 +01:00
Marcin Kurczewski
d92d49d60d Posts: clickable source links; "unknown" if empty 2013-10-26 12:30:17 +02:00
Marcin Kurczewski
35146e9587 Markdown: refurbished link parsing
- Added parsing of plain links in Markdown
- Linking with []() syntax should no longer produce relative links
2013-10-26 12:26:22 +02:00
Marcin Kurczewski
cf749aa5fd Version upgrade (0.2.0) 2013-10-25 22:10:36 +02:00
Marcin Kurczewski
0712f15ee4 Closed #50 2013-10-25 17:25:05 +02:00
Marcin Kurczewski
db180376d4 Better help 2013-10-25 17:20:11 +02:00
Marcin Kurczewski
c662d52d62 Closed #34
Introducing keyboard shortcut.
Every page:
[Q] - focus search
[W] - scroll up
[S] - scroll down
Post:
[A] - next post
[D] - previous post
[E] - edit post

Also, when clicking on post edit, browser is scrolled to the form.
2013-10-25 15:41:09 +02:00
Marcin Kurczewski
febf22a667 Various fixes
- Upload form: outlook
- Upload form: removed no files warning
- Upload form: fixed pasting empty text
- Forms: width of form elements
- Users: restored missing stylesheet
2013-10-25 14:57:04 +02:00
Marcin Kurczewski
7d6bab9590 Fixed ce302c438d 2013-10-25 13:20:57 +02:00
Marcin Kurczewski
2279e5605b Closed #37 2013-10-25 13:18:03 +02:00
Marcin Kurczewski
4ecb3f3b81 Fixed updating safety settings 2013-10-25 11:55:03 +02:00
Marcin Kurczewski
89826a0be9 Closed #49 2013-10-25 09:59:46 +02:00
Marcin Kurczewski
d3eaf27bdc Closed #36 2013-10-25 09:59:42 +02:00
Marcin Kurczewski
b5070e06fe Fixed thumbnail generating 2013-10-23 22:16:08 +02:00
Marcin Kurczewski
e1acb8bd99 Reduced page loads
- Entity of user currently logged in is kept serialized in session
- Post is retrieved only if necessary in thumbnail generator
2013-10-23 00:16:52 +02:00
Marcin Kurczewski
872780397d Fixed thumbnail cache
Custom thumbnails were loaded only after hard ctrl+f5. Now they should be
loaded with f5 alone.
2013-10-22 23:58:55 +02:00
Marcin Kurczewski
d135f84bf2 Added paginator CSS to comments 2013-10-22 23:57:57 +02:00
Marcin Kurczewski
31f07672c4 Improved #33 2013-10-22 23:57:53 +02:00
Marcin Kurczewski
328d3f833b Fixed default user settings regarding safety 2013-10-22 21:56:27 +02:00
Marcin Kurczewski
87eaa9ba9e Closed #33 2013-10-22 21:44:22 +02:00
Marcin Kurczewski
18097b6192 Closed #45 2013-10-22 11:40:10 +02:00
Marcin Kurczewski
739e5d3b5d Added uploader avatar 2013-10-22 09:24:17 +02:00
Marcin Kurczewski
7cc2a98992 Post edit form moved to separate file 2013-10-22 00:39:41 +02:00
Marcin Kurczewski
7f9aaad324 User settings DB column greatly compressed 2013-10-22 00:30:12 +02:00
Marcin Kurczewski
319a9852fc Fixed deleting and (un)hiding 2013-10-22 00:20:58 +02:00
Marcin Kurczewski
d45ab47d3b Always test your goddamn code 2013-10-22 00:18:41 +02:00
Marcin Kurczewski
eaa8c4897d Closed #39 2013-10-22 00:17:40 +02:00
Marcin Kurczewski
823888b0c1 Universal check for form submission 2013-10-22 00:17:36 +02:00
Marcin Kurczewski
90a75e4d30 User edit/delete forms moved to separate files 2013-10-21 23:29:38 +02:00
Marcin Kurczewski
ce302c438d Safety list in /upload is resolved automatically 2013-10-21 23:27:47 +02:00
Marcin Kurczewski
7743753641 Tag list visuals
- long tag text overflow in post-view and tag-list
- tag usage visualized in tag-list
2013-10-21 23:07:30 +02:00
Marcin Kurczewski
9f5bdc3da0 A bit more reasonable autocomplete 2013-10-21 15:09:52 +02:00
Marcin Kurczewski
6b55706fb4 Closed #46 2013-10-21 14:32:47 +02:00
Marcin Kurczewski
ff3e4bc287 Closed #47 2013-10-21 14:24:34 +02:00
Marcin Kurczewski
f2947a2550 Added "random" tab 2013-10-21 13:13:10 +02:00
Marcin Kurczewski
aab67f4b6c Better main page 2013-10-21 09:35:06 +02:00
Marcin Kurczewski
58a6345ae8 Fixed e-mail address visibility 2013-10-20 19:19:52 +02:00
Marcin Kurczewski
bc24b7d2cf Fixed problems with Android keyboards
Users were completely unable to type anything.
2013-10-20 18:55:33 +02:00
Marcin Kurczewski
3052a6f032 Disallowed . and .. as tag 2013-10-20 12:14:44 +02:00
Marcin Kurczewski
4bfa2a019a Tags now allow dots 2013-10-20 12:08:52 +02:00
Marcin Kurczewski
a3be044ced First user doesn't see (unconfirmed) anymore 2013-10-20 11:19:59 +02:00
Marcin Kurczewski
07f36c710a Added versioning; changed repo name 2013-10-20 11:12:56 +02:00
Marcin Kurczewski
230f555da9 Closed #44 2013-10-20 11:05:46 +02:00
Marcin Kurczewski
b4186a218c Changed titles a bit 2013-10-20 00:36:50 +02:00
Marcin Kurczewski
3fc1046bb2 Closed #14 2013-10-20 00:31:22 +02:00
Marcin Kurczewski
e15910b637 Closed #41 2013-10-19 22:56:56 +02:00
Marcin Kurczewski
c6754e5866 Closed #35; various tweaks
- All form.aligned inputs got wrapped with special div for easy width control
- Fixed edit jump bug
2013-10-19 20:58:51 +02:00
Marcin Kurczewski
65df7f8752 Added upper limit for user and tag length 2013-10-19 20:51:32 +02:00
Marcin Kurczewski
019ce6a141 Fixed comment removal 2013-10-19 20:17:16 +02:00
Marcin Kurczewski
b1740fbfcf Closed #29 2013-10-19 20:17:11 +02:00
Marcin Kurczewski
440029d6d6 Small changes to users presentation
- Fixed W3C validation in user list
- Fixed post CSS were not included
- Added link to delete account under "options" (for consistency sake)
2013-10-19 20:15:16 +02:00
Marcin Kurczewski
ea463cb0db Faster queries, fixed foreign keys
When user is removed, their posts and comments get null user ID now
2013-10-19 20:14:23 +02:00
Marcin Kurczewski
53f9076bff Closed #23 2013-10-19 16:16:09 +02:00
Marcin Kurczewski
d85728064a Closed #17 2013-10-19 15:19:47 +02:00
Marcin Kurczewski
fa652c2fca Closed #9 2013-10-19 15:10:28 +02:00
Marcin Kurczewski
91776a3e54 Closed #30 2013-10-19 13:38:20 +02:00
Marcin Kurczewski
315c5d074e Better caching 2013-10-19 13:00:03 +02:00
Marcin Kurczewski
4b5c13519c Added optional SQL queries debug 2013-10-19 12:53:49 +02:00
Marcin Kurczewski
5d51297c16 Closed #42 2013-10-18 00:31:22 +02:00
Marcin Kurczewski
019e7eea7f Closed #43 2013-10-18 00:09:50 +02:00
Marcin Kurczewski
73050f159f Better-looking comment counter 2013-10-18 00:02:11 +02:00
Marcin Kurczewski
379674d027 Closed #8 2013-10-17 23:37:41 +02:00
Marcin Kurczewski
ee050cfd01 Worked on #8
Also:
- changed URL schema for posts from /posts/action/id to /posts/id/action
- moved XXXController::locateXXX methods to Model_XXX::locate
2013-10-17 22:57:32 +02:00
Marcin Kurczewski
ffc373e871 Activation mails are trying hard not to be spam
...and fail miserably at that. I sneaked an important bugfix in, though.
2013-10-16 20:56:46 +02:00
Marcin Kurczewski
c90561e4ce Admins can view user e-mails too
They could do this anyway by doing simple SELECTs. This change is just to make
admins' lives easier.
2013-10-16 20:26:48 +02:00
Marcin Kurczewski
5d5440a8f1 Confirmation e-mail sending disableable in config 2013-10-16 19:56:02 +02:00
Marcin Kurczewski
6dd6163833 Added SQL query count in footer 2013-10-16 19:45:57 +02:00
Marcin Kurczewski
42782258cc Closed #31 2013-10-16 19:41:42 +02:00
Marcin Kurczewski
39db2a64e1 Closed #32 2013-10-16 18:07:23 +02:00
Marcin Kurczewski
52956b56c8 Preventing setting access rank to "nobody" 2013-10-16 13:12:17 +02:00
Marcin Kurczewski
e0d01298fc Universal pagination; closed #3 2013-10-16 13:07:01 +02:00
Marcin Kurczewski
9e73d0de91 Added favmax: (consistency with datemax:) 2013-10-16 13:01:33 +02:00
Marcin Kurczewski
28c1ce68b4 Closed #20
Changed Enum::toString() calls
Fixed chrome ghost margin
2013-10-16 08:33:45 +02:00
Marcin Kurczewski
75e68aea5a More flexible sorting syntax 2013-10-15 23:27:04 +02:00
Marcin Kurczewski
1077c489a7 Closed #12; closed #11 2013-10-15 22:49:06 +02:00
Marcin Kurczewski
f42ed135fa Slightly better header 2013-10-15 22:49:01 +02:00
Marcin Kurczewski
1b3ce29b46 Fixed minor bug when changing user name fails 2013-10-15 20:33:53 +02:00
Marcin Kurczewski
23ac43ecac Closed #28 2013-10-15 20:31:38 +02:00
Marcin Kurczewski
a03d7179ba Refactored duplicate code 2013-10-15 20:23:05 +02:00
Marcin Kurczewski
17013e8fe5 Closed #1; closed #2; closed #4; closed #27 2013-10-15 13:14:48 +02:00
Marcin Kurczewski
8fdc90bab7 Worked on #4, #1 and #2
Also:
- enhanced form stylesheets
- W3C validation
2013-10-15 00:41:04 +02:00
Marcin Kurczewski
79b51d31e5 Fixed removing from favorites 2013-10-14 12:13:22 +02:00
Marcin Kurczewski
23f430f41c Worked on #4 2013-10-14 10:22:53 +02:00
Marcin Kurczewski
c6cdc1d945 Fixed counting occurences of numeric keys 2013-10-14 09:51:38 +02:00
Marcin Kurczewski
23fc89c30c User safety settings 2013-10-14 00:25:40 +02:00
Marcin Kurczewski
11072779d9 Fixed useless parameter 2013-10-13 23:02:57 +02:00
Marcin Kurczewski
b5c3ddca1c Closed #24 2013-10-13 22:58:02 +02:00
Marcin Kurczewski
f96d2a96db Fixed headers for webkit 2013-10-13 22:54:16 +02:00
Marcin Kurczewski
607ef63c2f Fixed edge cases in searching
- search for number (1, 2, ...)
- search for "0" (empty("0") returns true so searching for "0" was impossible)
- search containing / character
- search containing + character
- adding tags containing + character
2013-10-13 22:20:06 +02:00
Marcin Kurczewski
cc6b187aa0 Added aliases to search by uploader 2013-10-13 22:19:00 +02:00
Marcin Kurczewski
4d260b6fe5 Fixed pagination when no pages should be shown 2013-10-13 22:09:52 +02:00
Marcin Kurczewski
e125ecc1c7 Fixed HTML injection 2013-10-13 21:05:20 +02:00
Marcin Kurczewski
5f3a913629 Changed upload error order 2013-10-13 21:05:01 +02:00
Marcin Kurczewski
dc4af58d31 Tweaks to post & thumbnail caching 2013-10-13 14:01:07 +02:00
Marcin Kurczewski
45674f74bf Closed #26; closed #25
Small changes to schema
2013-10-13 13:53:24 +02:00
Marcin Kurczewski
7c62293b76 Permalink security fix 2013-10-13 13:38:24 +02:00
Marcin Kurczewski
e33ec7abe7 Closed #21 2013-10-13 13:37:18 +02:00
Marcin Kurczewski
cc57b8b8a0 Increased memory limit (for big thumbs) 2013-10-13 13:34:30 +02:00
Marcin Kurczewski
36a82c2863 Fixed problems with uploaded files 2013-10-13 13:33:34 +02:00
Marcin Kurczewski
ff2bfd0b3d Closed #13 2013-10-13 13:17:23 +02:00
Marcin Kurczewski
6c4affe454 Closed #10 2013-10-13 12:28:16 +02:00
Marcin Kurczewski
be4a2615dd Global form styles 2013-10-13 00:38:24 +02:00
Marcin Kurczewski
eb858bfbe1 Closed #19 2013-10-12 22:55:10 +02:00
Marcin Kurczewski
21f4669a98 Closed #18 2013-10-12 22:37:18 +02:00
Mariusz Dziemianowicz
7e201c01c0 Worked on #25: Login/register pages 2013-10-12 19:28:52 +02:00
Marcin Kurczewski
7c5d1b7e34 Favorites; gravatar support 2013-10-12 14:53:47 +02:00
Marcin Kurczewski
67dcc7c4f8 Better looking post view 2013-10-12 12:38:49 +02:00
Marcin Kurczewski
b92f925e94 Post viewing - sidebar 2013-10-12 10:46:15 +02:00
Marcin Kurczewski
b9a6dab7ae Fixed storing original poster in posts 2013-10-12 10:42:29 +02:00
Marcin Kurczewski
fc2ed52016 Changed post list outlook 2013-10-10 00:12:27 +02:00
Marcin Kurczewski
30b2d83704 Fixed stupid bug 2013-10-09 23:46:22 +02:00
Marcin Kurczewski
ff6ed4ee57 Access rank: nobody
Features in config.ini can now be disabled even for admins
(makes privilege testing easy on admin accounts)
2013-10-09 22:43:20 +02:00
Marcin Kurczewski
4737f4a184 Flash support 2013-10-09 21:58:57 +02:00
Marcin Kurczewski
35e097d0ce Fixed JS order, removed misplaced debug 2013-10-09 21:31:38 +02:00
Marcin Kurczewski
f71a4c6bbe Closed #16 2013-10-09 21:02:54 +02:00
Marcin Kurczewski
078b95fc8e Duplicate scripts/stylesheets now included once 2013-10-09 19:41:26 +02:00
Mariusz Dziemianowicz
4a006168e5 Removed jquery-tagit references from bootstrap
jquery-tagit already referenced in PostController
2013-10-09 19:39:30 +02:00
Mariusz Dziemianowicz
16d14bd7e0 Fixed missing references for css/js files 2013-10-09 19:29:21 +02:00
Marcin Kurczewski
a3aa9c3077 Internals (II) 2013-10-09 19:25:56 +02:00
Marcin Kurczewski
998ec79740 Internals 2013-10-09 19:23:39 +02:00
Mariusz Dziemianowicz
cb18928cbb Fixes #16: Add jquery and google fonts locally 2013-10-09 18:55:58 +02:00
Marcin Kurczewski
9896106f1c Added tag list; upload: tags autocompletion 2013-10-09 17:50:07 +02:00
Marcin Kurczewski
86724568fd Newer JQuery UI (fixes broken tag-it autocomplete) 2013-10-09 17:49:29 +02:00
Marcin Kurczewski
f8ab508c06 Added duplicate uploads detection 2013-10-09 12:36:14 +02:00
Marcin Kurczewski
7b955883c9 Fixed issues with paging on /favorites 2013-10-09 12:24:25 +02:00
Marcin Kurczewski
1bbebfa640 Added "no posts to show" warning 2013-10-09 12:19:42 +02:00
Marcin Kurczewski
65e1a52b20 Endless scrolling mode 2013-10-09 12:18:22 +02:00
Marcin Kurczewski
73ddb24296 Basic pagination 2013-10-09 11:45:18 +02:00
Marcin Kurczewski
02fa02f979 Better error checking; MIME type safety 2013-10-09 01:17:25 +02:00
Marcin Kurczewski
d019351fd9 Upload form acts with more grace 2013-10-09 00:58:49 +02:00
Marcin Kurczewski
7c4bd0136d Thumbnail generator 2013-10-08 23:02:31 +02:00
Marcin Kurczewski
3e42cf823b Removed unnecessary method 2013-10-08 23:00:19 +02:00
Marcin Kurczewski
89c9a004ee Added missing toString() method 2013-10-08 22:59:32 +02:00
Marcin Kurczewski
bb9ab81fed Safety-related privileges; internals 2013-10-07 23:17:33 +02:00
Marcin Kurczewski
1b57b9b691 Added missing files 2013-10-07 20:45:09 +02:00
Marcin Kurczewski
793d996166 Very rough post list sketch; user list placeholder 2013-10-07 20:44:14 +02:00
Marcin Kurczewski
c69ff872a9 Fixed double inclusion bug 2013-10-07 20:31:45 +02:00
Marcin Kurczewski
3fd34db37c Worked on #5 2013-10-07 00:49:41 +02:00
Marcin Kurczewski
885b2cf31f Fixed exception viewing 2013-10-07 00:39:41 +02:00
Marcin Kurczewski
34bf6b1db7 Fixed JSON mime type and exception handling 2013-10-06 19:53:33 +02:00
Marcin Kurczewski
2cd7541042 Fixed bug in privilege checking 2013-10-06 19:20:54 +02:00
Marcin Kurczewski
2ddc203fb8 Login/logout->log in/log out 2013-10-06 18:50:06 +02:00
Marcin Kurczewski
a8ef56d42c Fixed SimpleException handling 2013-10-06 13:22:58 +02:00
Marcin Kurczewski
af5650d4f6 Added privileges support 2013-10-06 13:21:16 +02:00
Marcin Kurczewski
c345800716 Placeholder stylesheets
Now I can look at this.
2013-10-05 22:52:55 +02:00
Marcin Kurczewski
041b8eedbe Moved AbstractController to Bootstrap 2013-10-05 21:24:20 +02:00
Marcin Kurczewski
046968b815 Page titles filled in 2013-10-05 21:22:28 +02:00
Marcin Kurczewski
377bdcf7c9 Anonymous user access rank wiring 2013-10-05 20:00:13 +02:00
Marcin Kurczewski
c905f1d7dd Let there be placeholders 2013-10-05 19:26:33 +02:00
Marcin Kurczewski
3ba0d60d78 Reorganized structure; 404 support 2013-10-05 17:12:51 +02:00
Marcin Kurczewski
a1f73d008d Fixed (very unlikely) activation links collisions 2013-10-05 17:10:18 +02:00
Marcin Kurczewski
3a77bb7c59 Registration sketch 2013-10-05 13:15:48 +02:00