-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add file/folder description (and other new features and bugfixes) #289
base: master
Are you sure you want to change the base?
Commits on May 10, 2015
-
Revert "Fix first accented character of folders stripped out"
This reverts commit 13d10be.
Configuration menu - View commit details
-
Copy full SHA for ed73d7d - Browse repository at this point
Copy the full SHA ed73d7dView commit details
Commits on May 17, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 165f5de - Browse repository at this point
Copy the full SHA 165f5deView commit details -
Fix all problematic basename calls in classes
basename will strip the first character if it is accented. This commit add the mb_basename function, taken from https://bugs.php.net/bug.php?id=37268 This fixes: - file renaming on upload when a file with the same name already exists - comments and permissions ("éa.jpg" and "a.jpg" used the same file for comments/permissions) - photospheres folder ("éPhotoSpheres" was matching "PhotoSpheres") - file and folder name on the right menu - file and folder name in the rename textbox - filename in the left menu, the header and the RSS file - filename when downloading a picture or a zip The only remaining problem is with the exif infos on the right menu, but it is an external call to exif_read_data().
Configuration menu - View commit details
-
Copy full SHA for 0421118 - Browse repository at this point
Copy the full SHA 0421118View commit details -
Add title for buttons, with an option to deactivate it
This add title for buttons on the ImageBar, RSS and right menubar.
Configuration menu - View commit details
-
Copy full SHA for a8dc332 - Browse repository at this point
Copy the full SHA a8dc332View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d91fe - Browse repository at this point
Copy the full SHA 04d91feView commit details -
Display a spinner when loading a Photo Sphere
The spinnger was generated on http://spiffygif.com/ with the following parameters: - 8 lines - corners 1.0 - trail 50 - rotate 0 - no shadow, halo - black foreground, white background - length 0 - width 10 - radius 18 Their license (at the bottom on the "Docs" tab) permits to use it on this project.
Configuration menu - View commit details
-
Copy full SHA for 9c483b8 - Browse repository at this point
Copy the full SHA 9c483b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90a0b93 - Browse repository at this point
Copy the full SHA 90a0b93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a7abf4 - Browse repository at this point
Copy the full SHA 5a7abf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4325202 - Browse repository at this point
Copy the full SHA 4325202View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e26bcf - Browse repository at this point
Copy the full SHA 3e26bcfView commit details -
Javascript: disable hotkeys inside input and textarea tags
Some keys (left, right, up, space, escape) are always listened, making writing or moving inside the rename input or comment textarea difficult. This fixes thibaud-rohmer#248.
Configuration menu - View commit details
-
Copy full SHA for 1f9ee26 - Browse repository at this point
Copy the full SHA 1f9ee26View commit details
Commits on May 19, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 772a0fa - Browse repository at this point
Copy the full SHA 772a0faView commit details -
Configuration menu - View commit details
-
Copy full SHA for e455e7e - Browse repository at this point
Copy the full SHA e455e7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for e5e97e8 - Browse repository at this point
Copy the full SHA e5e97e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4ecb4d - Browse repository at this point
Copy the full SHA c4ecb4dView commit details
Commits on Jul 13, 2015
-
Menu::list_files(): fix the search with an option to list all the files
Before this commit, Menu::list_files() was returning only files considered to be an image or a video, even with $hidden set to true. Now we can get all the files a directory contains with a new option, in case some code expects the previous behaviour.
Configuration menu - View commit details
-
Copy full SHA for 961ad64 - Browse repository at this point
Copy the full SHA 961ad64View commit details -
Admin::rec_del(): use the new Menu::list_files() option to delete *ev…
…erything* Now that Menu::list_files() is fixed, we can use it to effectively delete everything, e.g. a thumbnail folder containing xml metadatas among others files.
Configuration menu - View commit details
-
Copy full SHA for 6f37485 - Browse repository at this point
Copy the full SHA 6f37485View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6884b - Browse repository at this point
Copy the full SHA 4e6884bView commit details -
File::Type(): fix the return parameter when using a folder
The return of self::Extension($file) was incorrectly checked, thus returning the 0 at the end of the function. This can cause problems, because `"foo" == 0` is true in PHP...
Configuration menu - View commit details
-
Copy full SHA for e0a9b4d - Browse repository at this point
Copy the full SHA e0a9b4dView commit details -
Rename/delete metadatas on file or folder renaming/deletion
When a file or folder was renamed or deleted, its metadatas (tokens, xml and thumbnail) were kept. This commit will keep the Thumbs directory consistent with the picture directory.
Configuration menu - View commit details
-
Copy full SHA for 0c9b9fc - Browse repository at this point
Copy the full SHA 0c9b9fcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e103acc - Browse repository at this point
Copy the full SHA e103accView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb813e9 - Browse repository at this point
Copy the full SHA fb813e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd9e2b5 - Browse repository at this point
Copy the full SHA dd9e2b5View commit details -
CSS: display #image_panel elements as table-rows
There is now a new div (#image_panel_table) inside #image_panel, encompassing #bigimage and #image_bar. This change was made to have dynamic resizing inside #image_panel, which will help to display description (see next commit) with a variable height. It should not change the page rendering, with the exception of a picture displayed with a page height under 300px. Instead of reducing more and more #image_panel, now a scrollbar appears.
Configuration menu - View commit details
-
Copy full SHA for 099e4b7 - Browse repository at this point
Copy the full SHA 099e4b7View commit details -
New feature: add a description to a folder or a picture
This new feature is optional (but activated by default). A new option added to the right menu permits to write a description, displayed between the image/video and the navigation buttons, or under the header for a folder. When a description is empty, it is hidden using CSS to remove its padding. The Description class is based on the Comments class.
Configuration menu - View commit details
-
Copy full SHA for 7d613a4 - Browse repository at this point
Copy the full SHA 7d613a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a1970d - Browse repository at this point
Copy the full SHA 0a1970dView commit details
Commits on Jul 30, 2015
-
Fix comments and description saving when they contain an ampersand
When a comment or a description contained an ampersand, their saving was throwing a warning: "PHP Warning: SimpleXMLElement::addChild(): unterminated entity reference" An XML with an empty content ("<content/>") was created. This fixes this problem; a thorough explanation can be read here: http://stackoverflow.com/a/555039
Configuration menu - View commit details
-
Copy full SHA for 525cd35 - Browse repository at this point
Copy the full SHA 525cd35View commit details -
Videos: take all available space, like images
The change in Video.php to set a width was mandatory for 4:3 screens, otherwise the video stretched outside the screen.
Configuration menu - View commit details
-
Copy full SHA for 63a407a - Browse repository at this point
Copy the full SHA 63a407aView commit details