Skip to content

Releases: yii2-bridge/core

Admin panel fixes

06 Jan 13:53
ddb9136
Compare
Choose a tag to compare
  • Filtering translated and untranslated phrases in admin panel #51
  • Fixed active menu item in admin panel when GET query is present (#52, #53)

French translations and minor updates

22 Aug 15:48
f3ceab8
Compare
Choose a tag to compare

Changelog:

  • French translations to admin interface
  • Allowed translations of internal admin parts (#50)
  • Default migrations' comments changed to english

Big thanks to @Slayvin for all of the updates in this patch

Overriding layout and views

14 May 08:51
43463a6
Compare
Choose a tag to compare
  • Added $layout property for BridgeModule. If you need, you can install your own layout or edit existing. #43
  • Now, in your project config you can override bridge views. For example. #45
  • The submenu now also becomes highlighted if it is active. #42
  • Added a caret icon and animation to menu items which have a sub-menu. #40
  • Fixed bug with migration. #46
  • Fixed missing translation in dropdown menu. #39

Patch release

16 Apr 12:05
faf774c
Compare
Choose a tag to compare
  • Fixed bug with extraAssets
  • Fixed bug with method setIsAdmin in bridge component

Patch release

20 Jan 15:25
16ddb60
Compare
Choose a tag to compare
  • Changed the order of the execution of migration commands
  • Removed unused packages
  • Fixed bug when extend ImageColumn and TitledImageColumn classes
  • Fixed bug in I18n module
  • Fixed bug in MetaTagsComponent
  • Fixed bug when delete file via fileUpload() or imageUpload() fields

Hotfix

30 Nov 11:45
a402799
Compare
Choose a tag to compare
  • Fixed bug when use ImageColumn and TitledImageColumn
  • Fixed bug when get og:image in MetaTagsComponent
  • Fixed bug in MetaTags when use translation model

Patch release

02 Oct 11:16
ffa303c
Compare
Choose a tag to compare
  • Added default options for richTextArea field of ActiveFiled. By default, the allowedContent and forcePasteAsPlainText options are enabled
  • Fixed bug imageUpload and fileUpload fields of ActiveFiled
  • Fixed bug when delete image in Settings
  • Updated index in meta_tag_translations table
  • Fixed bug when get Settings
  • Fixed close sub-menu when menu is narrow
  • Fixed bug when generate rules for TINYINT column
  • Optimized queries in the preparation of meta-tags

Deprecation notice ⚠️

Remove the imageColumn attribute from the configuration MetaTagBehavior.
When calling Yii::$app->metaTags->registerModel(), simply specify as the third parameter the name of the image loading behavior (BridgeUploadImageBehavior).
The default name is imageUpload.
Example: Yii::$app->metaTags->registerModel($model, 'metaTag', 'imageUpload')

Fixed bugs with Settings

24 Aug 11:08
3274356
Compare
Choose a tag to compare
  • Fixed clear cache Setting and SettingGroup
  • Fixed create setting translations if they don't exist
  • Fixed bug Invalid path alias: @/Bridge/Core/Controllers when run command php yii

Settings translation and caching

24 Aug 05:06
09a5976
Compare
Choose a tag to compare
  • The Settings value is now multilingual. By default it gets the value for the current language.
    If you want to get a value for a specific language, you can simply specify the language code.
    For example: Settings::group('test-group')->get('test-setting')->getTranslation('en-RU').
  • Caching Settings. By default, settings caching is enabled. If you want to disable caching, add the 'settingsCaching' => false to the admin module configuration.
    Also, you can override the name of the cache key settings in the admin module configuration.
    For example: 'settingsCacheKey' => 'my_settings'
  • Web analytics services (google-analytics-key and yandex-metrika-key) are registered everywhere except the admin area. Earlier they were also registered in the admin panel, which spoiled the statistics.
  • Added the "Clear cache" button, which clears all caches.
  • In TranslationBehavior, you can now specify the cache key, which makes it possible to retrieve the translation data from the cache.
    Earlier we received data in approximately this way: $model->translation->title.
    Now, to cache the translation data, it is enough to specify the unique cache key with the second parameter of the getTranslation() method: $model->getTranslation(null, 'post-' . $model->id)->title. (with the first argument, we set null to get the value for the current language).
  • New translations for Russian and Kazakh languages have been added.
  • Also fixed minor bugs.

Fix namespaces

15 Aug 12:58
0bb9a62
Compare
Choose a tag to compare
Merge pull request #12 from altynbek07/fix-controller-namespace

fix(BridgeModule): controller namespace