Skip to content

Releases: valentineus/moodle-webhooks

v3.0.3 (Build: 2019021700)

16 Feb 23:47
v3.0.3
4e64c0b
Compare
Choose a tag to compare

Changes:

  • Fixed display of the event list.

v3.0.2 (Build: 2018061910)

01 Nov 23:00
v3.0.2
8eda3bc
Compare
Choose a tag to compare

Changes:

  • #11 - Escaping event name;

v3.0.1 (Build: 2018061900)

19 Jun 18:48
v3.0.1
f9772b1
Compare
Choose a tag to compare
  • Fixed bug when initializing the table.

v4.0.0-rc.2 (Build: 2018022500)

24 Feb 21:47
v4.0.0-rc.2
9cf4fc5
Compare
Choose a tag to compare
Pre-release

Features:

General changes:

  • All data operations require sesskey.
  • When testing, PHP versions 5.6 and 7.2 are used, and Moodle, starting with version 3.2+.

Cache:

  • Cache integrated into the event handler.
  • Added functions for working with the cache.
    • local_webhooks_cache_get - Get data from the cache by key.
    • local_webhooks_cache_set - Update the data in the cache by key.
    • local_webhooks_cache_delete - Delete the data in the cache by key.
    • local_webhooks_cache_reset - Clear the cache of the plugin.

Main functions:

  • Added a new function local_webhooks_search_services_by_event for finding services by event.
  • Functions local_webhooks_serialization_data and local_webhooks_deserialization_data and moved to the internal library.
  • The function local_webhooks_create_record has been updated. Now, the function returns the execution status.

External functions:

  • Great refactoring of the code was done, the documentation was rewritten.
  • A new function local_webhooks_search_services_by_event for the web service has been added.
  • The function local_webhooks_update_record has been updated. The foreign key id became part of the service array.
  • The private functions in the class were added:
    • structure_record_parameters - Single service template.
    • formation_list - Forms a list of services by template.
    • formation_events - Forms a list of events by template.

v4.0.0-rc.1 (Build: 2017122900)

29 Dec 10:51
Compare
Choose a tag to compare
Pre-release

Features

  • Added the ability to update seamlessly from version 3.0.0.

The interface is redesigned

  • The internal Moodle API is used to display the service table.
  • Tooltips use a conservative information style.
  • On the restore page from the backup, an element has been added to select the data deletion.

The plugin API is redesigned

  • The function local_webhooks_update_record is divided into two functions local_webhooks_create_record and local_webhooks_update_record for creating and updating the record, respectively.
  • The functions local_webhooks_archiving_data and local_webhooks_unarchive_data are deleted.
    Instead of remote functions, functions local_webhooks_serialization_data and local_webhooks_deserialization_data have been added.
    Archiving and base64 encoding are removed from functions.
  • Added feature local_webhooks_send_request for creating a request and sending the event to an external service.
  • Added feature local_webhooks_change_status for switching service status.
  • Added function local_webhooks_get_list_events to get a list of events.
  • Added function local_webhooks_delete_record to delete the selected service.
  • Added feature local_webhooks_delete_all_records for deleting saved services.
    Use with caution and use backup.
  • Redesigned function local_webhooks_restore_backup.
    Now the function accepts an additional parameter $deleterecords which is responsible for deleting existing records.

Added external web services

Documentation work with them automatically generated documentation page.

List of added web services:

  • local_webhooks_change_status to change the status of the service.
  • local_webhooks_get_record for information about the service.
  • local_webhooks_get_list_records to get a list of services.
  • local_webhooks_get_list_events to get a list of registered events.
  • local_webhooks_create_record to create a service.
  • local_webhooks_update_record to update the service.
  • local_webhooks_delete_record to delete the service.
  • local_webhooks_delete_all_records to delete all services.
  • local_webhooks_create_backup to create a backup.
  • local_webhooks_restore_backup to restore the backup.

Attention

  • Backups between versions 3.0.0 and 4.0.0-rc.1 are not compatible.

v3.0.0 (Build: 2017112600)

26 Nov 07:45
Compare
Choose a tag to compare
  • Code refactoring.
  • Creating an API.
  • Processing the architecture of the plug-in.
  • Many small improvements.

v2.1.0 (Build: 2017111810)

18 Nov 04:54
Compare
Choose a tag to compare
  • Added a logging system.
  • Added a host address in the request.

v2.0.0 (Build: 2017111800)

18 Nov 02:58
Compare
Choose a tag to compare
  • Bug fixes;
  • Added backup function;
  • Plug-in settings are available from the "Server" section;

v1.1.1

29 Oct 10:20
Compare
Choose a tag to compare
1.1.1 (Build: 2017102910)

v1.1.0

29 Oct 08:52
Compare
Choose a tag to compare

Features:

  • Added field for additional information;