| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
In some cases the ajax/share.php will return the share time as string.
If this is the case it would get parsed completely wrong and cause the
share dropdown to not work anymore. This change will properly cast the
string to an interger and also fallback if this is not possible.
|
|
|
|
|
| |
Conflicts:
core/js/tests/specs/shareSpec.js
|
|
|
|
|
|
|
|
| |
This did not happen correctly when the password was enforced since a
different code path was taken.
* moved generation of the default date string to separate function
* added unit test
|
| |
|
| |
|
|
|
|
|
| |
The actual share permissions sent to the server on reshare are now based
on possiblePermissions + permissions inherited from parent share
|
|
|
|
|
|
|
|
| |
* options for timeout in seconds and if it contains HTML
* if timeout is 0 it will show the message permanently
* removes the notification after a given (default: 5 seconds) timeframe
* based on work by @brantje
* provide JS unit tests for notifications
|
|
|
|
|
|
|
| |
* add disableEscape parameter to disable this functionality
* drop usage of escapeHTML() that is now done inside t()
* add unit test for escaped and not escaped placeholder
* proper JSDoc
|
|\
| |
| | |
Move file thumbnail element into the label tag
|
| | |
|
|\ \
| |/
|/| |
Simple Plugin system for Javascript
|
| | |
|
|/
|
|
| |
Fix #10836
|
| |
|
|
|
|
|
|
| |
For apps that support async translation loading, a new function
OC.L10N.load() can be used to asynchronously load the translations
for a given app.
|
|
|
|
|
|
|
|
|
|
|
| |
Added addTranslations and fixed de.js file
Fixed de.js to use OC.L10N.register() and use to correct expected
format.
Added JS unit tests for OC.L10N class
Include translations JS script for all apps
|
|\
| |
| | |
Fixed JS sort comparator to be consistent between JS and PHP
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now using a natural sort algorithm that is more consistent between JS
and PHP (although not perfect in some corner cases)
- added OC.Util.naturalSortComparator that uses the same algo that was
used for the user list
- changed user list and files list to use OC.Util.naturalSortComparator
- removed toLowerCase() and changed the comparator to use
String.localeCompare()
- added unit tests
- added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()
|
|\ \
| | |
| | | |
Remove special case for css in OC.filePath
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When links are not allowed, the email field does not exist and
autocomplete returns null. This causes Javascript errors.
The fix prevents entering the bogus block when links aren't allowed, as
it doesn't make sense to enter it in such cases anyway.
|
| |/
|/|
| |
| |
| | |
Whenever a folder has a "data-share-owner" attribute, the icon is now
properly updated to a shared folder icon.
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
The parts of the remote share owner name is now split between user name,
domain name and root so they can be formatted / displayed differently.
The user name + domain name are displayed in the tooltip.
|
| |
|
|
|
|
|
|
|
| |
- serve CSS and font files properly to make sure that measurements are
correct for the tests that need them (breadcrumb)
- added opacity to testArea to make sure nothing is visible during
testing
|
| |
|
|
|
|
| |
Also fixed JSHint errors
|
| |
|
|\
| |
| | |
Toggle app navigation not only on mobile, but on desktop as well
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Now that the navigation menu is always togglable, the media query
dependent code can be removed.
|
|\ \
| |/
|/| |
Update share action text to display owner/recipients
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since OC.Share didn't have any array containing the list of shares for
the current file, OC.Share.currentShares has been introduced to contain
the full share item structure instead of the reduced one
OC.Share.itemShares.
The event "sharesChanged" is now passing OC.Share.currentShares, which
itself includes the display name to be displayed for the recipients in
the action icon.
|
| | |
|
|\ \
| | |
| | | |
Scrutinizer cleanup
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Design details
|
| |/ |
|
|\ \
| |/
|/| |
Improve aligment of file size
|
| |
| |
| |
| |
| | |
* added parameters for humanFileSize to trigger that behaviour
* add unit tests for that
|
|\ \
| |/
|/| |
Also encode > and '
|