Lukas Reschke
31b1a73e1f
Check if user is admin - bool
...
There was no "isAdminUser()" function which returned bool. This is
irritiating as there were a loooooooot of places in the code which
checked this itself with `OC_Group::inGroup($uid, 'admin)` - why not
use a function for this?
(Especially if you consider that we might change the group name in the
future, which would lead to problems then)
Additionally, @Raydiation needed such a method for his AppFramework :)
12 years ago
Thomas Mueller
19e604c104
fixing call of OC_Log::write() - missing parameter
12 years ago
Bart Visscher
68562dafb4
More whitespace fixes
12 years ago
Bart Visscher
f39454ed12
Fix "Line indented incorrectly"
12 years ago
Diederik de Haas
20541c610e
Fixed new checkstyle issues in migrate.php from build #1341 .
13 years ago
Tom Needham
8396c0478e
Migration: Allow for no app data cases; handle file copying better
13 years ago
Tom Needham
0833be9d4e
Migration: On import of user accounts only import folders in home dir, use OC_Helper::copyr
...
Check files when copying recursivley
Remove obsolete method
Dont count '.' and '..' as directories when importing.
13 years ago
Felix Moeller
0e70ea9d8b
Checkstyle: Fix the last 25 NoSpaceAfterComma
13 years ago
Felix Moeller
30d7993e01
Checkstyle fixes: NoSpaceAfterComma
13 years ago
Felix Moeller
f8d1d7787e
Checkstyle fixes for SpaceBeforeOpenBrace
13 years ago
Felix Moeller
2d61f03452
More Checkstyle cleanup
...
This is for all LowerCaseConstant warnings
13 years ago
Felix Moeller
03581ef463
Correct a first issue Checkstyle is complaining about ...
...
This is BracketsNotRequired
13 years ago
Sam Tuke
8b01286a5d
Merged branch 'master'
13 years ago
Tom Needham
be76a55ef0
Allow exporting of users from any user backend, fixed oc-1645
13 years ago
Thomas Mueller
3829460ab8
adding space between) and {
13 years ago
Thomas Mueller
ebb28412ca
no more require_once()
13 years ago
Bart Visscher
52f2e7112e
Whitespace fixes in lib
13 years ago
Georg Ehrke
16aff1045d
make use of OC_User::getHome in lib/migrate.php
13 years ago
Lukas Reschke
5cb2d58c9f
Also check some other files
13 years ago
Lukas Reschke
e72a57f595
Also check for some other files
13 years ago
jfd
ede464f058
escape all identifiers with backticks
13 years ago
Robin Appelman
48306a3c4f
fix unused variables
13 years ago
Tom Needham
cfc78d44bb
Return correct json response, fix syntax
13 years ago
Tom Needham
7284e57c91
Migration: fix app paths
13 years ago
Brice Maron
b5e3e150eb
Correction of path looking for apps and css
13 years ago
Tom Needham
c1744d2eb6
Move user import to personal settings. Fix user migration between servers.
13 years ago
Tom Needham
e37ef6dd47
Move user import to personal settings. Fix user migration between servers.
13 years ago
Frank Karlitschek
4dc7ed139b
don´t hardcode /tmp
13 years ago
Frank Karlitschek
22a04d8e93
don´t hardcode /tmp
13 years ago
Tom Needham
709b0a1ddc
Check if app is enabled before exporting its data
13 years ago
Daniel
fd16784bcc
fix bug where users could use wildcards in username to login
...
e.g. user Peter could probably login using username Pet%
fixed same problem in the migration script
13 years ago
Robin Appelman
4410f15dd8
don't rely on the old version in info.xml anymore
13 years ago
Bart Visscher
402c6da968
Typo fix (breif->brief)
13 years ago
Tom Needham
c069aa62a4
Fix annoying error in log
13 years ago
Tom Needham
8e188cd96f
Copy over all file app data for imported user
13 years ago
Tom Needham
e5ebbacc9e
Fix sqlite version detection
13 years ago
Tom Needham
5e314e8eff
Emit hooks for user creation
13 years ago
Tom Needham
c0869887cf
Return JSON for import and export methods of OC_Migrate
13 years ago
Tom Needham
d2886f2020
Hide instance import as it eats data
13 years ago
Tom Needham
eba6a65908
try to use transactions to replace db
13 years ago
Tom Needham
d20eea9761
Use ajax to download file, OC_Dialogs for errors
13 years ago
Tom Needham
73eca66a89
Fix comments
13 years ago
Tom Needham
ef33219e4f
import method returns each apps' import status
13 years ago
Tom Needham
31d268fe92
check for sqlite
13 years ago
Tom Needham
553f4533c0
look for migrate.php in appinfo folder
13 years ago
Tom Needham
892343c7c1
Fix instance import
13 years ago
Tom Needham
0fa5e196ef
Try to use old uid when importing
13 years ago
Tom Needham
514c9ad8e7
Added unified import method.
13 years ago
Tom Needham
145d6f3566
Add OC_Migration_Content class to help app devs. Restructure OC_Migrate.
13 years ago
Tom Needham
77f6872ea4
Shorten export zip names
13 years ago