Commit Graph

  • 0ec0de4414 Replace deprecated strftime calls master Aaron 2022-05-07 13:25:19 +02:00
  • 69417c36ed Merge pull request 'EXIF: prefer DateTimeOriginal over DateTimeDigitized' (#27) from exif-date-time-original into master Roflin 2022-02-16 21:56:04 +01:00
  • f2d8a32e67 EXIF: prefer DateTimeOriginal over DateTimeDigitized minnozz 2022-02-16 21:43:55 +01:00
  • 4863561129 Merge pull request 'Refactor generic tables and page index classes' (#26) from refactor-tables into master Roflin 2021-05-17 20:19:18 +02:00
  • 8474d3b2b2 Merge pull request 'Modernise autosuggest code' (#25) from autosuggest into master Roflin 2021-05-17 20:19:05 +02:00
  • 3bf69fd21f Prevent XSS in error log viewer. Aaron 2021-03-10 17:09:01 +01:00
  • 237f4005bd Apply htmlspecialchars to basic values. Aaron 2021-02-17 22:44:26 +01:00
  • 4bf4641428 Minor refactor of generateColumnHeaders function Aaron 2021-02-17 20:38:27 +01:00
  • ff808ba18d Refactor processing of raw rows and their cell data. Aaron 2021-02-17 20:35:30 +01:00
  • 6c662481bc Remove a few obscure, unused features. Aaron 2021-02-17 20:15:31 +01:00
  • af73f00701 Restrict access to GenericTable, Pagination class members. Aaron 2021-02-17 20:08:22 +01:00
  • 681af07985 Pass builder function for custom pagination link generation. Aaron 2021-02-17 20:06:33 +01:00
  • cba42a9129 Refactor GenericTable to use PageIndex rather than inherit from it Aaron 2021-02-17 16:41:58 +01:00
  • 96937b6952 Use null-coalescing operator where appropriate Aaron 2021-02-17 16:09:49 +01:00
  • 5c55e45c3c Use splat operator instead of call_user_func_array Aaron 2021-02-17 16:09:38 +01:00
  • 70e6001c85 Replace event.keyCode with event.key equivalents. Aaron 2021-02-16 15:24:42 +01:00
  • 4402521051 Highlight matching string in autosuggest entries. Aaron 2021-02-15 12:10:09 +01:00
  • 889302cd36 Modernise AutoSuggest and TagAutoSuggest classes. Aaron 2021-02-15 11:55:08 +01:00
  • cae5c6e5cf Merge pull request 'Add readme and license files' (#24) from readme into master Aaron 2020-12-30 20:09:04 +01:00
  • 162d14b35f Merge pull request 'Refactor work for Thumbnail class' (#23) from thumbnail-refactor into master Aaron 2020-12-30 20:08:02 +01:00
  • 555c61937b Minor Thumbnail refactors from upstream Kabuki. Aaron 2020-12-30 13:02:47 +01:00
  • d069ddca18 Merge pull request 'Make crop editor usable' (#22) from crop-editor into master Aaron 2020-12-30 20:06:15 +01:00
  • 71b71f8a03 Merge pull request 'Set JPEG compression to 80 for thumbnails' (#21) from thumbnail-quality into master Aaron 2020-12-30 20:05:46 +01:00
  • 2885e24456 Merge pull request 'Prevent blank pages on session errors' (#20) from session-errors into master Aaron 2020-12-30 20:05:27 +01:00
  • c72e24c0c7 EditAsset: refactor common expression into its own variable. Aaron 2020-12-30 15:34:55 +01:00
  • b8191bf554 EditAsset: handle case where suffix is null. Aaron 2020-12-30 15:33:13 +01:00
  • 3594b3d021 Add BSD 3-clause license. Aaron 2020-12-30 13:55:30 +01:00
  • 936d3d20db Add a readme file to the repo. Aaron 2020-12-30 13:55:16 +01:00
  • 5c4a075231 Constrain aspect ratio conservation to image boundaries as well. Aaron 2020-12-30 12:56:17 +01:00
  • 6ddf518294 Grow image and its container with document height. Aaron 2020-12-17 20:48:11 +01:00
  • 66a411973a Constrain crop proportions by default, with checkbox to disable. Aaron 2020-12-17 13:05:24 +01:00
  • a83b938f8a Reposition crop boundary when window resizes. Aaron 2020-12-17 12:56:41 +01:00
  • 5344378333 Crop editor: interpret 'cs' as centre-sliced crop. Aaron 2020-12-17 11:56:38 +01:00
  • 8147e2b97d Crop editor: do not allow selections starting outside image bounds. Aaron 2020-12-06 18:21:29 +01:00
  • d562c70667 Improve styling of form elements. Aaron 2020-11-29 17:54:32 +01:00
  • 5599ff8d9b Crop editor: use numeric input boxes with appropriate constraints. Aaron 2020-11-29 17:28:52 +01:00
  • e7490e40dd Clean up and force a rebuild of thumbnails when customising a crop region. Aaron 2020-11-29 17:12:27 +01:00
  • 6fcc2eb59f EditAsset: generate any pending thumbnails here as well. Aaron 2020-11-29 16:35:44 +01:00
  • b793e05980 Re-assign thumbnail suffix for CROP_MODE_BOUNDARY. Aaron 2020-11-29 16:18:41 +01:00
  • 340ed84272 Show first available thumbnail instead of a potentially hidden one. Aaron 2020-11-24 11:41:15 +01:00
  • 93884e2e93 Fix initial slicing dimensions in CropEditor.setDefaultCrop. Aaron 2020-11-24 11:33:16 +01:00
  • 2a740d8cef Constrain boundary movement to image canvas. Aaron 2020-11-23 20:46:13 +01:00
  • 5e0d4df2f7 Allow moving/dragging the crop boundary. Aaron 2020-11-23 20:36:46 +01:00
  • e84c4f2b43 Constrain crop selection to image dimensions. Aaron 2020-11-23 20:20:37 +01:00
  • 893d31af52 Proper dragging of the crop bounding rectangle/area. Aaron 2020-11-23 19:00:42 +01:00
  • 5895f4faa6 Rewrite CropEditor.positionBoundary Aaron 2020-11-23 18:13:57 +01:00
  • 8e7a09f3f3 Initial version of crop boundary dragging. Aaron 2020-11-23 18:13:38 +01:00
  • 837c92db44 CropEditor: split setDefaultCrop from setInputValues and rename. Aaron 2020-11-23 17:52:54 +01:00
  • c392105814 Refactor crop editor DOM functions. Aaron 2020-11-23 12:42:02 +01:00
  • 9d95df81fe WIP: finally implement drag events. Aaron 2020-11-23 12:35:42 +01:00
  • d4cc72304e Use flexbox for crop editor box sizing. Aaron 2020-11-23 12:35:20 +01:00
  • 2c68b6a798 Improve crop editor styling. Aaron 2020-11-23 12:22:05 +01:00
  • fd84e1c9f8 Refactor crop editor into a proper class. Aaron 2020-10-19 19:59:54 +02:00
  • 8d02662eb3 Set JPEG compression to 80 for thumbnails. Aaron 2020-03-22 22:56:53 +01:00
  • 31f4edc996 Register ErrorHandler before Session start. Aaron 2020-03-11 22:36:21 +01:00
  • a208c0482f Invoke Dispatcher::kickGuest from Session for invalid sessions. Aaron 2020-03-11 22:23:43 +01:00
  • 909d50efa8 Merge pull request 'Rework album/tag downloads' (#19) from tag-download into master Roflin 2020-03-11 20:04:26 +01:00
  • bd1ca8d18c Use $_SESSION['current_export'] to prevent simultaneous exports. Aaron 2020-03-11 18:57:31 +01:00
  • c7d3b9c3d1 Disable output buffering so we can enjoy more than ~62MB of photos. Aaron 2020-03-11 12:31:31 +01:00
  • 5a51778a6a Clean up tar process handling; make stdout non-blocking. Aaron 2020-03-11 12:13:04 +01:00
  • 2bb29d7224 Minor optimisation to Download::getChildAlbumIds. Aaron 2020-03-01 17:09:58 +01:00
  • 1b7e83e11e Let tar change working directory to assets directory. Aaron 2020-03-01 17:07:10 +01:00
  • 354e54a0af Limit album/tag downloading on a user basis. Aaron 2020-03-01 17:00:18 +01:00
  • 17859b70e9 Fix tag suggestions. Aaron 2020-02-22 17:40:34 +01:00
  • 6a7defcdc9 Allow going back to photo directly from Edit Asset screen. Aaron 2020-02-18 12:47:19 +01:00
  • f193b614b7 Port basic asset management page from Kabuki. Aaron 2020-02-18 12:46:03 +01:00
  • 12ea378b02 Photo uploader: reduce client memory usage. Aaron 2020-02-08 20:35:26 +01:00
  • 62900e7f81 Correct JSON media type. Aaron 2019-09-29 15:00:28 +02:00
  • c48ba786c1 Refactor leftover old-style arrays into new-style arrays. Aaron 2019-09-29 14:47:56 +02:00
  • 3694819d13 Refactor out DummyBox objects from EditUser controller. Aaron 2019-09-29 14:38:42 +02:00
  • d7b68995e8 Fix recounting not working on non-album tags. Aaron 2019-09-29 14:20:43 +02:00
  • 5df7ea8371 Remove unused 'best color' algorithm. Aaron 2019-09-29 14:16:50 +02:00
  • 7d3ab166c7 Simplify template logic for photo index. Aaron 2019-09-29 14:12:30 +02:00
  • ed6054e6b6 Fix buttons appearing when they shouldn't. Aaron 2019-09-29 14:05:45 +02:00
  • 3fc8ccf550 Merge branch 'tag-improvements' of Public/pics into master Roflin 2019-03-16 12:12:25 +01:00
  • 6a7c7af7b8 Merge branch 'fix/9' of Public/pics into master Roflin 2019-03-16 12:12:13 +01:00
  • 8ec6c227d5 Remove leftover debug statements. Aaron 2019-03-09 13:58:37 +01:00
  • 42e5c7fe37 Allow regular users to unlink tags from photos. Aaron 2019-03-09 13:48:18 +01:00
  • 05c48be785 Link tags after adding them through autosuggest. Aaron 2019-03-09 13:22:32 +01:00
  • d3cb750874 Default to centre cropping for portrait layout. Aaron 2019-03-09 12:50:16 +01:00
  • 20db3561cf Adds the ability to export an album using streaming tar. Roflin 2018-12-26 10:31:57 +01:00
  • 768f5ee529 Fixes an error related to using continue within a loop. Roflin 2018-12-26 10:30:14 +01:00
  • 16ec547064 Changes the ConfirmDelete page and updates database code. Roflin 2018-07-08 08:19:37 +00:00
  • e40c05c1f8 Adds a Confirm Delete page and actually delete the assets. Roflin 2018-07-07 12:21:12 +00:00
  • 344db6e4c5 Adds a Delete button to the ViewPhotoPage. Roflin 2018-07-02 18:32:59 +00:00
  • fcbbc7106d Fixes the template config for new websites Roflin 2018-06-30 17:02:03 +00:00
  • 331193019c Fixes sorting on Tag Id in the ManageTags View. Roflin 2018-03-15 21:36:24 +01:00
  • bcbb74a680 Allow setting URL slug through admin panel. Aaron 2018-02-22 20:07:06 +01:00
  • c6c249787f Pass DIY slug when uploading photos. Aaron 2018-02-22 20:02:02 +01:00
  • 068d1dad3e Allow capitals in tag slugs. Aaron 2018-02-19 11:54:56 +01:00
  • f1408ad2ee Allow capitals and slashes in album slugs. Aaron 2018-02-19 11:54:29 +01:00
  • 8b73420936 Makes the Reply-To header e-mail address configurable. Roflin 2018-02-03 20:50:23 +01:00
  • ee304dd7b9 When generating thumbnails, infer width properly when null is passed. Aaron 2018-02-03 20:14:40 +01:00
  • 1def1484cb Backport asynchronous thumbnail generation from Kabuki. Aaron 2017-12-20 14:51:23 +01:00
  • 981b652e25 Fix album title box on mobile. Aaron 2017-11-22 11:22:38 +01:00
  • cda7f3115c Fix crop editor. version-1.2 Aaron 2017-11-09 16:14:20 +01:00
  • e439a074a6 Increase tile height for album thumbnails, making them 4:3. Aaron 2017-11-09 15:57:16 +01:00
  • ee9bdd45c0 Leave out labels on photo index pages. Aaron 2017-11-09 15:55:23 +01:00
  • 9fe8acc747 Change colour palette into something more befitting #RU. Aaron 2017-11-09 15:55:08 +01:00
  • 096cea078c Support 'quick create subalbums' style, too. Aaron 2017-11-05 17:31:17 +01:00