Commit Graph

26 Commits (master)

Author SHA1 Message Date
Andy Scherzinger e07a190641
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
5 days ago
Marcel Klehr 73d21c6c47 chore(404): Extend 404 error message to mention possibly missing permissions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
1 year ago
Julius Härtl 11bedf1c3b
Use proper error pages instead of always redirecting
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
Carl Schwan 253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Morris Jobke d7f66c36ac
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
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>
4 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Jan-Christoph Borchardt f393cc017d
Improve 404 page design, fix #11370
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 years ago
Morris Jobke 0de90cfc67 Fix 403 and 404 redirect
* Nextcloud is not properly loaded in the standalone version (especially the theming)
* it is already not listed anymore in the Nginx config (see nextcloud/documentation#392)
* the index.php-free version doesn't support this

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke 5b4adf66e5
Move OC_Defaults to OCP\Defaults
* currently there are two ways to access default values:
  OCP\Defaults or OC_Defaults (which is extended by
  OCA\Theming\ThemingDefaults)
* our code used a mixture of both of them, which made
  it hard to work on theme values
* this extended the public interface with the missing
  methods and uses them everywhere to only rely on the
  public interface

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Roeland Jago Douma 740659a04c
Move away from OC_L10N
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
8 years ago
Thomas Müller fdee771aca Add unit testing capabilities for templates (#23708)
Add unit testing capabilities for templates
8 years ago
Roeland Jago Douma 19eeb23b91 OC_Helper::linkTo is deprecated
Replaced with suggested (and calling body of)
9 years ago
Volker E 6ad76b5cc2 addressing #14982 self-closing tags ending slash doesn't have a purpose & should be removed 9 years ago
Lukas Reschke 8fc1a9f5a9 Make 404 page easier to understand
Fixes https://github.com/owncloud/core/issues/11133
10 years ago
Victor Dubiniuk 97f2c393c1 Allow apps to have own 404 content, closes #3225 11 years ago
Lukas Reschke 229c907a57 [core] From echo to p 11 years ago
Thomas Mueller 3829460ab8 adding space between) and { 12 years ago
Lukas Reschke 6defbc7f4d Removed some unessecary sanitizations 12 years ago
Robin Appelman cfd0140e2f fix 2 potential xss problems 12 years ago
Jan-Christoph Borchardt ded97de891 removed excess code 13 years ago
Jan-Christoph Borchardt d6faa89ed7 fix header on error page 13 years ago
Jakob Sack bafd684eb6 Renaming classes :-) 13 years ago
Jakob Sack 2f807a3c7f Delete requires in applications where possible 13 years ago
Kamil Domanski 2073d3b08e fix 404 13 years ago
Jakob Sack 91c37bbb76 moved core stuff to /core 13 years ago