Commit graph

32 commits

Author SHA1 Message Date
Marcin Kurczewski
65e909d053 Refactored form rendering 2014-05-20 23:00:24 +02:00
Marcin Kurczewski
2a6f047c28 Removed ?json in favor of X-Ajax 2014-05-18 21:32:47 +02:00
Marcin Kurczewski
feec48ed83 AJAX doesn't rely on StatusHelper
Since the purpose that StatusHelper was mainly created for no longer
holds, it was simplified to Messenger. It is now is used to transport
simple messages to views and still transports info whether the message
is about success or failure.
2014-05-01 23:34:44 +02:00
Marcin Kurczewski
4879ba94b0 Fixed problem with keyboard shortcuts on Flash
Previous attempt - f226c3eb0c.
Approach introduced in this commit is theoretically much better, but it still
might not be perfect.
2014-03-05 22:40:50 +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
b86aaf90a3 Fixed and simplified tag autocompletion 2014-02-18 21:26:54 +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
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
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
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
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
c1e763316a Fav and comments are shown only if there are any 2013-11-23 15:39: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
4166200dbc Post view actions don't reload the page anymore 2013-11-17 14:24:35 +01:00
Marcin Kurczewski
45e9d32f58 Fixes to bugs introduced in 76a60ed 2013-11-16 21:14:27 +01:00
Marcin Kurczewski
2f8d43cb4b Post edit link: focus the form on click 2013-10-27 22:47:20 +01:00
Marcin Kurczewski
bddf04ea78 Hotkeys should no longer get in the way 2013-10-26 12:39:15 +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
0f72ef3963 Closed #48 2013-10-21 14:48:28 +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
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
17013e8fe5 Closed #1; closed #2; closed #4; closed #27 2013-10-15 13:14:48 +02:00
Marcin Kurczewski
b4f52e9af5 Removed redundant hash 2013-10-13 21:42:43 +02:00
Marcin Kurczewski
6c4affe454 Closed #10 2013-10-13 12:28:16 +02:00
Marcin Kurczewski
7c5d1b7e34 Favorites; gravatar support 2013-10-12 14:53:47 +02:00