Joas Schilling
2c39aec8cb
Replace deprecated constant with new class constant
9 years ago
Bjoern Schiessle
4643a5d238
replace \OC:: with \OC::->getSession()
9 years ago
Bjoern Schiessle
917bef39b7
don't store private public-share-key in session
9 years ago
Bjoern Schiessle
f274833403
remove unused variable
9 years ago
Bjoern Schiessle
1645c8f819
use login name to verify password
9 years ago
Jenkins for ownCloud
fa3f7ad9e9
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
f8421958b3
[tx-robot] updated from transifex
9 years ago
Vincent Petry
391ece46e3
Fix file upload to ext storage when recovery key is enabled
Fixes an issue when uploading files to external storage when recovery
keys are enabled
The Util class only works with real users, so instantiating it with the
virtual recovery key user or public key user can cause issues.
9 years ago
Volkan Gezer
995fe4a176
cleanup languages. closes #11274
9 years ago
Joas Schilling
76ebd3a050
Make apps/ extend the \Test\TestCase and fix overwritten methods
9 years ago
Jenkins for ownCloud
91f7c0af6e
[tx-robot] updated from transifex
9 years ago
Bjoern Schiessle
f6efbfcf0b
listen to the post_passwordReset hook, backup the old keys and create a new key pair for the user
9 years ago
Joas Schilling
b228226700
Fix single run of encryption tests and usages of uniqid() and fopen()
9 years ago
Joas Schilling
a3a064fe96
Skip some more tests on Windows which just can not work at all
9 years ago
Jenkins for ownCloud
9df50c7be6
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
a069171cda
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
1846fb0285
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
664cc4ac0e
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
c3e3432662
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
46010655d2
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
da14a605d5
[tx-robot] updated from transifex
9 years ago
Bjoern Schiessle
2af7256267
only set the values we need and make sure that we write the file info for both
the real file and the part file, because some information from the part file
might be needed later
9 years ago
Bjoern Schiessle
3d19bb2e51
also try to get file info from part file
9 years ago
Bjoern Schiessle
a10ae2816e
clean up encryption exceptions
9 years ago
Jenkins for ownCloud
7d47d50724
[tx-robot] updated from transifex
9 years ago
Bjoern Schiessle
8104a4e24e
check if the provided password is really the current log-in password
9 years ago
Bjoern Schiessle
c2a45c1238
throw exception if private key is missing
9 years ago
Jenkins for ownCloud
c8f55e7f87
[tx-robot] updated from transifex
9 years ago
Bjoern Schiessle
0580c232d7
still try to encrypt files, even if the session is not initialized. The stream wrapper will throw an error which is better than silently continue.
9 years ago
Vincent Petry
0f3e6cb50a
Improved Javascript docs for JSDoc
Added namespaces so that JSDoc can find them.
Fixed a few warnings.
Improved some comments.
10 years ago
Thomas Müller
f776bcd4a0
remove unnecessary require calls - the ownCloud class loader is supposed to take care of this
9 years ago
Vincent Petry
5536f6edd0
Properly register sharing hooks and proxies
This will fix failing tests when shares weren't cleant up on delete due
to missing hooks.
Added login for user1 in setUp().
9 years ago
Jenkins for ownCloud
ea55848fa1
[tx-robot] updated from transifex
9 years ago
Vincent Petry
e8f9b929bd
Added encryption test when moving file as non-owner
9 years ago
Vincent Petry
b920f888ae
Fix moving share keys as non-owner to subdir
This fix gathers the share keys BEFORE a file is moved to make sure that
findShareKeys() is able to find all relevant keys when the file still
exists.
After the move/copy operation the keys are moved/copied to the target
dir.
Also: refactored preRename and preCopy into a single function to avoid
duplicate code.
9 years ago
Thomas Müller
9f7c571e40
update all translation files to js and json
9 years ago
Vincent Petry
ec1a73fab9
Added OC.L10N namespace with translation functions
Added addTranslations and fixed de.js file
Fixed de.js to use OC.L10N.register() and use to correct expected
format.
Added JS unit tests for OC.L10N class
Include translations JS script for all apps
9 years ago
Jenkins for ownCloud
cb944814d9
[tx-robot] updated from transifex
9 years ago
jknockaert
4faee4011d
initialisation of cipher
9 years ago
Jenkins for ownCloud
23873d80fe
[tx-robot] updated from transifex
9 years ago
Lukas Reschke
b3a04840b5
Add type hinting to functions
It's only reasonable to have proper type hinting here which might even help us to catch bugs.
9 years ago
Lukas Reschke
2d2a4741ce
Make files non executable
There is not much sense in having these files marked executable, we should avoid that.
9 years ago
Jenkins for ownCloud
9babcfb9e2
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
916e710ece
[tx-robot] updated from transifex
9 years ago
Jenkins for ownCloud
8485743e33
[tx-robot] updated from transifex
9 years ago
jknockaert
da44150a15
small fix
9 years ago
jknockaert
d277ef6ac2
bugfixes
9 years ago
Jörn Friedrich Dreyer
cb3a4d22b1
make tests compatible with hook based skeleton generation
9 years ago
Jenkins for ownCloud
87da62072b
[tx-robot] updated from transifex
9 years ago
jknockaert
1b7e9d66b3
ok; still some bugs that had to be fixed
9 years ago