Commit Graph

443 Commits

Author SHA1 Message Date
Dan Poltawski
7293a1aafd MDL-44260 uplodate: move deprecated functions to deprecatedlib 2014-12-22 15:07:59 +00:00
Dan Poltawski
65a19504d7 Merge branch 'MDL-44260-master' of git://github.com/lameze/moodle 2014-12-22 14:57:30 +00:00
Simey Lameze
6dd7175a20 MDL-44260 core_deprecated: final deprecation of clam related methods 2014-12-17 15:10:33 +08:00
Dan Poltawski
eb7ab07ef8 Merge branch 'MDL-44985-master' of git://github.com/ankitagarwal/moodle 2014-12-16 12:44:22 +00:00
Eloy Lafuente (stronk7)
3bd434cd49 Merge branch 'MDL-34550-master' of git://github.com/ankitagarwal/moodle 2014-12-16 13:35:52 +01:00
Dan Poltawski
52a7001bc2 Merge branch 'MDL-44088-master' of git://github.com/andrewnicols/moodle 2014-12-16 11:20:29 +00:00
Dan Poltawski
a3cc7bd8ce Merge branch 'MDL-44918-master' of git://github.com/FMCorz/moodle 2014-12-16 11:20:04 +00:00
Frederic Massart
6b61c2c45f MDL-46124 libraries: Final deprecation of text libs and plugin libs
- textlib_get_instance
- textlib
- collatorlib
- plugin_manager
- plugininfo_base
2014-12-15 17:02:31 +08:00
Ankit Agarwal
f9b7be4f95 MDL-34550 libraries: Final deprecation - get_context_instance_by_id() 2014-12-10 13:50:08 +05:30
Ankit Agarwal
e56e8e3a0e MDL-44985 libraries: Final deprecation of conditional classes and apis 2014-12-10 12:20:37 +05:30
Frederic Massart
26e4b0caff MDL-44918 libraries: Final deprecation of count_login_failures() 2014-12-08 17:24:57 +08:00
Andrew Nicols
44ab05b31d MDL-44088 ajax: Final deprecation of ajaxenabled() php function 2014-12-08 09:12:03 +08:00
Dan Poltawski
e4d9185e4a MDL-40607 deprecatedlib: final deprecations of 2.0 functions
These functions are getting final deprecation following our process.
Note that print_arrow() is getting more time due to incorrect
replacement - see MDL-45448
2014-11-29 12:42:31 +00:00
Marina Glancy
6fd0b781e1 MDL-36014 cohorts: fix error in SQL query 2014-10-09 15:33:49 +08:00
Marina Glancy
58b5b04d4b MDL-35618 enrol_cohort: remove enrolment button 2014-10-03 18:28:48 +08:00
Marina Glancy
80f98467f8 MDL-36014 cohorts: Allow teachers to view cohorts
Added property 'visible' for cohorts. Unsetting it hides the cohort from users in the course.

AMOS BEGIN
 CPY [visible,core_moodle],[visible,core_cohort]
AMOS END
2014-10-03 18:26:34 +08:00
sam marshall
061e6b2864 MDL-44725 Availability: Replace groupmembersonly - upgrade, core (1)
* Upgrades existing data so that the groupmembersonly option is
  replaced with equivalent data for the new availability API.
* Removes the database field and admin setting used for
  groupmembersonly.
* Changes core modinfo library to remove/deprecate groupmembersonly
  data and functions.
* Changes other core library files to remove groupmembersonly
  references.

Includes deprecation of several functions, listed in lib/upgrade.txt.
2014-09-02 13:03:07 +01:00
Petr Skoda
b33da4bfe3 MDL-45250 add debugging message to deprecated add_to_log() 2014-04-25 15:29:58 +08:00
Damyon Wiese
0cbd1f913d Merge branch 'MDL-45055-master' of git://github.com/ankitagarwal/moodle 2014-04-16 10:41:17 +08:00
Petr Škoda
aa386d2929 MDL-45100 fix course_context classname PHPDdos typo in context API 2014-04-15 15:46:19 +08:00
Ankit Agarwal
9634712a37 MDL-45055 events: Add debugging notice to events_trigger() 2014-04-14 11:51:37 +08:00
sam marshall
8d1f33e122 MDL-44070 Conditional availability enhancements (6): core changes
Changes core code to use new API instead of the old one when
checking user access to activities and sections.

Includes changes to other libraries that are necessary after
adding the availability system and removing old conditional tables
etc.
2014-04-07 20:11:48 +01:00
Sam Hemelryk
de878a38c8 Merge branch 'MDL-44719-master' of git://github.com/FMCorz/moodle
Conflicts:
	lib/deprecatedlib.php
2014-04-02 09:54:13 +13:00
Ankit Agarwal
52dc1de746 MDL-42891 administration: Re-implement incorrect login notification, without using the logtable. 2014-04-01 17:18:15 +08:00
Frederic Massart
6538153bbd MDL-44719 libraries: Invalid call to ajaxenabled()
A bad conflict resolution in 7eaca5a810
wiped this function from the deprecatedlib file. This patch
restores it.

But as we should not call any deprecated function in core we
also remove the its usage.
2014-03-25 11:44:08 +08:00
Petr Škoda
1985ef8342 MDL-44299 resolve collision with session_gc() in PHP 5.6 2014-03-12 10:43:30 +08:00
Petr Škoda
7eaca5a810 MDL-37658 add new logging API with basic implemenation 2014-02-28 14:52:24 +08:00
Damyon Wiese
63e604f8b1 Merge branch 'w08_MDL-42889_m27_vir' of https://github.com/skodak/moodle 2014-02-25 10:32:44 +08:00
Petr Škoda
114e3209b1 MDL-42889 cleanup obsolete clam relatd code
Since 2.0 all uploaded files need to go through the file picker which does the scanning,
the idea is that it is more important to warn users that their computer is crawling
with viruses. All teachers are supposed to have local up-to-date antivirus software!

