summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-11-03Properly delete multipastes when deleting a single pasteFlorian Pritz1-4/+4
mmultipaste->delete_id() also deletes multipaste tarballs which would otherwise be left over Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-11-03Fix deletion of multipaste tarball when deleting a multipasteFlorian Pritz1-1/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-11-02Add tarball support to multipastesFlorian Pritz8-2/+262
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-29Simplify creation of initial userFlorian Pritz2-7/+68
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-29Make email sender configurableFlorian Pritz3-8/+5
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-27install.php: Check for PHP modulesFlorian Pritz1-0/+17
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-19Update NEWSFlorian Pritz1-0/+1
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-19Merge postgresql supportFlorian Pritz19-366/+599
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-19Clean up the postgres changesFlorian Pritz6-23/+21
Style cleanup and some regression fixes Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-15add file/do_multipaste to CSRF exception listFlorian Pritz1-0/+1
This is only needed for clients not yet using api keys. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-10Merge remote-tracking branch 'rafi/master' into rafiFlorian Pritz19-366/+601
2014-10-03Colorbox: Disable transition, start at 100% sizeFlorian Pritz1-0/+4
No transitions makes it easier to compare images that are not the same size. Starting at 100% gets rid of the weird looking small box while loading a big image (only when opening, not when switching between images). Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Only use colorbox if it's loadedFlorian Pritz1-18/+23
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Support EXIF orientation in colorboxFlorian Pritz5-31/+131
This also reindents colorbox.css. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Rework image manipulation classFlorian Pritz5-172/+297
This is the first of hopefully more classes using namespaces and proper classes that can be used as objects rather than CI's singleton approach. The namespace is mainly used to gain nice autoloading capabilities and it's not really yet used for separation. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Move thumbnail code to dedicated classFlorian Pritz3-176/+175
This also moves the code from mfile->image_dimension() to the only place where it was called. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-10-03Add colorbox on thumnail pagesFlorian Pritz7-1/+1342
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-09-28Merge branch 'pgsql_controllers'Rafael Bodill3-39/+35
* pgsql_controllers: file/cron: Protecting identifiers Fixing multipaste delete queries
2014-09-28file/cron: Protecting identifiersRafael Bodill1-1/+2
2014-09-20Update NEWSFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-09-20thumbnails: Handle EXIF orientationFlorian Pritz1-0/+63
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-09-20Improve handling of PHP errorsFlorian Pritz2-1/+59
This converts any error (including INFO, NOTICE and those hidden with @) to an exception and displays a nice error page for uncaught exceptions. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-09-19Fixing multipaste delete queriesRafael Bodill2-38/+33
2014-09-19Merge branch 'pgsql_controllers'Rafael Bodill6-196/+210
* pgsql_controllers: Fix user/register mistaken query handling WIP: Cascading delete where_in for in array queries a proper count usage Fix timestamp adjusting for a list of arrays Correct unsupported open/close where query statements File controller uses query builder, except 2 queries Integrating query builder in models User controller queries built dynamically Query builder in user login and controller
2014-09-19Merge branch 'pgsql_migrations'Rafael Bodill13-170/+395
* pgsql_migrations: Optimizing multipaste tables apikeys.created should be timestamp with default now() No column based encoding. Reverting dbforge migration Correcting bracket style for 'if' Migrations support for PostgreSQL
2014-09-19Fix user/register mistaken query handlingRafael Bodill1-1/+1
2014-09-19Optimizing multipaste tablesRafael Bodill1-17/+7
2014-09-19WIP: Cascading deleteRafael Bodill2-20/+40
2014-09-19where_in for in array queries a proper count usageRafael Bodill2-4/+4
2014-09-19Fix timestamp adjusting for a list of arraysRafael Bodill1-2/+6
2014-09-19apikeys.created should be timestamp with default now()Rafael Bodill1-1/+1
2014-09-19Correct unsupported open/close where query statementsRafael Bodill1-3/+1
2014-09-19No column based encoding. Reverting dbforge migrationRafael Bodill1-15/+31
2014-09-19File controller uses query builder, except 2 queriesRafael Bodill1-32/+36
2014-09-18Integrating query builder in modelsRafael Bodill2-51/+42
2014-09-18User controller queries built dynamicallyRafael Bodill1-74/+72
2014-09-18Correcting bracket style for 'if'Rafael Bodill13-95/+56
2014-09-18Query builder in user login and controllerRafael Bodill2-20/+19
2014-09-18Migrations support for PostgreSQLRafael Bodill13-168/+426
2014-09-11Fix black background in thumbnails with transparencyFlorian Pritz1-0/+6
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-30Update NEWSFlorian Pritz1-0/+3
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-30Improve migration error messageFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-30Merge tag '2.2.0' into workingFlorian Pritz2-8/+9
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Set title on code render pageFlorian Pritz1-0/+2
This got lost in the multipaste change. Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Document multipastes on the front pageFlorian Pritz1-0/+7
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Fix code renders for cli clientsFlorian Pritz2-0/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Merge branch 'multipaste' into workingFlorian Pritz26-460/+1128
2014-08-29Increase padding for anchorsFlorian Pritz1-2/+2
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29add multipaste supportFlorian Pritz22-301/+939
Signed-off-by: Florian Pritz <bluewind@xinu.at>
2014-08-29Add multiple file input boxes on upload formFlorian Pritz2-6/+36
Signed-off-by: Florian Pritz <bluewind@xinu.at>