Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(JSResourceLocator) fix incorrect parameter being used. | Robert Zenz | 2025-04-26 | 1 | -1/+1 |
| | |||||
* | chore(deps): Update nextcloud/coding-standard to v1.3.1 | provokateurin | 2024-09-19 | 1 | -15/+15 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | chore: Add SPDX header | Andy Scherzinger | 2024-05-24 | 1 | -24/+4 |
| | | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de> | ||||
* | fix: Apply new coding standard to all files | Côme Chilliet | 2024-04-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | fix(JSRecourceLocator): Add missing slash after server root | Ferdinand Thiessen | 2024-03-22 | 1 | -1/+1 |
| | | | | | | The `OC::$SERVERROOT` is always returned without a trailing slash, so we need to add a slash between server root and apps directory. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix(JSResourceLocator): Consider configured app roots for files | Ferdinand Thiessen | 2024-02-29 | 1 | -40/+22 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | Add custom apps translation scripts and image path for consistency | Akhil | 2023-10-19 | 1 | -2/+7 |
| | | | | Signed-off-by: Akhil <akhil@e.email> | ||||
* | Merge pull request #38261 from fsamapoor/replace_strpos_calls_in_lib_private | Robin Appelman | 2023-06-01 | 1 | -2/+2 |
|\ | | | | | Refactors "strpos" calls in lib/private to improve code readability. | ||||
| * | Refactors "strpos" calls in lib/private to improve code readability. | Faraz Samapoor | 2023-05-15 | 1 | -2/+2 |
| | | | | | | | | Signed-off-by: Faraz Samapoor <fsamapoor@gmail.com> | ||||
* | | fix: Do not attempt to use l10n files as sources for combined js files | Julius Härtl | 2023-05-15 | 1 | -1/+1 |
|/ | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | fix(JSResourceLocator): Handle missing translations silently | Ferdinand Thiessen | 2023-05-11 | 1 | -9/+16 |
| | | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | fix(OC/Template): Allow `.mjs` files within custom app paths | Ferdinand Thiessen | 2023-02-22 | 1 | -29/+21 |
| | | | | | | | | | | If apps are installed in non standard app paths, we need to check `$app_path/$script` instead of only doing so for translations. Without this it would fallback to `.js` extension even if a `.mjs` file exists. Also tried make the code more selfe explaining. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> | ||||
* | feat(template): Allow `JSResourceLocator` to find ES6 scripts | Ferdinand Thiessen | 2023-02-22 | 1 | -17/+28 |
| | | | | | | | | Enable module js (ES6) support on the `JSResourceLocator`. This changes `JSResourceLocator` to look for `.mjs` files first to allow applications to provide a fallback `.js` for older Nextcloud versions. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> | ||||
* | fix(OC/Template): Remove usage of deprecated functions in `JSResourceLocator` | Ferdinand Thiessen | 2023-02-22 | 1 | -5/+25 |
| | | | | | | Move from `\OC_App::getAppPath` to `IAppManager::getAppPath`. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> | ||||
* | composer run cs:fix | Côme Chilliet | 2023-01-20 | 1 | -1/+0 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Drop 3rdparty root since it is unused and adjust tests | Julius Härtl | 2022-12-07 | 1 | -4/+0 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Use single resource locator instance | Julius Härtl | 2022-12-07 | 1 | -2/+2 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Make it possible to load theme/<themename>/dist | Carl Schwan | 2022-08-26 | 1 | -1/+3 |
| | | | | | | | This fix a regression with the theming api following the change in webpack bundling introduced in 24 Signed-off-by: Carl Schwan <carl@carlschwan.eu> | ||||
* | Migrate from ILogger to LoggerInterface in lib/private | Côme Chilliet | 2022-03-24 | 1 | -1/+3 |
| | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com> | ||||
* | Avoid double-loading dist/core-main.js when apps have scripts named main | Julius Härtl | 2022-03-08 | 1 | -1/+1 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | Detect app's script higher up as some scripts were shadowed | Louis Chemineau | 2022-01-08 | 1 | -0/+1 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Restore some line in JSResourceLocator.php | Louis Chemineau | 2022-01-08 | 1 | -5/+7 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> | ||||
* | Move bundles to /dist | John Molakvoæ (skjnldsv) | 2022-01-08 | 1 | -8/+11 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Update php licenses | John Molakvoæ (skjnldsv) | 2021-06-04 | 1 | -1/+0 |
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* | Format code to a single space around binary operators | Christoph Wurst | 2020-10-05 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update license headers for 19 | Christoph Wurst | 2020-04-29 | 1 | -0/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Use elseif instead of else if | Christoph Wurst | 2020-04-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Update license headers | Christoph Wurst | 2019-12-05 | 1 | -1/+2 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Load apps/APP/l10n/*.js and themes/THEME/apps/APP/l10n/*.js | Morris Jobke | 2018-10-22 | 1 | -0/+1 |
| | | | | | | Before it quit right after finding the theme version of the l10n file which results in a not translated part of the UI. Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Merge pull request #7061 from kyrofa/bugfix/6028/app_path_realpath | Morris Jobke | 2017-11-14 | 1 | -0/+7 |
|\ | | | | | {J,CS}SResourceLocator: account for symlinks in app path | ||||
| * | JSResourceLocator: re-use $app_path | Kyle Fazzari | 2017-11-12 | 1 | -7/+9 |
| | | | | | | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com> | ||||
| * | JSResourceLocator: account for symlinks in app path | Kyle Fazzari | 2017-11-07 | 1 | -3/+8 |
| | | | | | | | | Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com> | ||||
* | | Update license headers | Morris Jobke | 2017-11-06 | 1 | -0/+1 |
|/ | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Stop infinit loop on invalid settings css/js file | Joas Schilling | 2017-05-19 | 1 | -0/+9 |
| | | | | | | Don't try to find dirname of false... Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Add return | Roeland Jago Douma | 2017-03-24 | 1 | -1/+1 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Add debug mode | Roeland Jago Douma | 2017-03-24 | 1 | -0/+8 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | [PoC] JS Combiner | Roeland Jago Douma | 2017-03-24 | 1 | -1/+26 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Fix others | Joas Schilling | 2016-07-21 | 1 | -2/+3 |
| | |||||
* | Move \OC\Template to PSR-4 | Roeland Jago Douma | 2016-05-13 | 1 | -0/+78 |