summaryrefslogtreecommitdiffstats
path: root/tests/lib/util.php
Commit message (Collapse)AuthorAgeFilesLines
* updating unit test expectationsThomas Müller2014-05-281-1/+1
|
* allow admin to disable sharing for specific groups of usersBjoern Schiessle2014-05-221-0/+55
|
* Remove uneeded newlineLukas Reschke2014-04-221-1/+0
|
* Fix indentationLukas Reschke2014-04-221-1/+1
|
* Add unit tests for arrays and "Lukas Reschke2014-04-221-5/+23
| | | | OC_Util::sanitizeHTML() also supports array but we actually had no unit test for it. Additionally this commit introduces a test for escaping " into "
* Added extra checks for invalid file chars in newfile.php and newfolder.phpVincent Petry2014-02-181-0/+48
| | | | | | | - added PHP utility function to check for file name validity - fixes issue where a user can create a file called ".." from the files UI - added extra checks to make sure newfile.php and newfolder.php also check for invalid characters
* Add 'mail_from_address' configurationJens-Christian Fischer2014-01-241-0/+9
| | | | | | | | | | | In environments where there are rules for the email addresses, the "from address" that owncloud uses has to be configurable. This patch adds a new configuration variable 'mail_from_address'. If it is configured, owncloud will use this as the sender of *all* emails. (OwnCloud uses 'sharing-noreply' and 'password-noreply' by default). By using the 'mail_from_address' configuration, only this email address will be used.
* Quota storage wrapper is now used for all users in sharing modeVincent Petry2013-11-211-0/+49
| | | | | | | | | When accessing a shared folder, the folder's owner appears as mountpoint but wasn't wrapped by a quota storage wrapper. This fix makes sure that all home storages are wrapped by a quota storage wrapper, if applicable, to make sure quotas are respected when uploading into shared folders.
* Clean up \OC\Utilkondou2013-08-151-2/+2
| | | | | | | | | | - Use camelCase - Add some phpdoc - Fix some indents - Use some more spacing
* Add unittestskondou2013-08-051-0/+30
| | | | | | | | | | Unittests for: - search/result - util - preferences
* adding test case with no /Thomas Müller2013-07-301-0/+1
|
* adding unit tests for OC_Util::basenameThomas Müller2013-07-291-8/+24
|
* Add unit testVictor Dubiniuk2013-07-091-0/+6
|
* Ensure instanceid contains a letterMiquel Rodríguez Telep / Michael Rodríguez-Torrent2013-03-261-0/+5
| | | | | | | | | instanceid is generated by uniqid() and then used as the session_name. Because session_name requires at least one letter and uniqid() does not guarantee to provide that, in the case that uniqid() generates a string of only digits, the user will be stuck in an infinite login loop because every request will generate a new PHP session.
* Move testcase to own test functionitheiss2013-03-261-1/+3
| | | Move testcase for getDefaultEmailAddress with mail_domain set in config.php to own test function.
* Extend test case for getDefaultEmailAddress()itheiss2013-03-221-1/+6
| | | see #2499
* adding test case for getDefaultEmailAddress() + fixing #1844 againThomas Mueller2013-03-041-0/+5
|
* drop SimpleTest compatibilityThomas Mueller2013-01-241-1/+1
|
* Style: Remove all the dangling white spacesFelix Moeller2012-11-041-3/+3
|
* Fixing typoThomas Müller2012-10-181-1/+1
|
* Fixing expectation - comma was stupid anyhowThomas Müller2012-10-181-1/+1
|
* Expectation should be first parameterLukas Reschke2012-10-181-6/+6
|
* Little test for some util.php functionsLukas Reschke2012-10-131-0/+45