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
0a5169a7d6
JSON serializer: added exception info
2013-11-23 15:39:13 +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
95b2eec461
Search queries: added search by likes/dislikes
2013-11-23 15:39:08 +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
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
6e62a46110
Search queries: fixed broken order
2013-11-22 00:26:05 +01:00
Marcin Kurczewski
9c0ed1e930
Markdown: fixed some [spoiler] bugs
2013-11-22 00:26:05 +01:00
Marcin Kurczewski
909026ae0f
User names: removed case sensitivity
2013-11-22 00:26:05 +01:00
Marcin Kurczewski
c8fb9c20c6
Search queries: removed case sensitivity
2013-11-22 00:26:05 +01:00
Marcin Kurczewski
6549237dda
Mass tag: fixed tag case sensitiveness bug
2013-11-22 00:25:59 +01:00
Marcin Kurczewski
601bdab8e1
Mass tag: don't show buttons if no tag specified
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
1f2ce725ff
Mass tag redirection from /tags accepts empty tag
...
User was already able to enter masstag mode without specifying what they want
to tag with, through "mass tag" tab.
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
cab63895c2
Fixed "tag already exists" when only changing case
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
a98c61ebf3
Closed #67
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
fb5e851a13
Closed #66
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
77c0ea7f57
Markdown: better <br/> placement
2013-11-21 22:44:28 +01:00
Marcin Kurczewski
6e229bf53c
Markdown: fixed mini-issue mentioned in #66
2013-11-21 22:44:23 +01:00
Marcin Kurczewski
5780917e82
Moved stuff to /data/
...
"Stuff" means:
- Config
- Local config
- SQLite db file
- Files
- Thumbnails
- Logs
2013-11-21 22:32:58 +01:00
Marcin Kurczewski
a892410f5d
Search queries: added new feature - "comment:x"
2013-11-21 22:32:49 +01:00
Marcin Kurczewski
e336d04347
Logging minifix
2013-11-18 23:23:56 +01:00
Marcin Kurczewski
aff68e88cf
Version upgrade (0.4.1)
2013-11-18 18:26:51 +01:00
Marcin Kurczewski
bf0e40683c
Removed TextHelper hacks
2013-11-18 15:41:16 +01:00
Marcin Kurczewski
17bd7a7572
Added support for OpenGraph
...
- Linking to index and individual posts produces thumbs on sites like Facebook
- Thumbnails theoretically support custom sizes
2013-11-18 14:33:43 +01:00
Marcin Kurczewski
a5d0a3f9ef
HTML validation
2013-11-18 14:00:54 +01:00
Marcin Kurczewski
5eb5e18b77
Fixes to Markdown parsing introduced in 7605177
2013-11-18 11:22:29 +01:00
Marcin Kurczewski
19a8b90ca2
Added unique indexes
2013-11-18 10:31:04 +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
7605177a6b
Added strike through support to Markdown
2013-11-18 00:38:33 +01:00
Marcin Kurczewski
cc30829c63
Version upgrade (0.4.0)
2013-11-18 00:01:47 +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
da63c0fd19
Closed #61
2013-11-17 14:53:17 +01:00
Marcin Kurczewski
4fd25b10c6
Fixed logging of post previews
2013-11-17 14:25:13 +01:00
Marcin Kurczewski
210342a5bf
Fixes to Markdown
...
- aa_bb cc_dd doesn't produce italics anymore
- asd@5.com doesn't produce link to post 5
- asd.com#anchor doesn't produce link to tag "anchor"
2013-11-17 14:25:05 +01:00
Marcin Kurczewski
69a993c5af
Fixed sending empty comments
2013-11-17 14:24:39 +01:00
Marcin Kurczewski
7b473ba06f
Low-level refactor to core.php
2013-11-17 14:24:39 +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
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
9ec269330c
Dependancy extensions safety checks
2013-11-13 23:36:58 +01:00
Marcin Kurczewski
8cd457848c
Removed need for strict typing
2013-11-13 22:14:32 +01:00
Marcin Kurczewski
70a4b46cf1
Foreign key fix
2013-11-13 19:54:36 +01:00
Marcin Kurczewski
202c820a9a
Closed #59
2013-11-13 19:44:36 +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
7faf46beb9
Changed .ini a bit
2013-11-10 11:18:00 +01:00
Marcin Kurczewski
51dbc65754
Version upgrade (0.3.0)
2013-11-05 14:42:46 +01:00
Marcin Kurczewski
b8fedc1297
Tags are sorted alphabetically
2013-11-05 13:56:20 +01:00
Marcin Kurczewski
bb0e844e4e
In case of misisng view file, render in JSON
2013-11-05 09:27:34 +01:00
Marcin Kurczewski
b093a090eb
Closed #56
2013-11-03 09:30:38 +01:00
Marcin Kurczewski
e1c8139373
Unused tags are removed on post edit
2013-11-01 20:51:19 +01:00
Marcin Kurczewski
101864459d
Added safety check for tag renaming
2013-11-01 20:44:01 +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
ac506e8c95
Added mass tag to header
2013-11-01 12:05:06 +01:00
Marcin Kurczewski
8d5b82287a
Fixed empty search queries in mass tag
2013-11-01 12:02:42 +01:00
Marcin Kurczewski
579df65c21
Increased source length limit to 200 chars
2013-11-01 10:37:35 +01:00
Marcin Kurczewski
c4faa3bf85
Added benchmark helper
2013-11-01 10:08:43 +01:00
Marcin Kurczewski
c3b2c68add
Faster tag list
2013-11-01 10:08:35 +01:00
Marcin Kurczewski
fe99f97287
Tag merging: fixed validation
2013-11-01 09:42:13 +01:00
Marcin Kurczewski
bd05123cfc
Post view: safety marked with color
2013-10-31 14:02:22 +01:00
Marcin Kurczewski
9110a27167
Another safety switcher glitch fix
2013-10-30 23:33:18 +01:00
Marcin Kurczewski
fd99821bd7
Logging in remembers original URL
2013-10-30 23:24:27 +01:00
Marcin Kurczewski
ad8f2a8038
Changed thumb privilege (for weird configurations)
2013-10-30 23:04:50 +01:00
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