Marcin Kurczewski
66229e86be
Version upgrade (0.7.0)
2014-03-02 17:19:48 +01:00
Marcin Kurczewski
94412a25bb
Fixed obscure search alias bug
...
When trying to search for hidden or disliked posts, it was impossible to search
by any aliases because of some hardcoded stuff. This commit removes the
hardcoded part altogether and fixes aliases support for these search terms.
2014-02-28 21:02:00 +01:00
Marcin Kurczewski
426e104bbe
Added special:fav search aliases
...
It displays favorites of user currently logged in.
2014-02-28 20:57:06 +01:00
Marcin Kurczewski
fa251e60b6
Added :like and :dislike search aliases
2014-02-28 20:54:25 +01:00
Marcin Kurczewski
34b9a80ba7
Moved Sql and Database.php to remote project
2014-02-28 20:44:35 +01:00
Marcin Kurczewski
82b0d9a63a
Newest chibi-core
2014-02-27 15:04:36 +01:00
Marcin Kurczewski
06cdebaccb
Fixed colors in tags pagination
...
Each page had recalculated tag opacity on its own. Now it's calculated against
global maximum.
2014-02-25 13:08:41 +01:00
Marcin Kurczewski
c29a002c06
Fixes of previous commit...
2014-02-24 21:45:47 +01:00
Marcin Kurczewski
cb489d1eca
SQL operator refactor
...
* Added few new operators that were left hardcoded
* Changed "Operator" to "Functor"
* Better hierarchy - less mess
* Serialized SQL queries should contain fewer braces
2014-02-24 21:38:09 +01:00
Marcin Kurczewski
a1378c98b4
Faster entity counting
...
All ORDER BY is discarded when counting entities in search services.
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
e725f8d554
Faster special:liked/disliked computing
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
e43881e03f
Better debug
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
ff8bb761ee
Added comment preloading
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
3a2a686b6c
Faster preloading
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
b144321c76
New Sql operators, because they may come in handy
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
ae09f20910
Fixed date: post search token
2014-02-24 16:50:16 +01:00
Marcin Kurczewski
ec16073539
Fixes to SqlSelectStatement
2014-02-24 16:50:15 +01:00
Marcin Kurczewski
0b10221fed
Fixed small bugs in search services
2014-02-24 00:11:01 +01:00
Marcin Kurczewski
2aefafa473
Favoriting a post automatically votes it up now
...
It's still possible for user to withdraw his vote afterwards for whatever
reason.
2014-02-23 22:46:51 +01:00
Marcin Kurczewski
975da67d33
Fixed tag list search styles
...
Search styles contained 'pending' option when staff was activation enabled
2014-02-23 22:04:26 +01:00
Marcin Kurczewski
4455284bdb
Added a few search aliases
...
Each of "idmin", "datemax" etc got "id_min", "date_max" variant alias.
Additionally, "id" got new "ids" alias.
2014-02-23 22:04:26 +01:00
Marcin Kurczewski
5827626deb
Search services refactor
...
Code rerlated to search query parsing moved to separate classes.
2014-02-23 22:03:59 +01:00
Marcin Kurczewski
4ce4ea6f70
More straightforward next/prev post calculation
...
Instead of getting all three rows at once using abs(id1-id2)<=1, it now asks DB
explicitly about id-1 and id+1. Even though it uses more SQL queries, it's
actually slightly faster.
2014-02-23 10:03:05 +01:00
Marcin Kurczewski
a4fadb218b
Fixed binding too many values to PDO statements
2014-02-23 10:00:21 +01:00
Marcin Kurczewski
f59b92e06c
Fixed showing hidden posts in /comments
...
If user has no privileges to list the hidden posts, comments on such posts
won't show in /comments anymore.
2014-02-23 09:27:50 +01:00
Marcin Kurczewski
9eee8ba612
Mass tag: friendler pagination
...
If user is in mass tag mode and changes target tag but doesn't change the
query, he now remains at the same page. (Concerns only users who have disabled
endless scrolling.)
2014-02-22 23:51:25 +01:00
Marcin Kurczewski
f783552820
Fixed appearance of editing flash and youtube posts
2014-02-22 23:37:48 +01:00
Marcin Kurczewski
c0f52ecf28
Fixed HTML injection in some forms
2014-02-22 23:37:30 +01:00
Marcin Kurczewski
395ac3033f
Fixed HTML validation
2014-02-22 19:47:33 +01:00
Marcin Kurczewski
6af3a0e42b
SQL overhaul: introducing tree-like queries
...
Reason: until now, PostSearchService was using magic to get around the biggest
limitation of SqlQuery.php: it didn't support arbitrary order of operations.
You couldn't join with something and tell then to select something from it.
Additionally, forging UPDATE queries was a joke. The new Sql* classes replace
SqlQuery completely and address these issues. Using Sql* classes might be
tedious and ugly at times, but it is necessary step to improve model layer
maintainability.
It is by no menas complete implementation of SQL grammar, but for current needs
it's enough, and, what's most important, it is easily extensible.
Additional changes:
* Added sorting style aliases
- fav_count
- tag_count
- comment_count
* Sorting by multiple tokens in post search is now possible
* Searching for disliked posts with "special:disliked" always yields results
(even if user has disabled showing disliked posts by default)
* More maintainable next/prev post support
2014-02-22 19:40:10 +01:00
Marcin Kurczewski
1baceb5816
Fixed tag pagination on endless scrolling
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
2bac28a553
More capable privilege system
...
Following privileges for post actions can now understand different settings for
everyone and for uploader:
* Scoring posts
* Featuring posts
* Flagging posts
* Favoriting posts
Additionally, privilege for flagging users can now understand different
settings for everyone and for the user that is currently logged in.
In other words: with this update admin can configure privileges so that scoring
own posts or flagging oneself will be prohibited, while scoring other people's
posts or flagging others will be okay.
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
28037af029
Registered users can mass tag their own posts
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
4420fa588d
Post list errors are shown in nicer way
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
db8e13ec35
Merging and renaming tags yields status messages
...
Previously, it just redirected back to tag list without any kind of
notification about success.
2014-02-21 20:24:37 +01:00
Marcin Kurczewski
1624fd5f63
Tag and user list: a-z order is case insensitive
2014-02-21 20:24:06 +01:00
Marcin Kurczewski
705e3dfba1
Changed LOWER(?) to ? COLLATE NOCASE
2014-02-20 21:32:07 +01:00
Marcin Kurczewski
dd498cf18d
Fixed ban and unban confirmation messages
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
43a33e579d
Tweaks to unit converter
2014-02-18 18:35:58 +01:00
Marcin Kurczewski
2bad17ebdb
Fixed extension in saved posts
2014-02-18 18:35:58 +01:00
Marcin Kurczewski
1352aba438
Fixed saving post original file name to DB
2014-02-18 18:35:58 +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
532fe9f7e6
Added pagination to tag list
2014-02-16 20:10:38 +01:00
Marcin Kurczewski
18bfd6605d
Searching: more robust entity counting
2014-02-16 20:10:38 +01:00
Marcin Kurczewski
0c5fc7e03f
Fixed useless arguments
2014-02-16 20:10:38 +01:00
Marcin Kurczewski
3e99a6336c
Form CSS overhaul
2014-02-16 20:10:34 +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
620d1204f7
Changed footer appearance
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
8161bc9c88
Version upgrade (0.6.1)
2014-02-13 09:39:09 +01:00
Marcin Kurczewski
c99596d12b
Added last login date to users
2014-02-13 09:10:24 +01:00
Marcin Kurczewski
b22e74c0e9
Closed #72
2014-02-05 08:35:24 +01:00
Marcin Kurczewski
6a407fc87a
Fixed #73
2014-02-05 08:22:26 +01:00
Marcin Kurczewski
91b0432067
Fixed css
...
CSS for comments wasn't included in post-view.phtml. This manifested when user
posted a comment thruogh it (AJAX requests don't append CSS from AJAXed pages,
so added it in parent view).
2014-02-02 22:45:41 +01:00
Marcin Kurczewski
f01f55cc8b
Fixed #71
2014-02-02 22:44:13 +01:00
Marcin Kurczewski
0b55dfad04
Markdown: restored ATX headers
...
See be3b39bf42
.
It works again, but it requires putting a space after hash.
2014-02-02 19:23:52 +01:00
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
d170e3b526
Closed #68
2014-02-01 11:23:59 +01:00
Marcin Kurczewski
ac1997d4d0
Refactored search case sensitivity support
2014-02-01 09:54:46 +01:00
Marcin Kurczewski
d085ffe39a
Closed #70
2014-02-01 09:51:37 +01:00
Marcin Kurczewski
d01a087b30
Cosmetic changes
2014-01-27 09:21:52 +01:00
Marcin Kurczewski
36e2e5827c
Closed #69
2014-01-27 09:17:36 +01:00
Marcin Kurczewski
752cbbd016
Fixed undefined method
2014-01-26 13:35:47 +01:00
Marcin Kurczewski
a869c1da1e
Slightly changed comment edit log message
2014-01-25 16:44:37 +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
fd9433a2e3
Edit tokens moved to model
2014-01-25 15:09:20 +01:00
Marcin Kurczewski
be3b39bf42
Markdown: disabled atx-style header support
...
Rationale - collision with tag syntax: if #tag was first word in given line,
the line was treated like header.
2014-01-25 14:09:56 +01:00
Marcin Kurczewski
15486b6e9a
Fixed problems with block-level spoilers
...
Block-level spoilers (= inside <h1>, <li> etc.) were left unparsed.
2014-01-14 23:20:47 +01:00
Marcin Kurczewski
1fcced20f1
Misc CSS tweaks
2014-01-06 19:25:27 +01:00
Marcin Kurczewski
56622b8e9d
Last comments respect safety choice
2014-01-04 12:55:59 +01:00
Marcin Kurczewski
4a9cc4b3bc
Fixed invalid SQL in some circumstances
2014-01-04 12:55:03 +01:00
Marcin Kurczewski
b1fb329fc7
Fixed silly bug
...
Statistics for each user in user list showed comment count instead of post
count.
2013-12-23 16:43:12 +01:00
Marcin Kurczewski
306c6478b4
Micro optimalizations
...
Saved 0.015s on various things, mostly thanks to new chibi-core caching
2013-12-23 10:10:03 +01:00
Marcin Kurczewski
8cfc2aeb2a
Fixes for MySQL driver
2013-12-18 17:49:22 +01:00
Marcin Kurczewski
9a9220ab24
Version upgrade (0.6.0)
2013-12-18 17:38:22 +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
8c0c5269c4
Fixed 404 pages
2013-12-16 23:38:31 +01:00
Marcin Kurczewski
95961fe7d5
Added tag sorting here and there
...
- Title attribute in post thumbnail
- Page title in post view
- Footer in featured post
2013-12-14 16:55:07 +01:00
Marcin Kurczewski
1c6b10f966
Fixed 1px bug
2013-12-14 16:49:43 +01:00
Marcin Kurczewski
5b25250209
Optimalizations
2013-12-14 14:50:30 +01:00
Marcin Kurczewski
c7c5cde2b6
Fixed removing from favorites
2013-12-14 12:51:11 +01:00
Marcin Kurczewski
5d45d6da2c
Support for MySQL
2013-12-14 12:51:08 +01:00
Marcin Kurczewski
31bc799518
Markdown: fixes related to <pre> blocks
2013-12-08 12:12:45 +01:00
Marcin Kurczewski
8f906d83bf
Added active section indicator
2013-12-05 23:57:33 +01:00
Marcin Kurczewski
b8e37a234a
Better looking query debug
2013-12-05 22:22:11 +01:00
Marcin Kurczewski
40e70c4305
User settings: new option to hide disliked posts
2013-12-05 22:21:15 +01:00
Marcin Kurczewski
0d3bb32e9c
Refactor to HTML structure
...
- <script> moved outside <ul>
- Youtube posts pass W3C validation
2013-12-01 15:16:10 +01:00
Marcin Kurczewski
4c1bb44e59
Fixed rare bug in prev/next post
...
If tag/user/whatever from last search was deleted after viewing a post,
refreshing the page with that post would yield "Invalid tag/user/whatever"
error.
I changed it so that when retrieving previous/next post for latest search query
throws any errors, saved search query gets resetted to empty one.
2013-12-01 14:47:35 +01:00
Marcin Kurczewski
0001d38699
Further tweaks to model
...
- Fixed broken negative searches
- Faster search by tag / comment / submit / favorites (useless nested joins
replaced to entity prefetch). Side effect: searching for nonexistent tags,
users etc yields informative errors instead of "no posts to show")
- Fixed duplicated column in order clause ("ORDER BY id DESC, id DESC")
2013-11-30 19:07:39 +01:00
Marcin Kurczewski
992b9ba5ac
Restored previous entity retrieval
...
Using temporary tables turned out to be more expensive on bigger databases.
Restoring two queries version.
2013-11-30 18:13:46 +01:00
Marcin Kurczewski
4285aff671
Fixes to preloading
2013-11-30 16:19:48 +01:00
Marcin Kurczewski
31ccb9a281
Optimalization: changed entity retrieval
2013-11-30 14:23:53 +01:00
Marcin Kurczewski
01c54d4d83
Optimalization: simplified selectors
...
Squash
2013-11-30 14:23:46 +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
5a231b19c3
Bugfix to JS (unknown variable error)
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
3dd3ca5d99
Optimalization: moved <script> from HEAD to footer
2013-11-30 01:10:58 +01:00
Marcin Kurczewski
1e954bb815
Optimalization: faster but dirty row retrieval
2013-11-30 01:10:55 +01:00
Marcin Kurczewski
d570bc1790
Optimalization: sidebar options structure
...
- options rendering moved to separate file
- simplified template code
- removed redundant JS
2013-11-30 00:55:28 +01:00
Marcin Kurczewski
5e58488f3e
Optimalization: simplified tabs structure
2013-11-30 00:05:03 +01:00
Marcin Kurczewski
2a625db683
Added support for backets in tag names
2013-11-29 10:42:56 +01:00
Marcin Kurczewski
ef70c1523f
HTML validation
2013-11-27 17:42:26 +01:00
Marcin Kurczewski
89a1b1acf7
Version upgrade (0.5.0)
2013-11-26 18:18:54 +01:00
Marcin Kurczewski
f226c3eb0c
Fixed hotkeys conflicting with Flash on Chrome
2013-11-25 22:23:48 +01:00
Marcin Kurczewski
c683fa3b0f
User settings: added opt-in tags in post thumbs
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
9819416f35
Markdown: fixed matching ( ) and { } in links
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
d461a88001
Refactor to query builder; added triggers
...
Instead of recomputing comment/fav/tag count from scratch on every request,
store it in DB as *_count columns that get updated with proper triggers.
2013-11-24 21:41:38 +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
0b22f2621e
Markdown tweaks
...
- Faster log rendering
- New transform kind: simpleTransform()
2013-11-23 20:00:02 +01:00
Marcin Kurczewski
c5292580ce
Post edit: added custom thumbnail indicator
2013-11-23 17:29:08 +01:00
Marcin Kurczewski
f8e19779a0
Cosmetic change to property model
2013-11-23 17:29:01 +01:00
Marcin Kurczewski
3b532532d1
Post edit: post content can now be replaced
2013-11-23 17:27:56 +01:00
Marcin Kurczewski
ee224b84db
Tag list: added info when there are no tags
2013-11-23 16:03:43 +01:00
Marcin Kurczewski
d274f1c044
Fixed featured post quirks
...
- fixes for empty database
- when post was deleted, new one is selected automatically
2013-11-23 16:03:40 +01:00
Marcin Kurczewski
fdd49d783a
Compressed logs from uploads
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
18f7fff21f
Uploading: empty files yield better error message
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
81017e18cb
Logging: improved grammar a little
2013-11-23 15:39:19 +01:00
Marcin Kurczewski
618f9e3d77
Any post type can be featured now
...
Automatic generator still searches only for images though.
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
db602f08d3
Better handling of anonymous user names
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
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
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
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
7d6bab9590
Fixed ce302c438d
2013-10-25 13:20:57 +02:00
Marcin Kurczewski
2279e5605b
Closed #37
2013-10-25 13:18:03 +02:00
Marcin Kurczewski
4ecb3f3b81
Fixed updating safety settings
2013-10-25 11:55: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
b5070e06fe
Fixed thumbnail generating
2013-10-23 22:16:08 +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
872780397d
Fixed thumbnail cache
...
Custom thumbnails were loaded only after hard ctrl+f5. Now they should be
loaded with f5 alone.
2013-10-22 23:58:55 +02:00
Marcin Kurczewski
d135f84bf2
Added paginator CSS to comments
2013-10-22 23:57:57 +02:00
Marcin Kurczewski
31f07672c4
Improved #33
2013-10-22 23:57:53 +02:00
Marcin Kurczewski
328d3f833b
Fixed default user settings regarding safety
2013-10-22 21:56:27 +02:00
Marcin Kurczewski
87eaa9ba9e
Closed #33
2013-10-22 21:44:22 +02:00
Marcin Kurczewski
18097b6192
Closed #45
2013-10-22 11:40:10 +02:00
Marcin Kurczewski
739e5d3b5d
Added uploader avatar
2013-10-22 09:24:17 +02:00
Marcin Kurczewski
7cc2a98992
Post edit form moved to separate file
2013-10-22 00:39:41 +02:00
Marcin Kurczewski
7f9aaad324
User settings DB column greatly compressed
2013-10-22 00:30:12 +02:00
Marcin Kurczewski
319a9852fc
Fixed deleting and (un)hiding
2013-10-22 00:20:58 +02:00
Marcin Kurczewski
d45ab47d3b
Always test your goddamn code
2013-10-22 00:18:41 +02:00