summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/Template
Commit message (Collapse)AuthorAgeFilesLines
* composer run cs:fixCôme Chilliet2023-01-204-4/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #26494 from rigrig/fix-php8-deprecationsMorris Jobke2021-06-071-1/+1
|\ | | | | Fix some php 8 warnings
| * Fix a usort comparison function returning a boolean instead of an integerRichard de Boer2021-05-291-1/+1
| | | | | | | | | | | | PHP 8 shows deprecation warnings about this, see #25806 Signed-off-by: Richard de Boer <git@tubul.net>
* | Update php licensesJohn Molakvoæ (skjnldsv)2021-06-045-12/+7
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Remove @package annotations from public namespaceJulius Härtl2020-08-265-5/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-103-4/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #20170 from nextcloud/techdebt/remove-unused-importsChristoph Wurst2020-03-272-2/+0
|\ | | | | Remove unused imports
| * Remove unused importsChristoph Wurst2020-03-252-2/+0
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix license headersChristoph Wurst2020-01-131-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Split the menu entry for external shares in twoDaniel Calviño Sánchez2019-12-301-5/+6
| | | | | | | | | | | | | | | | The external shares entry showed a "button" that, when pressed, replaced the button with the input to set the remote share address. The "button" was actually a label for the input, so when the label was focused it transferred the focus to the input and thus pressing enter or space did not show the input. Moreover, inputs inside links are not valid HTML, and once shown there was no way to hide the input again. Due to all this, and for consistency with the direct link input, the external share input was moved to a different menu item that is shown and hidden when the button, which nows is also a real button, is clicked. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Format HTML elementsDaniel Calviño Sánchez2019-12-301-8/+8
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Update license headersChristoph Wurst2019-12-055-30/+36
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-224-3/+4
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add since tagsJulius Härtl2018-04-052-1/+18
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move external share saving to templateJulius Härtl2018-04-051-7/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add footer to public page templateJulius Härtl2018-04-051-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move common menu templates to public APIJulius Härtl2018-04-052-0/+130
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove settersJulius Härtl2018-02-271-48/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Rework array handling to avoid phan errorJulius Härtl2018-02-271-27/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add id to list elementJulius Härtl2018-02-271-2/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Sort menu by priorityJulius Härtl2018-02-271-0/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add missing phpdoc for public APIJulius Härtl2018-02-272-1/+65
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add phpdoc, typehints and sanitize HTMLJulius Härtl2018-02-271-5/+69
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add menu item abstractionJulius Härtl2018-02-273-0/+265
Signed-off-by: Julius Härtl <jus@bitgrid.net>