-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
subrepo: subdir: "php-toolkit" merged: "a584f6a" upstream: origin: "[email protected]:rotdrop/nextcloud-app-toolkit.git" branch: "main" commit: "a584f6a" git-subrepo: version: "0.4.5" origin: "???" commit: "???"
- Loading branch information
Showing
3 changed files
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
[subrepo] | ||
remote = [email protected]:rotdrop/nextcloud-app-toolkit.git | ||
branch = main | ||
commit = af05f85b28eb94cfb7257e8a19ae02c55d648b12 | ||
parent = 5b2f845f42de565d641651a53c2a538a7965c7e0 | ||
commit = a584f6af7d4fa0139ac55e0a5ec3d2dc62ddcd56 | ||
parent = 0d9f52304746771bdafa008f1e2ba3a37cb9fe04 | ||
method = merge | ||
cmdver = 0.4.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* A collection of reusable traits classes for Nextcloud apps. | ||
* | ||
* @author Claus-Justus Heine <[email protected]> | ||
* @copyright 2022 Claus-Justus Heine | ||
* @copyright 2022, 2024 Claus-Justus Heine | ||
* @license AGPL-3.0-or-later | ||
* | ||
* This program is free software: you can redistribute it and/or modify | ||
|
@@ -39,4 +39,12 @@ class Constants | |
public const HASH = 'hash'; | ||
public const WEB_ASSET_META = self::JS . self::PATH_SEPARATOR . 'asset-meta.json'; | ||
public const INFO_FILE = 'appinfo' . self::PATH_SEPARATOR . 'info.xml'; | ||
|
||
// The following will be moved to the ResponseTrait as soon as >= PHP 8.2 is feasible | ||
public const RENDER_AS_GUEST = TemplateResponse::RENDER_AS_GUEST; | ||
public const RENDER_AS_BLANK = 'blank'; | ||
public const RENDER_AS_BASE = TemplateResponse::RENDER_AS_BASE; | ||
public const RENDER_AS_USER = TemplateResponse::RENDER_AS_USER; | ||
public const RENDER_AS_ERROR = TemplateResponse::RENDER_AS_ERROR; | ||
public const RENDER_AS_PUBLIC = TemplateResponse::RENDER_AS_PUBLIC; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters