jmontoyaa
f2a2876739
Minor - format code
9 years ago
jmontoyaa
3a02939da9
Minor - format code + remove global.
9 years ago
jmontoyaa
76e8a62b18
Remove unused function 'api_number_of_plugins'
...
- Format code,
- Update docs
9 years ago
jmontoyaa
8099753494
Remove unused function api_is_internal_path()
9 years ago
jmontoyaa
e670b9d791
Fix constant names
9 years ago
jmontoyaa
8d17f5dbcc
Minor - format code
...
- Replaced 'Security :: remove_XSS' to 'Security::remove_XSS'
- Replaced 'unset ()' to 'unset()'
9 years ago
jmontoyaa
4af8524c05
Minor - format function "Database ::" to "Database::"
9 years ago
jmontoyaa
244a19d4c7
Replace Database :: get_main_table with Database::get_main_table
9 years ago
jmontoyaa
e19d6b1d5b
Add 'form->addPasswordRule' in order to centralize pass validation
...
- Add password validation in user_add.php/user_edit.php
- New security functions added: getPasswordRequirements/getPasswordRequirementsToString
- See BT#12571
9 years ago
jmontoyaa
807cf5697b
Rewrite generate password and check password - requires composer update
...
- Added ircmaxell/random-lib lib to improve security.
- Add 'password_requirements' setting see BT#12571 to customize min
requirements.
9 years ago
Angel Fernando Quiroz Campos
e4b9278f0c
Allow show 'Read more' link when adding page-break to blog post - refs BT#12324
9 years ago
Yannick Warnier
ff051d15e8
Minor - Add validation on Database::query() return types #scrutinizer
9 years ago
Yannick Warnier
7b1b31fe5a
Fix issue with detailed counting of characters in blog - fixes BT#12324
9 years ago
jmontoyaa
c804014cda
Fix stylesheet update.
...
- Platform stylesheet theme is checked from the DB
- Move update to the top to avoid stylesheet that doesn't get updated.
9 years ago
jmontoyaa
7370461f36
A theme folder is consider if there's a default.css file in it.
...
See BT#12490
9 years ago
jmontoyaa
f225080661
Update docs
9 years ago
jmontoyaa
b43c3d3627
Add virtual instance theme feature see BT#12490
...
- New function Template::getThemeDir() added to located the theme folder
- New setting in vchamilo ThemeFolder (DB change below)
- New field in vchamilo table: css_theme_folder (ALTER TABLE vchamilo ADD COLUMN css_theme_folder varchar(255);)
- Rewrite api_get_themes() using Finder class, adding vchamilo css theme folder
- Fix mirror function adding 'override' option
9 years ago
jmontoyaa
029776f32d
Improve CSS stylesheet change/upload
...
- Add theme parameter in function return_logo(), ChamiloApi::getPlatformLogo
- Use key/value array in function api_get_themes()
9 years ago
jmontoyaa
1437a3f7e4
Use flash messages
...
- Remove unused function api_add_url_param
- Format code
9 years ago
jmontoyaa
dcc9e2affe
Minor - update phpdoc
9 years ago
Yannick Warnier
661239d80e
Add SMTP_UNIQUE_REPLY_TO setting + support in api_mail_html() - fixes #1772
9 years ago
Angel Fernando Quiroz Campos
a1c4c6fe62
Adding Annotation question type - refs BT#10892
...
Work in progress
9 years ago
jmontoyaa
52ea8738c0
Fix function doc, use correct cast int.
9 years ago
jmontoyaa
2d48717202
Add configuration variable per portal see BT#12383
...
If multiple_access_urls is set then you can setup a configuration value
per value. Example:
$_configuration['session_lifetime'][2] = false; to affect only URL id 2
9 years ago
Angel Fernando Quiroz Campos
7c8b711b67
Fix session visibility out of date - refs BT#12412
9 years ago
jmontoyaa
6fe37be6e2
Fix PHP warning
9 years ago
jmontoyaa
2252c440de
Minor - format code
9 years ago
jmontoyaa
66ea436b73
Minor - Format code, remove unused code
9 years ago
José Loguercio
c0ba9f94f6
Add location url function with a exit break by default
9 years ago
jmontoyaa
d92c6c5fdb
Fix apc in api_get_user_info
9 years ago
Yannick Warnier
a729ce8860
Move, rename, change order and default values for function api_add_sub_hours_to_date_time to(base-time, interval, operation) ChamiloAPI::AddOrSubTimeToDateTime(interval, optional base-time, optional operation) - refs BT#12212
...
Change event_course_login() back to previous state (hack not necessary anymore)
Add reasonable documentation to new code
Expect IP address to be given to eventCourseVirtualLogin()
9 years ago
José Loguercio
344a54aaad
Add tracking logs to determine working time in course access details - Refs BT#12212
9 years ago
jmontoyaa
0e29255d5f
Fix php warnings + format code #1714
9 years ago
Yannick Warnier
0cadaa026f
Update the APCu global code to use internal API and conventions better as suggested in comments for ea01f20da9
9 years ago
Yannick Warnier
4a31f519a1
Minor - Remove useless intermediate variable - see 667b695cef
and 5a1c64d7bc
9 years ago
Miguel C
33a9aa20b3
New feature, button changed , the button goes to last page and not to home page.
9 years ago
jmontoyaa
667b695cef
Fix php warnings
...
5a1c64d7bc
9 years ago
Yannick Warnier
5a1c64d7bc
Minor - Remove useless intermediate variable
9 years ago
Yannick Warnier
2484619dab
Major - Fix previous commit's missing return (api_get_user_info())
9 years ago
Yannick Warnier
ea01f20da9
Major - Introduce global APCu check and store user info in APCu in api_get_user_info(), removing about 60K function calls in some cases if APCu is present.
9 years ago
Yannick Warnier
94c5de8f6b
Fix issue sending e-mails from incorrect FROM address if SMTP_UNIQUE_SENDER is set. This drops changes added through commits c59206c
and e3ebb10
without removing the possibility to fix the sender through SMTP_UNIQUE_SENDER and SMTP_FROM_EMAIL - refs BT#11684
9 years ago
jmontoyaa
ea78eb4902
Return int
9 years ago
jmontoyaa
e5840e28d7
Minor - Format code
9 years ago
jmontoyaa
a924900d52
Use api_float_val and api_number_format to handle float convertions
...
See BT#12133
9 years ago
jmontoyaa
e8c03d3046
Change setting to mail_content_style
9 years ago
jmontoyaa
423e8efd3f
Add mail_body_style setting see BT#12156
9 years ago
jmontoyaa
f15e59878a
Add archive_url, home_url, upload_url settings see BT#11414
9 years ago
José Loguercio
6469a566d3
Fix footer_extra_content and header_extra_content - Issue #1604
9 years ago
jmontoyaa
1e9d8a2ec4
Fix header because use of api_not_allowed.
9 years ago
jmontoyaa
a55dd28a7c
Add course assets in order to save course icons see BT#12216
...
During course import/export.
9 years ago