Juan Leyva
3ca3d259e5
MDL-47545 web services: Allow cross origin requests for file downloads
2014-10-24 17:10:44 +02:00
Juan Leyva
5e28991e78
MDL-47545 web services: Allow cross origin requests
2014-10-23 11:17:41 +02:00
Marina Glancy
bd132709c4
MDL-46054 web_services: wrong key in exception string
2014-09-29 16:03:22 +02:00
Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Eloy Lafuente (stronk7)
538bf99ece
MDL-45486 Bump all versions to planned release
...
This bumps all versions to planned 2.7 release
(2014051200) version and all the dependencies to
current 2.7rc2 (2014050800)
2014-05-09 02:12:28 +02:00
Dan Poltawski
c559161f4a
Merge branch 'MDL-39759_http_response_code_master' of https://github.com/dongsheng/moodle
2014-04-09 12:38:30 +08:00
Petr Škoda
e5d48aad44
MDL-44106 add WS_SERVER constant to all web service calls
...
This will help us hack around some nasty webservice problems,
such as require_login() and it will be used to set proper 'ws' origin
in logged events.
2014-03-20 17:28:01 +08:00
Rajesh Taneja
623a32e50d
MDL-43736 Events: Updated unit test to test context not used in event
2014-01-29 11:39:50 +08:00
Eloy Lafuente (stronk7)
f39c82ebed
MDL-42701 Bump all versions near 2.6 release
2013-11-05 02:36:00 +01:00
Tim Hunt
562684e3a0
MDL-42309 typo: fix reponse -> response throughout Moodle.
2013-10-15 13:47:27 +11:00
Marina Glancy
0880a52c9a
Merge branch 'MDL-40050-master' of git://github.com/FMCorz/moodle
2013-10-02 16:54:59 +10:00
Frederic Massart
26422a66ad
MDL-40050 webservice: Moving new events test file to right location
2013-10-02 13:10:45 +08:00
Frederic Massart
ee2df1a8b2
MDL-40050 webservice: Remove token from events
2013-10-02 13:00:28 +08:00
Eloy Lafuente (stronk7)
94211c02c3
Merge branch 'MDL-40050-master' of git://github.com/FMCorz/moodle
2013-09-30 21:55:41 +02:00
Frederic Massart
d733a8ccc3
MDL-40050 webservice: Replace add_to_log() with new events
2013-09-24 15:20:18 +08: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
Damyon Wiese
1495f2893e
MDL-22236 webservice : Remove filearea restrictions on user draft areas.
...
It does not make sense to apply restrictions to the size of a users draft areas
so this is only checked if uploading direct to user private files.
2013-08-08 12:18:20 +08:00
Damyon Wiese
106c55fb9c
MDL-22236 Webservice file upload - Allow webservice file uploads direct to a draft filearea.
...
Via post to /webservice/upload.php
2013-08-08 09:57:57 +08:00
Petr Škoda
8252b7c291
MDL-40901 standardise core test case class and file names
...
This finally allows us to type only the class name when executing individual core test cases.
2013-08-04 22:10:31 +02:00
Petr Škoda
b0d1d941c9
MDL-40220 use new core_component::get_component_directory()
2013-07-16 22:42:37 +02:00
Damyon Wiese
44b3927b70
MDL-39563: Change to use $CFG consistently
2013-07-15 15:01:39 +08:00
Damyon Wiese
4d4b938fa3
Merge branch 'MDL-39563' of git://github.com/jleyva/moodle
2013-07-15 14:54:20 +08:00
Juan Leyva
9184d44ded
MDL-39563 Fixing mobilecssurl is not being returned in WebService, phpunit tests
2013-07-11 16:25:17 +02:00
Petr Škoda
c05a50992e
MDL-40415 add explicit OPcache support
2013-07-04 19:32:26 +02:00
Dongsheng Cai
7d18e32afc
MDL-39759 REST SERVER HTTP response code
...
Moodle should response 403 if web service or REST protocol not enabled
2013-05-20 22:45:13 +10:00
Jerome Mouneyrac
ca11d39029
MDL-31209 web service error message: Indication about the service not containg the web service function is confusing
2013-05-14 15:40:16 +08:00
Juan Leyva
70f3a47e33
MDL-39563 Fixing mobilecssurl is not being returned in WebService get_siteinfo function
2013-05-08 11:51:46 +02:00
Jerome Mouneyrac
2af34ab005
MDL-31193 display the correct and translated token valid until date
2013-05-03 14:09:34 +08:00
Eloy Lafuente (stronk7)
cedb0aab5a
MDL-39434 Bump all versions near 2.5 release
2013-05-01 18:03:29 +02:00
Jerome Mouneyrac
63c7be350b
MDL-34434 Change the texts saying that we'll be removing web service deprecated functions from 2.5
2013-04-17 12:13:04 +08:00
Dan Poltawski
fbd90ba191
Merge branch 'MDL-37410-master' of git://github.com/mouneyrac/moodle
2013-04-10 10:37:29 +08:00
Jerome Mouneyrac
909f27acf4
MDL-37410 External PHPunit test: used ->getDataGenerator()->enrol_user instead to manually enrol the user. + improve the unassignUserCapability to remove a capability assigned by getDataGenerator->enrol_users
2013-02-12 11:15:15 +08:00
Frederic Massart
4d3fd60d28
MDL-37961 webservice: PARAM_BOOL with PARAM_DEFAULT accepts boolean default
2013-02-11 14:37:19 +08:00
Dan Poltawski
22aabad2d8
Merge branch 'MDL-37358-master' of git://github.com/mouneyrac/moodle
2013-01-22 09:05:46 +08:00
Eloy Lafuente (stronk7)
493d8f781c
Merge branch 'MDL-37354-master' of git://github.com/mouneyrac/moodle
...
Conflicts:
message/tests/externallib_test.php
2013-01-15 21:50:31 +01:00
Jerome Mouneyrac
fb695f6e3d
MDL-37354 clean return value for each externallib PHPUnit tests
2013-01-09 13:47:01 +08:00
Sam Hemelryk
f44e7d0a77
Merge branch 'MDL-36357' of git://github.com/danpoltawski/moodle
...
Conflicts:
user/view.php
2013-01-09 09:34:22 +13:00
Jerome Mouneyrac
6a30d03e5f
MDL-37355 Fix the REST server that didn't send back the cleaned values
2013-01-04 14:23:02 +08:00
Jerome Mouneyrac
87ede25c9b
MDL-35593 core_webservice_get_site_info returns version number set to PARAM_TEXT and PARAM_FLOAT
2012-12-03 10:47:38 +08:00
Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Jerome Mouneyrac
92fa81d387
MDL-35998 get_site_info return current_language()
2012-11-02 18:03:20 +08:00
Jerome Mouneyrac
33af788210
MDL-35998 New mobile menu: with CSS url + existing enable mobile web services
2012-10-31 14:25:30 +08:00
Jerome Mouneyrac
12fc8acf5b
MDL-35198 replace key_exists by array_key_exists
2012-09-26 15:20:18 +08:00
Eloy Lafuente (stronk7)
97f6be20ac
MDL-34962 whitespace fix
2012-09-11 20:09:08 +02:00
Eloy Lafuente (stronk7)
498bc10c36
MDL-34962 Tidy up tests a bit
2012-09-11 19:38:12 +02:00
Paul Charsley
639bc8b2f3
MDL-34962 added release number to returned values
2012-09-07 18:19:01 +12:00
Ankit Agarwal
d197ea4300
MDL-34549 libraries: Replace get_context_instance_by_id() by context::instance_by_id()
2012-08-24 11:30:10 +08:00
Petr Škoda
4c7f536379
MDL-34368 fix another validuntil condition
2012-08-01 08:30:28 +02:00
Nathan Mares
6bfa9c49d5
MDL-34368: Fix broken query in so tokens are correctly checked against the linked service
2012-07-30 15:49:38 +08:00