summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow rich object strings in messages as wellJoas Schilling2016-10-312-0/+74
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2016-10-312-0/+74
|
* [tx-robot] updated from transifexNextcloud bot2016-10-302-0/+94
|
* Merge pull request #1948 from nextcloud/move_away_lagacy_oc_l10nLukas Reschke2016-10-297-351/+12
|\ | | | | Move away from legacy OC_L10N
| * Remove legacy l10nRoeland Jago Douma2016-10-281-343/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Fix more testsRoeland Jago Douma2016-10-281-3/+3
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Move away from OC_L10NRoeland Jago Douma2016-10-285-5/+9
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2016-10-292-12/+132
|/
* Proper DI of configRoeland Jago Douma2016-10-282-15/+15
| | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use callForSeenUsers for avatar migrationMorris Jobke2016-10-281-24/+22
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* introduce callForSeenUsers and countSeenUsers (#26361)Jörn Friedrich Dreyer2016-10-284-56/+134
| | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0
* [tx-robot] updated from transifexNextcloud bot2016-10-282-0/+92
|
* Merge pull request #1800 from nextcloud/nextcloud-rich-object-stringsMorris Jobke2016-10-2710-2/+506
|\ | | | | Nextcloud rich object strings
| * dump autoloaderMorris Jobke2016-10-242-0/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Move federated share notifications to ROSJoas Schilling2016-10-201-0/+19
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Allow rich object subjects for NotificationsJoas Schilling2016-10-203-2/+88
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Add Rich Object Definitions and a validatorJoas Schilling2016-10-205-0/+393
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #1929 from nextcloud/share_email_to_OCSLukas Reschke2016-10-271-80/+0
|\ \ | | | | | | Remove notify recipient function
| * | Remove internal share mail functionRoeland Jago Douma2016-10-261-80/+0
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #1930 from nextcloud/fix_avatars_exifLukas Reschke2016-10-271-0/+27
|\ \ \ | | | | | | | | Fix avatar on exif rotated images
| * | | Fix avatar on exif rotated imagesRoeland Jago Douma2016-10-261-0/+27
| |/ / | | | | | | | | | | | | | | | Fixes #1928 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / [tx-robot] updated from transifexNextcloud bot2016-10-278-0/+300
|/ /
* | Merge pull request #1920 from ↵Roeland Jago Douma2016-10-263-4/+4
|\ \ | | | | | | | | | | | | nextcloud/legacy-pages-should-also-receive-the-nonce Add nonce also to legacy CSP
| * | Identify Chromium as ChromeJoas Schilling2016-10-262-3/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Add nonce also to legacy CSPLukas Reschke2016-10-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pages that do not use the AppFramework have its CSP inherited from `\OC_Response::addSecurityHeaders`. While those are not many anymore, there are some examples such as the "Help" page. To stay completely backwards-compatible we should also add the nonce to the legacy CSP response. To test that open your browser console and open the help page. Without this you will get a JS error. With this you won't. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #1738 from ↵Morris Jobke2016-10-264-0/+134
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/comments-provide-displaynames-with-mentions comment mentions: show displayname not uid
| * | | resolve displayname via manager and registerable resolversArthur Schiwon2016-10-192-0/+75
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | move mention extraction to (I)Comment and report mentions via DAVArthur Schiwon2016-10-192-0/+59
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #1914 from nextcloud/downstream-26468Morris Jobke2016-10-261-6/+1
|\ \ \ \ | |_|/ / |/| | | Remove all unneeded set_include_path()
| * | | Remove all unneeded set_include_path()Thomas Müller2016-10-251-6/+1
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2016-10-2626-26/+30
| | | |
* | | | Missing returns + autoloader fileLukas Reschke2016-10-254-2/+5
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | Inlince oc.js if possible!Roeland Jago Douma2016-10-251-1/+17
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Move browserSupportsCspV3 to CSPNonceManagerRoeland Jago Douma2016-10-254-22/+40
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Move oc.js to a proper classRoeland Jago Douma2016-10-252-1/+246
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #1891 from nextcloud/downstream-26430Lukas Reschke2016-10-251-29/+34
|\ \ \ \ | |/ / / |/| | | add upgrade command before repair, handle NeedsUpgradeException better
| * | | add upgrade command before repair, handle NeedsUpgradeExcaption betterJörn Friedrich Dreyer2016-10-241-29/+34
| | | |
* | | | Merge pull request #1871 from nextcloud/use-csp-noncesMorris Jobke2016-10-2510-8/+142
|\ \ \ \ | | | | | | | | | | Use CSP nonces
| * | | | Update autoload files 🙈Morris Jobke2016-10-242-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | | Add ContentSecurityPolicyNonceManagerLukas Reschke2016-10-244-0/+69
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | | Add support for CSP noncesLukas Reschke2016-10-246-8/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CSP nonces are a feature available with CSP v2. Basically instead of saying "JS resources from the same domain are ok to be served" we now say "Ressources from everywhere are allowed as long as they add a `nonce` attribute to the script tag with the right nonce. At the moment the nonce is basically just a `<?php p(base64_encode($_['requesttoken'])) ?>`, we have to decode the requesttoken since `:` is not an allowed value in the nonce. So if somebody does on their own include JS files (instead of using the `addScript` public API, they now must also include that attribute.) IE does currently not implement CSP v2, thus there is a whitelist included that delivers the new CSP v2 policy to newer browsers. Check http://caniuse.com/#feat=contentsecuritypolicy2 for the current browser support list. An alternative approach would be to just add `'unsafe-inline'` as well as `'unsafe-inline'` is ignored by CSPv2 when a nonce is set. But this would make this security feature unusable at all in IE. Not worth it at the moment IMO. Implementing this offers the following advantages: 1. **Security:** As we host resources from the same domain by design we don't have to worry about 'self' anymore being in the whitelist 2. **Performance:** We can move oc.js again to inline JS. This makes the loading way quicker as we don't have to load on every load of a new web page a blocking dynamically non-cached JavaScript file. If you want to toy with CSP see also https://csp-evaluator.withgoogle.com/ Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | Merge pull request #1890 from nextcloud/downstream-25428Morris Jobke2016-10-252-2/+28
|\ \ \ \ \ | | | | | | | | | | | | fixing php 32 bit (arm) filemtime on large file issue (#18971) (#25428)
| * | | | | Add check for linux osLukas Reschke2016-10-251-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | | | Move function to LargeFileHelperLukas Reschke2016-10-252-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
| * | | | | fixing php 32 bit (arm) filemtime on large file issue (#18971) (#25428)Boris Rybalkin2016-10-251-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fixing php 32 bit (arm) filemtime on large file issue (#18971) * cast to int
* | | | | | Merge pull request #1883 from nextcloud/downstream-26145Morris Jobke2016-10-251-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Storage 503 message improvements
| * | | | | | Storage 503 message improvementsVincent Petry2016-10-241-1/+1
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | "Storage not available" is now "Storage temporarily not available". Exceptions are now logged in DEBUG level, not FATAL.
* | | | | | Merge pull request #1902 from nextcloud/fix-largefile-helper-not-existentLukas Reschke2016-10-252-12/+2
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | Remove not existent function call
| * | | | | Remove not existent function callLukas Reschke2016-10-252-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removes a not existent function call - Removes a fallback for Windows Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | | | [tx-robot] updated from transifexNextcloud bot2016-10-2554-166/+166
|/ / / / /