Skip to content
Merged

1.4.5 #136

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [1.4.5] - 2026-06-24

### Fixed

- Improve authorization checks

## [1.4.4] - 2025-09-19

## Fix
Expand Down
2 changes: 2 additions & 0 deletions hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ function plugin_oauthimap_uninstall()
}
}



return true;
}

Expand Down
7 changes: 7 additions & 0 deletions inc/application.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,15 @@ public static function install(Migration $migration)
*/
public static function uninstall(Migration $migration)
{
/** @var DBmysql $DB */
global $DB;

$table = self::getTable();
$migration->displayMessage("Uninstalling $table");
$migration->dropTable($table);

$DB->delete('glpi_displaypreferences', [
'itemtype' => self::class,
]);
}
}
7 changes: 7 additions & 0 deletions inc/authorization.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,8 +627,15 @@ public static function install(Migration $migration)
*/
public static function uninstall(Migration $migration)
{
/** @var DBmysql $DB */
global $DB;

$table = self::getTable();
$migration->displayMessage("Uninstalling $table");
$migration->dropTable($table);

$DB->delete('glpi_displaypreferences', [
'itemtype' => self::class,
]);
}
}
5 changes: 5 additions & 0 deletions oauthimap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ It permits emails fetching from G Suite and Azure AD mailboxes.
<author>TECLIB'</author>
</authors>
<versions>
<version>
<num>1.4.5</num>
<compatibility>~10.0.11</compatibility>
<download_url>https://github.com/pluginsGLPI/oauthimap/releases/download/1.4.5/glpi-oauthimap-1.4.5.tar.bz2</download_url>
</version>
<version>
<num>1.4.4</num>
<compatibility>~10.0.11</compatibility>
Expand Down
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* -------------------------------------------------------------------------
*/

define('PLUGIN_OAUTHIMAP_VERSION', '1.4.4');
define('PLUGIN_OAUTHIMAP_VERSION', '1.4.5');

// Minimal GLPI version, inclusive
define('PLUGIN_OAUTHIMAP_MIN_GLPI', '10.0.11');
Expand Down