Commit graph

267 commits

Author SHA1 Message Date
Marcin Kurczewski
e43881e03f Better debug 2014-02-24 16:50:16 +01:00
Marcin Kurczewski
e6b37afa8c Changed /comments behaviour
Instead of showing comments chronologically, group them into posts, then sort
the posts by last comment date. Reason: improved comment context delivery
makes discussion bumping possible (no matter how old it is) and discussion is
what comments are about.

Comment count is limited to 5 per post.
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
72946c3922 Fixed download and arrows transparency 2014-02-23 22:04:26 +01:00
Marcin Kurczewski
f2510ac8c0 Added focus color to comment links 2014-02-23 22:04:26 +01:00
Marcin Kurczewski
0b6a0337fe Exit confirmation tweaks in post upload
Confirmation is disabled after user removes last file from the upload queue.
It's enabled again whenever user adds something.
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
4b08686393 Added lightbox to post uploads 2014-02-21 20:24:37 +01:00
Marcin Kurczewski
ddbecdb16f Fixed problems with multiple event handlers
Whenever DOM update event handlers were executed, jQuery bindings were appended
instead of being replaced. It resulted in funny scenarios like starting to show
multiple confirmation dialogs when trying to delete a post, after
adding/removing it from favorites.
2014-02-20 21:32:07 +01:00
Marcin Kurczewski
b879a7c38b Fixed problem with comment edit links 2014-02-20 21:32:07 +01:00
Marcin Kurczewski
38771eb7be Small layout fixes 2014-02-20 21:32:03 +01:00
Marcin Kurczewski
b86aaf90a3 Fixed and simplified tag autocompletion 2014-02-18 21:26:54 +01:00
Marcin Kurczewski
4469767d8f Removed console.log 2014-02-18 21:14:52 +01:00
Marcin Kurczewski
eee6421775 Post editing: quasi-popup in place of sliding unit 2014-02-18 18:35:55 +01:00
Marcin Kurczewski
65c6caa13c Freshened up sidebar 2014-02-18 16:41:36 +01:00
Marcin Kurczewski
e7a0fdae26 Fixed exit confirmation message on Chrome 2014-02-16 20:10:38 +01:00
Marcin Kurczewski
f3a5de67e7 GUI colors are consistent 2014-02-16 20:10:38 +01:00
Marcin Kurczewski
3e99a6336c Form CSS overhaul 2014-02-16 20:10:34 +01:00
Marcin Kurczewski
80b9542c2d Removed borders for sidebar units 2014-02-16 20:00:29 +01:00
Marcin Kurczewski
4a69084a8b Upload no longer uses tabs 2014-02-16 20:00:26 +01:00
Marcin Kurczewski
7a5d97e153 Dates changed to relative form (except logs) 2014-02-16 15:16:20 +01:00
Marcin Kurczewski
e36498f709 Layout resizing tweaks 2014-02-16 15:16:17 +01:00
Marcin Kurczewski
5148f9162d Changed tabs appearance 2014-02-16 12:33:52 +01:00
Marcin Kurczewski
620d1204f7 Changed footer appearance 2014-02-16 12:33:52 +01:00
Marcin Kurczewski
1a3f77175b Vertical scrollbar is shown everywhere
Reason: navigating between pages w/o scrollbar and pages with scrollbar
resulted in slight layout repositioning
2014-02-16 12:33:52 +01:00
Marcin Kurczewski
db1d8383fd Fixed top margin in post upload 2014-02-16 12:33:52 +01:00
Marcin Kurczewski
27c780602c Better looking user list 2014-02-16 12:33:52 +01:00
Marcin Kurczewski
83a966f1af Added tab wrappers 2014-02-16 12:33:48 +01:00
Marcin Kurczewski
d170e3b526 Closed #68 2014-02-01 11:23:59 +01:00
Marcin Kurczewski
d2946e0148 Post editing: fixed problem with focus 2014-01-30 21:53:34 +01:00
Marcin Kurczewski
36e2e5827c Closed #69 2014-01-27 09:17:36 +01:00
Marcin Kurczewski
37cc858821 Fixed post editing appearance 2014-01-25 22:50:15 +01:00
Marcin Kurczewski
100303173e Added comment editing support
In other news, editing a post doesn't reload page anymore
(yay for editing tags for Youtube posts)
2014-01-25 16:39:09 +01:00
Marcin Kurczewski
1fcced20f1 Misc CSS tweaks 2014-01-06 19:25:27 +01:00
Marcin Kurczewski
5607cfc353 Models rewrite; removed RedBeanPHP; misc changes
Pages load 1.5-2x faster
Exception trace in JSON is now represented as an array
Fixed pagination of default favorites page in user pages
Fixed thumbnail size validation for non-square thumbnails
2013-12-18 15:17:49 +01:00
Marcin Kurczewski
1c6b10f966 Fixed 1px bug 2013-12-14 16:49:43 +01:00
Marcin Kurczewski
7e8521022c Added CSS for quotes 2013-12-07 15:04:11 +01:00
Marcin Kurczewski
8f906d83bf Added active section indicator 2013-12-05 23:57:33 +01:00
Marcin Kurczewski
7046553a45 Fixed CSS problems with Chrome and Firefox 2013-12-01 15:15:01 +01:00
Marcin Kurczewski
e93c3588f9 Fix to tabs in upload 2013-11-30 16:42:47 +01:00
Marcin Kurczewski
01c54d4d83 Optimalization: simplified selectors
Squash
2013-11-30 14:23:46 +01:00
Marcin Kurczewski
dd8ab7c001 Optimalization: tweaks to .htaccess 2013-11-30 14:20:17 +01:00
Marcin Kurczewski
518311ff61 Optimalization: some JS tweaks
- Removed redundant function
- Using .preventDefault instead of return calls in some places
2013-11-30 01:10:48 +01:00
Marcin Kurczewski
5e58488f3e Optimalization: simplified tabs structure 2013-11-30 00:05:03 +01:00
Marcin Kurczewski
e4b4c5d273 Optimalization: added stuff to .htaccess 2013-11-29 23:58:06 +01:00
Marcin Kurczewski
4648b6afca Tag autocomplete aligned to right only in top nav 2013-11-27 17:44:52 +01:00
Marcin Kurczewski
7820417188 Layout: fixed autocomplete box position 2013-11-25 22:23:48 +01:00
Marcin Kurczewski
f226c3eb0c Fixed hotkeys conflicting with Flash on Chrome 2013-11-25 22:23:48 +01:00
Marcin Kurczewski
505fe1bac3 Mass tag: fixed concurrent tag toggling 2013-11-25 22:23:48 +01:00
Marcin Kurczewski
aa37ee66ff Various JS optimizations 2013-11-25 22:23:48 +01:00
Marcin Kurczewski
20022ea4ab Next/prev links are bound to latest search query 2013-11-25 22:23:45 +01:00
Marcin Kurczewski
0ef5f1b46d Absolute paths used where necessary
- No random chdir() calls
- No more exceptions when executing scripts from dirs other than root
- find-posts.php prints absolute paths making piping more useful
2013-11-23 20:52:41 +01:00
Marcin Kurczewski
7e56fce470 Sending comment hides preview 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
7fccbd5e02 JS: more robust error handling
Also, the upload form cannot be resent during processing
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
ecc72e52e6 Added margin for alerts 2013-11-23 15:39:19 +01:00
Marcin Kurczewski
c1e763316a Fav and comments are shown only if there are any 2013-11-23 15:39:13 +01:00
Marcin Kurczewski
6e9a18c0ae Paginator: introducing "..." pseudo-pages
If delta between pages in paginator is greater than 2, it adds "..." inbetween.
If delta is equal to 2, it adds missing page link instead.