Since 2.0 we are not scanning existing files on server, in future we might use the
status flag in files table to indicate the file is problematic, but still we should
never detele anthing from the filedir...
2014-02-18 09:22:30 +08:00
Dan Poltawski
89542d2888 MDL-33099 deprecatedlib: clarify some comments 2014-02-17 14:45:12 +08:00
Andrew Nicols
af64bc6179 MDL-33099 Javascript: Deprecate the ajaxenabled function 2014-02-17 14:11:21 +08:00
Petr Škoda
6780a1d3e5 MDL-43481 remove unnecessary legacy password hashing 2013-12-27 11:03:50 +08:00
Dan Poltawski
b9aaae163e MDL-40517 deprecatedlib: remove functions
* Removed functions which were throwing fatal errors
* Fixup navmenu comment, as it hasn't been throwing a fatal error, it
  shouldn't be removed as part of this issue yet. (Although if you are
  still using this function, you are crazy and should thank me ;-)).
2013-12-05 11:55:33 +08:00
Marina Glancy
0198b4a5d9 MDL-42323 coursecat: Changed phpdocs in deprecated function get_categories 2013-10-17 09:53:28 +11:00
Damyon Wiese
3d27180e94 MDL-40493 User preference: Allow users to set their preferred text editor.
This changes the setting htmleditor in the user table from a 0 or 1 column
to a user preference for the name of their preferred html editor.
2013-10-02 12:49:30 +08:00
Sam Hemelryk
7da590c11b Merge branch 'MDL-40572_master' of https://github.com/totara/openbadges 2013-10-01 11:05:59 +13:00
Yuliya
853e506a1b MDL-40572 badges: Update badge assertion to use new specification 2013-09-24 12:29:54 +12:00
Petr Škoda
d79d5ac276 MDL-31501 rework user session architecture
List of changes:
 * New OOP API using PHP namespace \core\session\.
 * All handlers now update the sessions table consistently.
 * Experimental DB session support in Oracle.
 * Full support for session file handler (filesystem locking required).
 * New option for alternative session directory.
 * Official memcached session handler support.
 * Workaround for memcached version with non-functional gc.
 * Improved security - forced session id regeneration.
 * Improved compatibility with recent PHP releases.
 * Fixed borked CSS during install in debug mode.
 * Switched to file based sessions in new installs.
 * DB session setting disappears if DB does not support sessions.
 * DB session setting disappears if session handler specified in config.php.
 * Fast purging of sessions used in request only.
 * No legacy distinction -  file, database and memcached support the same functionality.
 * Session handler name included in performance info.
 * Fixed user_loggedin and user_loggedout event triggering.
 * Other minor bugfixing and improvements.
 * Fixed database session segfault if MUC disposed before $DB.

Limitations:
 * Session access time is now updated right after session start.
 * Support for $CFG->sessionlockloggedinonly was removed.
 * First request does not update userid in sessions table.
 * The timeouts may break badly if server hosting forces PHP.ini session settings.
 * The session GC is a lot slower, we do not rely on external session timeouts.
 * There cannot be any hooks triggered at the session write time.
 * File and memcached handlers do not support session lock acquire timeouts.
 * Some low level PHP session functions can not be used directly in Moodle code.
2013-09-21 13:11:56 +02:00
Rajesh Taneja
2b503e40f2 MDL-31560 Messages: Deprecated generate_email_supportuser
generate_email_supportuser was not creating user which can
be used by messaging system. core_user::get_support_user()
should be used to get support_user record.
2013-09-13 16:13:26 +08:00
Sam Hemelryk
c3d2fbf9cd MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-26 13:59:19 +12:00
Damyon Wiese
9ead041cdb Revert "MDL-40931 useragent: separated user agent functionality into a lib"
This reverts commit af62237d0e.
This reverts commit 87a4194fdc.
This reverts commit b2c66eb60c.

Conflicts:

	version.php
2013-08-22 13:31:25 +08:00
Sam Hemelryk
af62237d0e MDL-40931 useragent: separated user agent functionality into a lib
This commit moves user agent related functionality out of several
core libraries and combines it into a more manageable class.
All core uses are converted and functions deprecated in favor
of the new class.
2013-08-16 09:02:01 +12:00
Frederic Massart
d0cac8b51b MDL-41100 libraries: Deprecating get_plugin_list_with_file 2013-08-09 11:59:48 +08:00
Petr Škoda
2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Marina Glancy
25b8ce9278 Merge branch 'wip-MDL-41024-m26' of git://github.com/samhemelryk/moodle 2013-08-07 00:10:44 +10:00
Sam Hemelryk
17440b2198 Merge branch 'w32_MDL-40815_m26_deprevent' of https://github.com/skodak/moodle
Conflicts:
	lib/deprecatedlib.php
2013-08-06 15:38:18 +12:00
Sam Hemelryk
0142523d08 MDL-41024 lib: deprecate isediting 2013-08-05 09:24:06 +12:00
Petr Škoda
6b32d6bc93 MDL-40995 simplify minify integration and fix all known issues 2013-08-03 17:16:17 +02:00
Petr Škoda
f0f0e1fe73 MDL-40815 deprecate events_trigger() 2013-08-02 16:48:19 +02:00
Mark Nelson
02ca2cada5 MDL-40649 libraries: deprecated get_recent_enrolments() 2013-07-19 18:17:31 +08:00