Julio
3c173c95f4
Remove courseInfo['entity'] use api_get_course_entity();
4 years ago
Julio Montoya
c973c88b24
Minor - remove unused legacy document code
4 years ago
Julio Montoya
58db1cf928
Fix PHP type conflicts, format code, remove unused code
5 years ago
Julio
4c2bc1a4ef
Upgrade from 1.11.x pass entities in function
5 years ago
Julio Montoya
05e539203f
Fix LP view use assets/js/lp.js, fix doc upload from LP - WIP
5 years ago
Julio Montoya
6d97c53b89
Internal - Fix agenda/announcements resources visibility for student.
5 years ago
Julio Montoya
fe1574887c
Move main folder to public/main
6 years ago
Julio Montoya
9e8edc9657
Fix document URL generation
6 years ago
Julio Montoya
fecbeec39e
Update get_lang calls using full string.
6 years ago
Julio Montoya
1d879f13e6
Document/resource changes
...
- Use Container::getDocumentRepository() to get the repo
- Fix download button
- Fix move file
- Fix visibility actions
6 years ago
Julio Montoya
c6e3ba2464
Remove deprecations, update document total space functions
...
Replace DocumentManager::documents_total_space with
CDocumentRepository::getTotalSpace
6 years ago
Julio Montoya
15378b6c1f
Update from 1.11.x
6 years ago
Julio Montoya
387d5b64d0
Minor - format code
6 years ago
Julio Montoya
38f25bb6ef
Update from 1.11.x
6 years ago
Julio
ccb5fdfa7d
Replace item property calls with resource node functions
6 years ago
Julio
f190649b9a
Fix ckeditor filemanager, add translation variables
...
Use resource node to get folder space, add comments, fix add folder
parent id
6 years ago
Julio Montoya
2fc9bba087
Restore changes from 1.11.x + update changes from 1.11.x
...
- Replace CSS "float-right" class with legacy "pull-right"
in order to avoid diffs from 1.11.x.
- New UI changes should be added only in the templates in master or
if a change need to be done in the PHP code, then send it also to 1.11.x
in order to maintain both branches as close as possible.
7 years ago
Julio Montoya
31bd4e2815
Minor - flint fixes
7 years ago
Julio Montoya
f019bb116b
Set parent id if uploading via ajax #2326
7 years ago
Julio Montoya
56bf3a9689
When uploading a document set parent id #2326
7 years ago
Julio Montoya
acd64d3511
Fix upload document with ajax return CDocument entity #2326
7 years ago
Julio Montoya
dddfd9f507
Fix document upload using ajax and the new resource system see #2326
7 years ago
jmontoyaa
ef667cb9c1
Minor - merge with 1.11.x
8 years ago
jmontoyaa
98ef2b54cb
Minor - Merge from 1.11.x
8 years ago
Julio Montoya
5754a14dc9
Applied fixes from FlintCI
8 years ago
jmontoyaa
0024316e0c
Minor - Merge from 1.11.x
8 years ago
Julio Montoya
f32ca6dc9b
Applied fixes from FlintCI
8 years ago
jmontoyaa
e75eea45e8
Remove unused functions, rename function, format code.
...
- "display_simple_quota" to "displaySimpleQuota".
- Add todos to move some code to the certificate lib.
- Functions deleted:
- replace_urls_inside_content_html_when_moving_file
- display_quota
- string_send_for_download
- file_visible_to_user
8 years ago
jmontoyaa
43e9bbb4ce
Move code to Document manager + rename function name.
...
"get_total_folder_size" to "getTotalFolderSize"
8 years ago
jmontoyaa
bf42a67eff
Fix "rename file" when uploading (ajax mode) #2190
...
Example: after uploading file "bug.jpg "3 times you had:
Before:
bug.jpg, bug.jpg, bug.jpg
Now:
bug.jpg, bug_1.jpg, bug_2.jpg
The js UI was also fixed because it was always showing "bug.jpg"
8 years ago
jmontoyaa
3c285f525f
Fix group id after migration see BT#12609
9 years ago
jmontoyaa
1862628f9b
Improve document performance see BT#12052
9 years ago
jmontoyaa
2ecb9f0bb0
Improve document render, load total size by ajax see BT#12052
9 years ago
jmontoyaa
fab7a58076
Use __DIR__ when calling global.inc.php
...
This is needed for an easy migration to chamilo v2
9 years ago
jmontoyaa
7d74c5e62d
Use group iid see BT#11603
9 years ago
jmontoya
e1eaab826c
Add upload in document/lp form see BT#10887
10 years ago
jmontoya
2fb41be35e
Add dropbox drag n drop see BT#10896
10 years ago
jmontoya
0002631322
Add work drag and drop form see BT#10893
10 years ago
jmontoya
3d311507cd
Add new jquery upload see BT#10893
10 years ago
Yannick Warnier
937ed5a1d0
Add remove_XSS() to folder creation process
10 years ago
José Loguercio
060762bdfa
Better code implementation for create_document
10 years ago
José Loguercio
7fb7b57e96
Minor bugs fixed in create documents - Refs #7897
10 years ago
José Loguercio
6bae8e3897
Fixes create new document that fails when select a destination - Refs #7897
10 years ago
Julio Montoya
e014d852f4
Minor - format code.
10 years ago
Yannick Warnier
9acc02090b
Update and adjust code to match new database current settings - refs #7538
11 years ago
Julio Montoya
ef0eb9f4b2
Moves code from document.inc.php to document.lib.php
11 years ago
Julio Montoya
5728167447
Removes require_once for libs already added with composer
11 years ago
Julio Montoya
bd8ea4f8b2
Removes require_once
11 years ago
Julio
e3ecc3f2d4
Fixes fatal error
...
function not found "is_my_shared_folder"
11 years ago
Julio Montoya
3bc8fd6fad
Adding $_configuration['document_if_file_exists_option']
...
To set default upload option see BT#9235
11 years ago