Marcin Kurczewski
35cdc0cf3a
Refactored scripts and stylesheets
...
Styles, scripts and page titles are no longer set from controllers level.
Changed because it was breaking MVC pattern and led to spaghetti code.
Also, optimized JS/CSS inclusions a bit.
2014-02-01 11:24:03 +01:00
Marcin Kurczewski
6905ad047d
Fixed changing access rank
2013-12-18 16:11:20 +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
5b25250209
Optimalizations
2013-12-14 14:50:30 +01:00
Marcin Kurczewski
40e70c4305
User settings: new option to hide disliked posts
2013-12-05 22:21:15 +01:00
Marcin Kurczewski
4285aff671
Fixes to preloading
2013-11-30 16:19:48 +01:00
Marcin Kurczewski
d7cb024f24
Refactored pagination queries
2013-11-30 13:59:29 +01:00
Marcin Kurczewski
c9a8f99f6a
Optimization: preloading moved back to controllers
...
- Nearly twice faster page load
- Query count greatly dropped
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
5e58488f3e
Optimalization: simplified tabs structure
2013-11-30 00:05:03 +01:00
Marcin Kurczewski
c683fa3b0f
User settings: added opt-in tags in post thumbs
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
81017e18cb
Logging: improved grammar a little
2013-11-23 15:39:19 +01:00
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
bf0e40683c
Removed TextHelper hacks
2013-11-18 15:41:16 +01:00
Marcin Kurczewski
e7ec8ea49f
Fixed user view tabs
2013-11-18 10:30:43 +01:00
Marcin Kurczewski
0286e11c30
Fixed dangling postscore and crossref rows
2013-11-18 10:26:29 +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
fdee23af99
Small changes
...
- Changed: rating posts - [up | down] --> [vote up, down]
- Fixed: logging of e-mail subject
- Improved: flagging posts/users provides visual feedback ("flagged")
- Improved: grammar in login screen
- Fixed: typo in password reset message
- Added: SessionHelper for handy management of user session data
2013-11-17 20:32:35 +01:00
Marcin Kurczewski
3c41940142
Closed #57
2013-11-17 14:53:21 +01:00
Marcin Kurczewski
04e9bad79e
Added logging engine for #61
2013-11-16 21:21:43 +01:00
Marcin Kurczewski
bb01ae7fca
Closed #62
2013-11-16 19:24:50 +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
fb02feeed3
Preparation for #62
2013-11-16 17:32:43 +01:00
Marcin Kurczewski
3130a66ad3
Fixed browsing settings
2013-10-28 12:58:18 +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
0712f15ee4
Closed #50
2013-10-25 17:25:05 +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
4ecb3f3b81
Fixed updating safety settings
2013-10-25 11:55:03 +02:00
Marcin Kurczewski
d3eaf27bdc
Closed #36
2013-10-25 09:59:42 +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
18097b6192
Closed #45
2013-10-22 11:40:10 +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
a3be044ced
First user doesn't see (unconfirmed) anymore
2013-10-20 11:19:59 +02:00
Marcin Kurczewski
b4186a218c
Changed titles a bit
2013-10-20 00:36:50 +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
019e7eea7f
Closed #43
2013-10-18 00:09:50 +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
5d5440a8f1
Confirmation e-mail sending disableable in config
2013-10-16 19:56:02 +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
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
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