Commit graph

22 commits

Author SHA1 Message Date
Marcin Kurczewski
676c3a41e2 Logging: removed logEvent() and log prefixes
This looked ugly.
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
d8997edc57 Refactor of controllers and models
- Most of model-related code moved from controllers to model classes, much
  fewer calls to R::whatever() in controllers
- Post editing and uploading shares the same code, thus making implementing
  stuff easier in the future
- Added support for default bean wiring, no more calls to R::preload() all over
  the place
- More robust concurrent post editing detection
2013-11-23 15:39:13 +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
4fd25b10c6 Fixed logging of post previews 2013-11-17 14:25:13 +01:00
Marcin Kurczewski
69a993c5af Fixed sending empty comments 2013-11-17 14:24:39 +01:00
Marcin Kurczewski
04e9bad79e Added logging engine for #61 2013-11-16 21:21:43 +01:00
Marcin Kurczewski
76a60ed5d7 Refactoring of error/success messages 2013-11-16 18:44:40 +01:00
Marcin Kurczewski
9e6716021a Models: enhanced entities filtering 2013-10-28 11:24:11 +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
d135f84bf2 Added paginator CSS to comments 2013-10-22 23:57:57 +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
019ce6a141 Fixed comment removal 2013-10-19 20:17: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
019e7eea7f Closed #43 2013-10-18 00:09:50 +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
21f4669a98 Closed #18 2013-10-12 22:37:18 +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
c905f1d7dd Let there be placeholders 2013-10-05 19:26:33 +02:00