Skip to content

Releases: slawkens/myaac

MyAAC v1.8

02 Aug 10:38
Compare
Choose a tag to compare

Added

  • Templates - Kathrine: Possibility to add custom menu categories (ec11c14)
  • Admin Panel - Accounts Editor: Add Coins Transferable (45d6047, bb097b6)
  • Highscores:
    • Revamped: (d8132d4)
      • Show real rank, if 2 or more players have the same skill, show them with same rank
      • New setting: highscores_online_status
      • Additional fields passed to twig: updatedAt, totalResults, page, baseLink
    • Add new Setting: Display Skills Box (36ca755)
  • Functions: Add getExperienceForLevel (level) (1566deb)
  • Commands - cache:clear : Add warning about APCu clear in CLI (83f8417)
  • Models - PlayerOnline: Add missing $fillable into model (43415cf)
  • Twig: add cache variable (0efe47c)

Changed

  • pages/online: add cache, resulting in 20x performance boost
    • (for an example server with 2k players) (c836308)
  • Admin Bar: Move admin bar code into body_start place_holder (f17269e)
  • Cache::remember: $ttl = 0 means no cache (3b47e9d)
  • Templates: Load config.ini with $process_sections set to true (a89f9a8)
  • Twig: Allow for timestamp as integer in the timeago twig function
    (34fead9)

Fixed

  • Settings: Fixed two exceptions (6e5a4ff, 20d69a6)
  • Models\Account + OTS_Account -> isPremium -> ignore config.freePremium (5271633)
  • Admin Panel - Mailer:
    • Fix send to email link redirecting from accounts page (080cc27)
    • Option to send only to verified accounts - only if setting('core.account_mail_verify') enabled (cf7fd20)

Internal

  • Rewrite to use constants (account transferable coins) (bccf8e0)
  • Refactor to use HAS_ACCOUNT_COINS (caf326a)

MyAAC v1.7.1

27 Jun 05:48
Compare
Choose a tag to compare

Another week, another release.
More changes have been done, but are not worth mentioning.

Changed

  • Rename plugin:install:install to plugin:setup, also add alias to previous command (13d3382)

Fixed

MyAAC v1.7

22 Jun 07:05
Compare
Choose a tag to compare