Examples:

    1,4,5 gets converted to 1,...,4,5
    1,3,4 gets converted to 1,2,3,4
2013-11-23 13:54:13 +01:00
Marcin Kurczewski
467f0c6b93 Slightly better tabs 2013-11-23 13:54:13 +01:00
Marcin Kurczewski
0bbeb4604f Introducing tag list sort styles
Also, increased margin in /users
2013-11-23 13:54:13 +01:00
Marcin Kurczewski
007e797d3a Faster tag list 2013-11-23 13:54:09 +01:00
Marcin Kurczewski
d636fe1c0a Fixed hover 1px border bug 2013-11-22 00:26:05 +01:00
Marcin Kurczewski
fb5e851a13 Closed #66 2013-11-21 22:44:28 +01:00
Marcin Kurczewski
b2fdbb914e Fixed appearance on mobile 2013-11-19 20:20:16 +01:00
Marcin Kurczewski
9ab961985d Refactor to logging
- Centralized use of TextHelper::repr..() instead of hardcoded markdown
- Centralized processing of highlighting instead of hardcoded markdown
- Highlighted items are marked with color, not just bold
2013-11-17 23:46:31 +01:00
Marcin Kurczewski
da63c0fd19 Closed #61 2013-11-17 14:53:17 +01:00
Marcin Kurczewski
7b473ba06f Low-level refactor to core.php 2013-11-17 14:24:39 +01:00
Marcin Kurczewski
4166200dbc Post view actions don't reload the page anymore 2013-11-17 14:24:35 +01:00
Marcin Kurczewski
4e64431a96 Changes to infobar in post thumbnails 2013-11-16 22:40:19 +01:00
Marcin Kurczewski
6582b395d2 Added [P] hotkey for selecting first post on page 2013-11-16 22:02:18 +01:00
Marcin Kurczewski
45e9d32f58 Fixes to bugs introduced in 76a60ed 2013-11-16 21:14:27 +01:00
Marcin Kurczewski
039d56c260 Further work on #62
Added ability to resend activation mail
2013-11-16 18:57:08 +01:00
Marcin Kurczewski
76a60ed5d7 Refactoring of error/success messages 2013-11-16 18:44:40 +01:00
Marcin Kurczewski
5e30253789 Closed #58 2013-11-13 19:42:22 +01:00
Marcin Kurczewski
6fadc612fd Changed feature image style 2013-11-10 12:23:59 +01:00
Marcin Kurczewski
7b014f036b Fixes to mass-tag 2013-11-06 00:51:16 +01:00
Marcin Kurczewski
09b5a38c95 Fixed issue with masstag in endless scrolling mode 2013-11-05 09:17:44 +01:00
Marcin Kurczewski
f7a0b7b440 Focused tab is marked with different color 2013-11-01 15:41:56 +01:00
Marcin Kurczewski
b3f15dc049 Header becomes less bloated in favor of tabs 2013-11-01 12:58:54 +01:00
Marcin Kurczewski
be919603e3 Tag list gets tabbed interface 2013-11-01 12:58:48 +01:00
Marcin Kurczewski
f32c045349 Upload: increased thumbnail size to 150x150px 2013-11-01 10:38:32 +01:00
Marcin Kurczewski
bd05123cfc Post view: safety marked with color 2013-10-31 14:02:22 +01:00
Marcin Kurczewski
1714e9e665 Added support for post relations 2013-10-30 20:20:01 +01:00
Marcin Kurczewski
b7084d61ae Closed #51 - anonymous uploads; simplified JS 2013-10-30 16:51:22 +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
f119ab724a Paginator: A/D hotkeys disabled in endless mode 2013-10-28 13:01:49 +01:00
Marcin Kurczewski
9e6716021a Models: enhanced entities filtering 2013-10-28 11:24:11 +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
2f8d43cb4b Post edit link: focus the form on click 2013-10-27 22:47:20 +01:00
Marcin Kurczewski
3f3024d6ac Added avatars for unknown users 2013-10-27 20:46:10 +01:00
Marcin Kurczewski
bddf04ea78 Hotkeys should no longer get in the way 2013-10-26 12:39:15 +02:00
Marcin Kurczewski
db180376d4 Better help 2013-10-25 17:20:11 +02:00
Marcin Kurczewski
0eb1ef4fff Added hotkey for next/prev page 2013-10-25 17:14:26 +02:00
Marcin Kurczewski
5c76a41ae7 Fixed IE post list image alignment 2013-10-25 15:50:29 +02:00
Marcin Kurczewski
0ea25dad24 Fixed IE border 2013-10-25 15:49:52 +02:00
Marcin Kurczewski
c648cd848d Fixed hotkeys bug 2013-10-25 15:47:42 +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
e733da58d2 Removed background from images
Introducing it wasn't smart - I forgot about transparent PNGs
2013-10-25 15:40:32 +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
2279e5605b Closed #37 2013-10-25 13:18: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
31f07672c4 Improved #33 2013-10-22 23:57:53 +02:00
Marcin Kurczewski
739e5d3b5d Added uploader avatar 2013-10-22 09:24:17 +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
70f931b921 Better checkboxes and radiobuttons 2013-10-21 23:25:56 +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
e910d2f517 Smaller safety buttons 2013-10-21 15:16:34 +02:00
Marcin Kurczewski
83355f3789 A bit more reasonable autocomplete (II) 2013-10-21 15:10:25 +02:00
Marcin Kurczewski
9f5bdc3da0 A bit more reasonable autocomplete 2013-10-21 15:09:52 +02:00
Marcin Kurczewski
0f72ef3963 Closed #48 2013-10-21 14:48:28 +02:00
Marcin Kurczewski
ff3e4bc287 Closed #47 2013-10-21 14:24:34 +02:00
Marcin Kurczewski
aab67f4b6c Better main page 2013-10-21 09:35:06 +02:00
Marcin Kurczewski
aed60da6f9 Changed post list view
- Thumbs are 150x150
- Centered main content
2013-10-20 19:51:49 +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
07f36c710a Added versioning; changed repo name 2013-10-20 11:12:56 +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
b1740fbfcf Closed #29 2013-10-19 20:17:11 +02:00
Marcin Kurczewski
53f9076bff Closed #23 2013-10-19 16:16:09 +02:00
Marcin Kurczewski
ab26cb8ef2 Closed #22 2013-10-19 16:00:47 +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
4b5c13519c Added optional SQL queries debug 2013-10-19 12:53:49 +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
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
39db2a64e1 Closed #32 2013-10-16 18:07:23 +02:00
Marcin Kurczewski
e0d01298fc Universal pagination; closed #3 2013-10-16 13:07:01 +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
f42ed135fa Slightly better header 2013-10-15 22:49:01 +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
23f430f41c Worked on #4 2013-10-14 10:22:53 +02:00
Marcin Kurczewski
23fc89c30c User safety settings 2013-10-14 00:25:40 +02:00
Marcin Kurczewski
b5581c5822 Fixed bug with endless scrolling
It didn't work when more than one page at a time should be loaded.
2013-10-13 21:48:14 +02:00
Marcin Kurczewski
b4f52e9af5 Removed redundant hash 2013-10-13 21:42:43 +02:00
Marcin Kurczewski
45674f74bf Closed #26; closed #25
Small changes to schema
2013-10-13 13:53:24 +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
fc2ed52016 Changed post list outlook 2013-10-10 00:12:27 +02:00
Marcin Kurczewski
17f040c9fa Added missing file 2013-10-09 22:46:05 +02:00