Marcin Kurczewski
99845af35b
Fixed inability to feature a post on empty db
2014-11-09 21:32:29 +01:00
Marcin Kurczewski
58b7a3ac6b
Fixed post relations wiped out on mass tag
2014-11-09 20:57:16 +01:00
Marcin Kurczewski
6679afbb6b
Added "created" snapshot operation
2014-11-09 17:38:58 +01:00
Marcin Kurczewski
2ede81e1d8
Fixed default tag category
2014-11-09 17:38:58 +01:00
Marcin Kurczewski
178b17897c
Changed snapshot to JSONs
2014-11-09 17:38:58 +01:00
Marcin Kurczewski
ad8b235bb8
Banned a few characters from usage in tags
2014-11-09 17:38:58 +01:00
Marcin Kurczewski
61317d8b4d
Added manual sequencers
2014-11-09 17:38:58 +01:00
Marcin Kurczewski
fadd4bf447
Improved verbosity of upgrades
2014-11-09 17:38:58 +01:00
Marcin Kurczewski
98c8d05d42
Changed upgrade report to be more real-time
2014-11-09 17:38:57 +01:00
Marcin Kurczewski
5ceecbd0ca
Changed storage of executed upgrades to DB
2014-11-09 17:36:25 +01:00
Marcin Kurczewski
646b155b07
Fixed PHP-DI's fuckup
2014-11-09 13:00:14 +01:00
Marcin Kurczewski
ad9d0e57ad
Fixed tag removal snapshot
2014-11-07 14:58:29 +01:00
Marcin Kurczewski
cb53572a2d
Added tag history section to tag presenter
2014-11-07 14:04:22 +01:00
Marcin Kurczewski
e64fb9bfad
Added tag snapshots to backend
2014-11-07 14:03:30 +01:00
Marcin Kurczewski
f9528f8183
Switched to subqueries from manual fetching
2014-11-06 20:00:52 +01:00
Marcin Kurczewski
a55bd7686c
Improved performance of comment searching
2014-11-06 19:52:40 +01:00
Marcin Kurczewski
4578f7a7a4
Fixed searching for favs and comments
2014-11-06 19:50:07 +01:00
Marcin Kurczewski
005d857cfb
Added manual tag removal
2014-11-04 19:32:32 +01:00
Marcin Kurczewski
78ccff843c
Removed tag autodeletion
2014-11-04 19:32:32 +01:00
Marcin Kurczewski
253cac4cc1
Fixed deleting tags that are marked as banned
2014-11-03 21:14:45 +01:00
Marcin Kurczewski
703cc4724a
Fixed backend crash on tag editing
2014-11-03 13:15:55 +01:00
Marcin Kurczewski
7406f76a5a
Fixed post featuring
2014-10-31 23:22:20 +01:00
Marcin Kurczewski
42039ddf26
Changed post notes to work with %-based coords
2014-10-26 22:08:54 +01:00
Marcin Kurczewski
31c4584e94
Added post note information to post snapshots
2014-10-26 11:18:59 +01:00
Marcin Kurczewski
eefdfd7834
Fixed post snapshots being non-deterministic
2014-10-26 01:42:23 +02:00
Marcin Kurczewski
a9d8383f7d
Extracted post history services
2014-10-26 01:42:23 +02:00
Marcin Kurczewski
f169bef0eb
Added note CRUD to backend
2014-10-26 01:42:23 +02:00
Marcin Kurczewski
5124733ee6
Fixed NetworkingService not using MimeHelper
2014-10-25 23:59:08 +02:00
Marcin Kurczewski
6ebd1e56ee
Removed fileinfo dependency
...
Recent changes in thumbnail generators revealed that finfo module cannot
be relied on - I found a GIF file that started with usual "GIF87a", and
yet finfo reported its mime type to be "application/octet-stream".
This change removes reliance on finfo module and implements detecting
common file types supported by szurubooru in manual fashion. This might,
of course, introduce some bugs that weren't present when using finfo.
However, this change was made exactly because of such bug - while
previously such edge cases were impossible to fix, now they can be
dealt with accordingly in our own code.
Also from what I saw on the Internet, getting fileinfo to work on
Windows is a lot of trouble, so this change is welcome from that angle,
too.
2014-10-25 23:59:07 +02:00
Marcin Kurczewski
8bae666275
Improved error messages in ImageConverter
2014-10-25 18:49:03 +02:00
Marcin Kurczewski
ef98e00b15
Fixed featuring the same post bumping counter
2014-10-25 18:31:53 +02:00
Marcin Kurczewski
3dbb2b06be
Fixed relations being wiped out when saving
...
The code worked like this:
1. Delete old relations
2. Get related entities
3. Save old relations
If the entity hasn't retrieved relations until now, autoloader tried to
get related entities /after/ they were deleted.
2014-10-25 18:31:53 +02:00
Marcin Kurczewski
f72b0216a5
Fixed "featured by" showing post uploader
2014-10-25 18:20:39 +02:00
Marcin Kurczewski
f3a4c9ee67
Added post note retrieval in backend
2014-10-25 14:16:19 +02:00
Marcin Kurczewski
e03ed35862
Added post note DAO
2014-10-25 14:16:19 +02:00
Marcin Kurczewski
ccca71c1b8
Added optipng/jpgoptim support to thumbnails
2014-10-25 14:16:19 +02:00
Marcin Kurczewski
60f4dd9d4a
Fixed getting dimensions of videos and flashes
2014-10-24 18:25:33 +02:00
Marcin Kurczewski
20d75e177d
Improved performance of "hide downvoted"
2014-10-20 20:15:45 +02:00
Marcin Kurczewski
ea77a662ad
Fixed searching for liked/disliked posts
2014-10-19 21:19:40 +02:00
Marcin Kurczewski
16e4a4a7e7
Fixed fpdo leftovers
2014-10-19 21:15:25 +02:00
Marcin Kurczewski
c52ed6a455
Abandoned FPDO
...
Also, fixed tag search by categories
2014-10-19 20:09:06 +02:00
Marcin Kurczewski
368ca1ae3f
Added tag filtering by category
2014-10-19 15:51:57 +02:00
Marcin Kurczewski
462708c1d8
Fixed siblings occasionally removing wrong tag
2014-10-19 15:32:11 +02:00
Marcin Kurczewski
c43db03624
Fixed input tag shown as its own sibling
2014-10-19 13:36:54 +02:00
Marcin Kurczewski
614834c99c
Added tag categories
2014-10-19 13:13:02 +02:00
Marcin Kurczewski
e6fc010897
Improved message when renaming tag to existing one
2014-10-18 18:54:11 +02:00
Marcin Kurczewski
7939aa5431
Fixed tags being able to relate to themselves
2014-10-18 18:54:11 +02:00
Marcin Kurczewski
d49aef6e47
Added script for generating thumbnails
2014-10-18 18:48:42 +02:00
Marcin Kurczewski
a2fefc6560
Fixed YET ANOTHER fpdo fuckup.
...
This library sucks donkey's balls.
2014-10-18 18:48:42 +02:00
Marcin Kurczewski
b7f077df9b
Added tag searching
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
bf58207950
Improved tag list appearance; added more info
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
231d6a732f
Improved readability of privilege error messages
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
d30fd1a9de
Improved sibling tag order
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
5815f156a8
Added tag relationship management to backend
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
1b82504f08
Improved tag edit performance
...
Post history rewrite happens only when tag has really changed its name.
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
34e220d465
Improved tag export performance
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
790c3e10c6
Added tag implications and suggestions to export
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
0bd0589e32
Added tag relations database interface
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
850e496215
Removed IDs from tags.json
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
250ffb209f
Added tag banning
2014-10-18 18:48:41 +02:00
Marcin Kurczewski
6209cc7833
Refactored tag creating
2014-10-18 18:48:40 +02:00
Marcin Kurczewski
8f03c68ec8
Changed tag export structure
2014-10-18 18:48:40 +02:00
Marcin Kurczewski
35b893db9d
Fixed user banning privilege
2014-10-18 18:48:40 +02:00
Marcin Kurczewski
5a4d5797d8
Added aliases for date-based searches
2014-10-18 18:48:40 +02:00
Marcin Kurczewski
7f560d96d4
Improved migration script performance
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
3ae01ee4e8
Fixed restricted user unable to view his profile
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
7a15a590ed
Changed viewing access ranks to require privilege
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
fc13fb1342
Changed default access rank to restricted user
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
1ca61e368b
Added new user access rank
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
f114c65355
Added default tag order to post view proxy
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
5187d3a788
Fixed duplicate and missing search orders
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
fadd37fe84
Fixed uploader: SQL ambiguity
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
6015199559
Added tag siblings to API
2014-10-18 18:48:39 +02:00
Marcin Kurczewski
1415f5c521
Fixed comments showing disliked posts
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
a1b71ed9e1
Disabled blank thumbnail saving
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
823fa2da15
Removed useless dependency in UserService
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
99b08879bd
Improved search speed
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
78759a6557
Added migration script
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
2f6b56b08c
Fixed comment saving
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
48519014fc
Added default timezone
2014-10-18 18:48:38 +02:00
Marcin Kurczewski
672185f959
Added tag name changing
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
74e6e008dc
Implemented mass tag
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
abc3259222
Fixed avatars for anonymous users
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
93291e5164
Added ability to loop video posts
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
4d20e1bfc4
Added random optimizations
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
3010bd52f2
Faster ETag computation
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
04bdb04f20
Added meaningful name to saved posts
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
6c9954f298
Reduced responsibilities of HttpHelper
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
3744f0429a
Split FileService to NetworkingService and FileDao
2014-10-18 18:48:37 +02:00
Marcin Kurczewski
632bac8661
Added "use ..." statements
...
This version ditches backwards compatibility with PHP earlier than 5.6.
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
5bc73d220e
Added removal of unused tags
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
76d9e95e4b
Moved tag export to service
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
25f1e5b83d
Fixed order of comments
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
e85293f338
Improved error message when search requires auth
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
287c3c1cb3
Fixed post search parsing
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
d1c2c77eb5
Fixed privilege checking
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
49124298a2
Added tag listing
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
7579d962ba
Added NotSupportedException
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
731eb6561b
Added creation time to tags
2014-10-18 18:48:36 +02:00
Marcin Kurczewski
9379b4945a
Moved tag synchronization to TagService
2014-10-18 18:48:36 +02:00