Added

  • Feature: plugins versions check (#310)
  • New hooks: HOOK_ACCOUNT_MANAGE_AFTER_CHARACTERS, HOOK_GUILDS_AFTER_MANAGE_BUTTON (c074a48, e6100a1)
  • Add OTS_Toolbox::getVocationName(id, promotion) + OTS_Player->isNameLocked() (e222957, 522f6c1)
  • Add missing csrf in more places, causing white page with error about Request (dca904e, c720ccc)

Changed

Fixed

MyAAC v1.6.1

11 Jun 12:44
Compare
Choose a tag to compare

Fixed

  • Fixed "Request has been cancelled due to security reasons", cause of missing csrf() in twig files (10cd71a)
  • Fix: Ignore duplicated route exception (9d8e9d2)

Changed

  • Move counter & visitors code before router (In case someone wants to include that info on page) (f782850)
  • Set TinyMCE license key to gpl (Avoid warning message in browser console) (8d29fdb)

Removed

  • Remove deprecated TinyMCE plugin - template (309c1fb)

MyAAC v1.6

03 Jun 15:48
Compare
Choose a tag to compare

Note: There is a problem in this version with account management pages, you will see white page saying "Request has been cancelled...", so it's better to download v1.6.1, where it has been fixed.

Added

  • Add new setting/configurable: site_url, prevents domain spoofing (d8a6090)
  • Add new account coins setting (2888655)
  • autoload: settings/install/init.php (e574943, 7d213f4, 207d6bc)
  • Protect against csrf in more places (accounts & guilds & forums pages) (6eda386, e776bd5, 84d502b)
  • Added two new hooks for pages loaded from database (custom pages): HOOK_BEFORE_PAGE_CUSTOM, HOOK_AFTER_PAGE_CUSTOM (c961a1e)
  • Add global variables into $hooks->executeFilter (8fdea94)
  • Add getNPCsCount() to OTS_InfoRespond (7d435ff)

Fixed

  • Allow [] in character name (de6603a)
  • Do not allow access to tools/ folder after install (6e0f591)
  • Fix CHANGELOG-1.x.md loading in admin panel (4a30fb4)
  • Fix links not working in admin dashboard modules (be7b27c)
  • Fix twig variables: logged + account_logged being not set directly after login (1e9b10d)

Changed

  • OTS_ServerInfo -> move setTimeout out of class - Possibility to use the class without MyAAC (40d65a6)

MyAAC v0.8.24

03 Jun 15:47
Compare
Choose a tag to compare

Added

  • Add code to insert guild_ranks on guild create, in case guild trigger is missing (149e102)
  • Two new hooks for pages loaded from database (custom pages): HOOK_BEFORE_PAGE_CUSTOM + HOOK_AFTER_PAGE_CUSTOM (e542e8a)
  • Load hooks before twig, add new hooks: HOOK_TWIG + HOOK_INIT (5726c9f)
  • New hooks for account characters change-comment page (76440a3)

Fixed

  • Do not allow access to tools/ folder after install (fcfe5b0)

Changed

  • Do not return -1 in case of freePremium, makes things harder (335b7b3)

MyAAC v1.5

14 May 12:19
Compare
Choose a tag to compare

Added

  • Feature/twig hooks filters (#258)
  • Add latest client versions (14.00 - 15.01) (5367df2)
  • db variable to twig (5ed1aec)
  • New filter: HOOK_FILTER_ROUTES (9b75011)
  • Allow optionally separate folder for views (thanks @Scrollog for idea) (03e2752)
  • Add float & double types to the Settings (67ab425)
  • Add optional param _page_only for single-page apps etc. (113473f)

Changed

  • Change OTS_Account->getPremDays to not return -1 in case of freePremium (3befde2)
  • Add note about highscores being updated x minutes + allow ttl 0 to disable cache (a161cff)
  • Better monster images (no image not found anymore) + use cache (73a5829)
  • Rename server-info -> ots-info, changelog -> change-log (Due to conflict with apache2 server-info mod) (3949d84)
  • Move rules page to admin panel (3949d84)

Fixed

  • php 8.4 warnings
  • Visitors counter not working properly on dev mode (da15105)
  • Fix login.php boosted creature & boss (not sure exact version, but should be 14.12 or around) (c48b800)
  • Fix installMenus when theme/template was removed from disc (c24c580)
  • Fix if user removes the menu category (dbea69f)

Updated:

  • Update cypress from version ^13.17.0 to ^14.3.3 (629fd18)

MyAAC v1.4

22 Apr 12:52
Compare
Choose a tag to compare

Added

  • feat: admin-pages (can add admin pages through plugins) (ceaa063)
    • just place the page in admin-pages folder in the plugin
    • Also, possibility to overwrite default myaac admin pages
  • Add db->hasTableAndColumns(table, columns), credits to @opentibiabr Team (82a533d)
  • Add noSubmit option to buttons.base (64f6d3a)

Fixed

  • Fix: display 404 error instead of 500 when page has been removed from filesystem (c2bf94f)
  • Fix headline.php: change image format to .png cause of black background (b618084)
  • Clear cache on plugin enable/disable, fixes some issues with plugin pages being cached (1d0c173)
  • Do not autoload sub-folders if autoload pages is disabled (d47195a)

Changed

  • SQL Syntax Standardization (by @JoaozinhoBrasil, #298)
  • Pages in theme/template folder will now have precedence over normal pages (6d8f471)
  • Small changes in account.login.html.twig (f40b986)
  • Plugin name is required, version is optional (e6f05a2)

MyAAC v0.8.23

22 Apr 12:29
Compare
Choose a tag to compare

One more portion of fresh air for 0.8 users.

Recommendation: Upgrade to 1.x! As 0.8 will be not supported forever.

Added

  • Add db->hasTableAndColumns(table, columns), credits to @opentibiabr Team (9c15c2f)
  • Add noSubmit option to buttons.base (4b9a7ea)

Changed

  • Display more info when error parsing config.lua value (29a198b)
  • Change logout button color to red in tibiacom template (1708a48)

Fixed

  • Fix headline.php: change image format to .png cause of black background (68170e4)
  • Fix long title on headline.php (727da8b)
  • getPremDays: returns -1 if freePremium (89f537c)

MyAAC v1.3.3

04 Apr 19:30
Compare
Choose a tag to compare

Fixed

  • Fix uninstall plugin when plugin is disabled (6c568fd)

Changed

  • Display more useful info when error parsing config.lua (fa6b6aa)

Other