Commit Graph

414 Commits

Author SHA1 Message Date
Nils Asmussen
96bd6b240b Better highlighting of selected items.
Especially for albums, it is difficult to which ones are
chosen for an operation, because in contrast to photos, the
only change is the thin blue border.

This commit adds a new CSS class, that is set when items
have been selected. Currently, it sets a 2px border instead
of 1px.
2016-08-01 15:33:21 +02:00
Tobias Reich
066fc90056 Syntax adjustment for contextMenu.js 2016-07-31 16:12:14 +02:00
Tobias Reich
2b698ca024 Removed disabled context menu item class
Removed unsed disabled class from context menu now where we are using the disabled option of basicContext
2016-07-31 16:11:59 +02:00
Tobias Reich
2da195f925 Use disabled functionality of basicContext 2016-07-31 16:03:08 +02:00
Tobias Reich
0c7d95fb15 Syntax adjustments 2016-07-31 15:53:34 +02:00
Tobias Reich
1020b0d1dc Merge branch 'subalbums' of https://github.com/hrniels/Lychee into feature/subalbums 2016-07-31 15:26:34 +02:00
Nils Asmussen
8b37d122b9 Fixed bug in countSubAlbums. 2016-07-30 15:11:49 +02:00
Nils Asmussen
f7e31c2be7 Fixed bug in album.setTitle. 2016-07-30 15:04:03 +02:00
Nils Asmussen
ffef7e3d8f Fixed bug in multiselect, introduced by 6d4df5f. 2016-07-30 14:51:24 +02:00
Nils Asmussen
daf7d37c84 Prevent album merge errors on client-side.
Previously, we allowed that and reported an error in this case. Now,
the user can no longer select a parent album for merging it into a
subalbum. It is still checked on the server, though.
2016-07-30 12:04:07 +02:00
Nils Asmussen
cdd130b243 Let the user know that deleting an album deletes subalbums, too. 2016-07-30 11:20:30 +02:00
Nils Asmussen
d121e2c4f6 Go to parent album on ESC. 2016-07-30 00:00:54 +02:00
Nils Asmussen
55247e4f56 Load album view just once. 2016-07-29 23:56:45 +02:00
Nils Asmussen
ef9040870a Added basic subalbum support.
That is, albums can now contain other albums, which are shown at
the top of the album view. This required some changes to album.js
and the contextMenu.js, because this view contains now both
photos and albums.

The contextMenu on this view has been kept simple by requiring
the user to select either only albums or only photos, but not
a mixture of both.

This feature required a database change, so that the version
has been updated to 3.1.3.

At the moment, album and photo operations (make public, download,
delete, merge) are still "flat", i.e. don't respect the album
hierarchy.
2016-07-29 22:36:41 +02:00
Nils Asmussen
6d4df5f6b7 Introduced album.isSmartID. 2016-07-29 22:36:41 +02:00
Tobias Reich
1b8dd24fe1 Prefetch the medium photo instead of the big one #446 2016-07-02 14:53:25 +02:00
Tobias Reich
06a7374098 Updated deps 2016-06-25 12:30:14 +02:00
Tobias Reich
5b6b64bce3 Updated version 2016-05-02 19:51:06 +02:00
Tobias Reich
4dd2155326 Updated version to 3.1.1 2016-04-30 15:32:41 +02:00
Tobias Reich
916ec66140 Fixed separator not showing up when logged in 2016-04-30 15:30:48 +02:00
Tobias Reich
8288672ec4 Fixed missing function in view.php 2016-04-30 15:30:16 +02:00
Tobias Reich
640b674081 Updated deps 2016-04-30 15:12:18 +02:00
Tobias Reich
156313f326 Hide alt text on unloaded images 2016-04-10 16:44:49 +02:00
Tobias Reich
0006b06c52 Improved scroll and rendering performance by removing will-change
Caused too many composite layers slowing down the rendering process when loading big albums
2016-04-10 16:44:19 +02:00
Tobias Reich
96a3524168 Optimized images 2016-04-10 16:43:28 +02:00
Tobias Reich
38bbb312ae Updated jQuery 2016-04-08 23:06:40 +02:00
Tobias Reich
da92ac245a Open Facebook and Twitter sharing sheet in new window 2016-04-08 23:05:19 +02:00
Tobias Reich
9f8f3f73d8 Removed optimized event from view.php 2016-04-08 22:52:30 +02:00
Tobias Reich
8307d36d0e Added share menu to view.php #473 2016-04-08 22:51:22 +02:00
Tobias Reich
cba5a39602 Don't show dropbox in public share menu #473 2016-04-08 22:46:37 +02:00
Tobias Reich
134d290ce7 Added basicContext to view scripts 2016-04-08 22:46:13 +02:00
Tobias Reich
ba8078fac1 Comment change 2016-04-08 22:45:49 +02:00
Tobias Reich
ec69564923 Code style adjustment 2016-04-08 22:14:31 +02:00
Tobias Reich
592c7598a2 Show share button when logged out #473 2016-04-08 22:07:17 +02:00
Tobias Reich
9a7ed49ea1 Removed will-change from the main image to improve the image rendering in Chrome #501 2016-04-01 22:06:43 +02:00
Tobias Reich
9981f55709 Fixed a floating bug when tables are to small 2016-03-31 23:47:26 +02:00
Tobias Reich
cf52e559ad Updated deps 2016-03-31 16:06:50 +02:00
Tobias Reich
a9ed9f08e7 Fixed upload not showing correct error 2016-03-24 22:37:37 +01:00
Tobias Reich
761da1e936 Improved upload messages 2016-03-24 22:22:59 +01:00
Tobias Reich
6a28693add Strict response check 2016-03-24 21:42:09 +01:00
Tobias Reich
7a54476ff1 Always respond with JSON 2016-03-24 21:41:41 +01:00
Tobias Reich
4551c342b9 Code style adjustments 2016-03-24 21:36:14 +01:00
Tobias Reich
d212363ebf Return photo ID when upload successful #487 2016-03-24 18:40:58 +01:00
Tobias Reich
50086cfe69 Removed outdated first album check 2016-03-24 18:23:33 +01:00
Tobias Reich
9c1bab29f1 Updated comment 2016-03-24 18:16:33 +01:00
Tobias Reich
6e46f72526 Removed several shadows and fixed missing icons in Safari 9.1 2016-03-24 17:30:11 +01:00
Tobias Reich
4fa9a96c89 Code style adjustments #496 2016-03-21 15:03:17 +01:00
Quentin Ligier
4d62fc8734 Fix upload duplicates 2016-03-21 12:51:51 +01:00
Tobias Reich
f1d6baff6c Rebuild and code adjustments #490 2016-03-18 22:09:54 +01:00
Quentin Ligier
44c54c48f6 Modifications arround getExtension 2016-03-17 19:21:59 +01:00