aboutsummaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Fix logo URL in SCSS variablesJulius Härtl2018-01-031-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #7526 from ↵Morris Jobke2018-01-034-3/+473
|\ | | | | | | | | nextcloud/make-possible-for-apps-to-disable-the-navigation-bar-slide-gesture Make possible for apps to disable the navigation bar slide gesture
| * Force the drag to end when the navigation bar Snap is disabled by an appDaniel Calviño Sánchez2017-12-144-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a Snap was disabled it stopped listening to the events, but if a drag gesture was being performed it was kept as active. Thus, when the Snap was enabled again move events were handled as if the Snap had never been disabled, causing the gesture handling to continue where it was left. When the Snap for the navigation bar is disabled by an app it could be as a result of a different gesture being recognized by the app (for example, a vertical swipe) once both gestures have started. In that case when the other gesture ends and the Snap is enabled again any pointer movement will cause the navigation bar to slide until an "up" event is triggered again (obviously not the desired behaviour). Due to all this now when the Snap for the navigation bar is disabled by an app the current drag gesture for the navigation bar is ended. Note that this was added as a parameter to "Snap.disable()" instead of done unconditionally to keep back-compatibility with the previous behaviour (probably not really needed as it is unlikely that any app is using the Snap library relying on that behaviour... but just in case). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Make possible for apps to disallow the navigation bar slide gestureDaniel Calviño Sánchez2017-12-142-1/+353
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On narrow screens a slide gesture can be used to open or close the navigation bar. However that gesture could conflict at times with the gestures used by certain apps (for example, if the right sidebar is open the user may expect to close it by dragging it to the right, but that could open the navigation bar instead depending on how the events are handled). This commit makes possible for apps to disallow and allow again that slide gesture. In any case, note that applications can only disallow the gesture, but they can not enable it. That is, they can prevent the gesture from being used on narrow screens, but they can not make the gesture work on wide screens; they are always limited by the base rules set by the core. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add unit tests for the navigation bar slide gestureDaniel Calviño Sánchez2017-12-141-0/+104
| | | | | | | | | | | | | | | | The slide gesture is enabled or disabled depending on the width of the browser window. In order to easily control that width the karma-viewport plugin is now used in the unit tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Hide stay logged in checkbox when flow authentication is usedJulius Härtl2017-12-282-0/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #7478 from nextcloud/breadcrumbs-buttons-fixes-galleryJohn Molakvoæ2017-12-222-13/+5
|\ \ | | | | | | Fixed breadcrumbs calculation and actions flow
| * | zindex fixJohn Molakvoæ (skjnldsv)2017-12-201-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Add the webkit sticky position prefixMorris Jobke2017-12-201-0/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Make contorls stick to the top when scrollingMarin Treselj2017-12-201-1/+2
| | | | | | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
| * | Dynamic control bar widthMarin Treselj2017-12-202-12/+2
| | | | | | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | | Merge pull request #7572 from nextcloud/fix-box-shadowMorris Jobke2017-12-202-5/+11
|\ \ \ | |/ / |/| | Fix box shadow of header elements
| * | Fix box shadow of header elementsMorris Jobke2017-12-202-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | * unify shadow blur from 3px to 10px * remove opacity of background of app labels * for IE: use box-shadow as fallback (because the filter: drop-shadow is not supported) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Fix testsRoeland Jago Douma2017-12-191-77/+60
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Also do callback on the failing functionRoeland Jago Douma2017-12-191-0/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Fix fallback when image loading failsJulius Härtl2017-12-191-46/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the new avatar endpoint there is no difference between unknown users and errors when generating the placeholder avatar. Therefore the avatar function will now show the old placeholder if both a user and displayname was given as parameters. In case there is no displayname provided we cannot build the proper placeholder so the unknown user placeholder is shown. The displayname is not required for the avatar anymore, so we can get rid of the old code path for placeholders. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Still call callback once avatar is loadedRoeland Jago Douma2017-12-191-0/+4
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add loading icon on avatarJohn Molakvoæ (skjnldsv)2017-12-192-3/+5
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Since we now always generate an avatar do not load the placeholderRoeland Jago Douma2017-12-191-5/+0
| | | | | | | | | | | | | | | | | | | | | The js and php code differ ever so slightly. So having the placeholder for a second and then the image is just weird. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7576 from nextcloud/fix_7574blizzz2017-12-191-0/+1
|\ \ \ | | | | | | | | Use javascript to send the actual password reset
| * | | Use javascript to send the actual password resetRoeland Jago Douma2017-12-191-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #7574 During some refactoring the event linked to password reset got removed. This ment that we just submitted a normal POST but without the CSRF token. And none of the js magic to redirect afterwards. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / Fix opening the menu in a Share pageDaniel Calviño Sánchez2017-12-191-1/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | ".popovermenu" elements are visible or not depending on whether they also have the "open" CSS class or not. "#header .menu" elements were always hidden, so when both rules applied to the same element, like in the menu of a Share page, the element was always hidden due to "#header .menu" being more specific than ".popovermenu" and thus overriding its rules. Now, "#header .menu" elements are hidden only if they are not a ".popovermenu" too. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7517 from nextcloud/add-index-to-share-tableRoeland Jago Douma2017-12-183-0/+93
|\ \ | | | | | | Add index to share_with column in the share table
| * | make occ command more genericBjoern Schiessle2017-12-182-8/+26
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | add index for share_with table for newly created tablesBjoern Schiessle2017-12-181-0/+1
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | add occ command to add a index to share_with at the share tableBjoern Schiessle2017-12-182-0/+74
| |/ | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #7531 from nextcloud/ldap/createdistributedRoeland Jago Douma2017-12-181-1/+1
|\ \ | | | | | | don't use deprecated method for requesting memcache
| * | Also replace all other occurencesMorris Jobke2017-12-181-1/+1
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Use injected AppManagerRoeland Jago Douma2017-12-181-1/+1
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7480 from nextcloud/fix_7454Morris Jobke2017-12-132-9/+59
|\ | | | | Check for FreeType functions required for avatars
| * Add testsRoeland Jago Douma2017-12-131-9/+50
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Add warning regarding freetype supportRoeland Jago Douma2017-12-131-0/+9
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Removed unwanted and unused spacerJohn Molakvoæ (skjnldsv)2017-12-122-3/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Fixed firefox guest header heightJohn Molakvoæ (skjnldsv)2017-12-121-1/+1
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Set autocomplete on share password inputRoeland Jago Douma2017-12-121-2/+2
| | | | | | Fixes #6821 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fixed width on app detailsJohn Molakvoæ (skjnldsv)2017-12-111-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed scrolling in app listJohn Molakvoæ (skjnldsv)2017-12-111-3/+12
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fixed popover menu in entryJohn Molakvoæ (skjnldsv)2017-12-111-25/+40
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #6079 from nextcloud/fix-antivirusblizzz2017-12-112-12/+53
|\ | | | | Parse Sabre Exception in OC.Files.Client and file-upload
| * Parse Sabre Exception in OC.Files.Client and file-uploadVincent Petry2017-11-132-12/+53
| | | | | | | | | | | | | | | | In case of error, instead of a generic error message, an upload will display whichever message is returned in the Sabre Exception, if applicable. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7249 from nextcloud/guest-flexMorris Jobke2017-12-111-10/+12
|\ \ | | | | | | Guest flex instead of absolute
| * | Fixed topJohn Molakvoæ (skjnldsv)2017-11-231-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixed heigh resizeJohn Molakvoæ (skjnldsv)2017-11-221-2/+3
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Use flex for guest full screen alignmentJohn Molakvoæ (skjnldsv)2017-11-221-8/+9
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #7324 from nextcloud/no-sorters-no-instancesRoeland Jago Douma2017-12-111-5/+7
|\ \ \ | | | | | | | | don't create sorter instances when none was requested
| * | | don't create sorter instances when none was requestedArthur Schiwon2017-11-281-5/+7
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | [tx-robot] updated from transifexNextcloud bot2017-12-116-38/+74
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2017-12-1014-54/+80
| | | |
* | | | Merge pull request #6876 from nextcloud/always_img_avatarMorris Jobke2017-12-081-12/+6
|\ \ \ \ | | | | | | | | | | Always generate avatar
| * | | | Move avatar code to Avatar ClassRoeland Jago Douma2017-11-291-159/+3
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>