Skip to content

Releases: jcvignoli/lumiere-movies

v4.1 Fine tuning: layout in popup and administration, taxonomy pages, auto title widget exclusion

02 Apr 02:29
ca4742d
Compare
Choose a tag to compare

Popup spinners to make you visitors wait, nicer popup layouts, faster taxonomy pages display, better support of Polylang if it's an AMP page. Fixed longstanding bugs.

More flexibility for the auto title widget users: You can now prevent a post from displaying the auto title widget by ticking in the post edition's the Lumiere option "Deactivate autowidget for this post".

More stable and safe. WordPress standardized.

Full Changelog: https://github.com/jcvignoli/lumiere-movies/commits/v4.1

v4.0 better admin option pages, better taxonomy, safer and more stable

27 Feb 05:11
cd3cf4a
Compare
Choose a tag to compare

Added new automatized refresh of the cache function, a cool feature that will ensure that you cache is up to date forever! Fixed also the taxonomy system, it now creates proper links towards taxonomy pages (ie: https://yourblog.com/lumiere-director/stanley-kubrick) within widgets/into the posts sections, with the appropriate language. Taxonomy for items (ie: genre) is now displayed for all items found. Added the general advanced option to add an extra delay when querying the IMDb website. Data downloading from imdb website is retried 3 times before giving up. Fixed bug in plugin activation, layout in admin data options position, improved Content security policy and HTML 4.1, PHP 8.0, PHP 8.3 compatibility. Banning bots is now executed before doing any IMDb search or display, avoiding cache creationg (and 504 HTML errors when calling IMDb website!). Improved the comments in admin sections. Under the hood, the admin option pages have been cleaned and rewrote.

And much more! This is a major new version, more stable and safer, extensively tested before release.

!Important: Due to the improvement of the taxonomy system, it is advised to remove all "lumiere-XX" taxonomy tags that may have been automatically created. Just go to the Posts admin section, and delete all tags found under "lumiere-XX" taxonomy (ie: lumiere-director) you may have on the left menu. Tags will be created again when visiting your pages with IMDb widgets/into the posts sections. Important again: if you are a Polylang plugin user, make sure to activate in "Settings -> Custom post types and Taxonomies -> Custom taxonomies" your Lumière taxonomies

Full Changelog: https://github.com/jcvignoli/lumiere-movies/commits/4.0

bio fixes, using forked imdbphp libraries

04 Aug 21:20
89be4a5
Compare
Choose a tag to compare

technical and bug hunting release

06 Apr 18:48
1e35097
Compare
Choose a tag to compare

Updated to IMDbPHP 8.1, various bugs addressed

Full use of Composer for autoload, cache fixes, imdphp search fixed

01 Nov 17:37
3f21876
Compare
Choose a tag to compare
  • [feature] If a new taxonomy template is found, a notice is shown in admin Lumière options (will keep nagging until update is processed)
  • [feature] Lumière will not be compatible with plugins that promote a web of spammers. First plugin to enter the hall of shame: RSS Feed Post Generator Echo, paid plugin used to make ghost websites with ads and make money. If such plugin is activated, Lumière will automatically be deactivated.
  • [bug] Under unusual circomstances, class-taxonomy-people-standard.php was failing to retrieve an IMDbPHP class name. Added throwing an exception
  • [bug] Tagline in movies popup shows up again
  • [bug] Gutenberg's movie type select text in Lumière movie's block was not shown, fixed block/index.js
  • [bug] Taxonomy pages did not work for people's names with accented letters (added sanitize_title())
  • [bug] Wrong annotation for class-settings.php (extra OPTIONS_WIDGET properties)
  • [bug] ImdbPHP search was not working for people on some sporadic circumstances
  • [bug] Creating Cache folder (method settings->lumiere_create_cache() ) was not entirely functional. New logic implemented in the method, should take care of any new cache path provided, default path case when installing the plugin, and alternative cache paths (aka inside Lumière plugin folder)
  • [bug] If cache was not utilised, IMDB pictures were tried to be retrieved anyway (IMDBphp needs a folder to store and display pictures). Edited frontend classes (movie, popup-movie and popup-person) and theme taxonomy-people-standard
  • [bug] Uninstall did not remove the cache path as saved in database, but Lumiere\Settings::LUMIERE_CACHE_OPTIONS instead
  • [bug] Utils::lumiere_notice() warning (case 4) was buggy. Fixed and implemented dismissible notices.
  • [technical] Properly using composer scripts in src, not copied to the production vendor folder with composer anymore
  • [technical] Using composer autoload, removed all home-made autoloads. Can't use PSR-4 autoloading, since WordPress naming is not PSR-4 compliant.
  • [technical] Bootstrap Window Maker is now relying on composer for updating
  • [technical] Unloading various stylesheets in AMP link makers, as in AMP pages those are not found.
  • [technical] Removed cache option 'imdbstorecache' (was hidden and not available in cache options); using now cache option 'usecache' in class-imdbphp to define it.
  • [technical] Updated to bootstrap 5.2.2
  • [technical] Added link to settings in WP plugins page interface
  • [technical] Updated to IMDBPHP library 7.3.1. Fixes major bugs such a movie search

Bootstrap, new modal window, OOP, IMDBphp bugs. PHP 8.0 required

09 Jun 19:21
d462edd
Compare
Choose a tag to compare
  • [feature] Implemented a new link maker: Bootstrap 5.1 modal window. Can be selected in admin options.
  • [technical] PHP8.0 is required due to new coding style, and PHP7.4 will obsolete soon
  • [technical] Polylang is now a Plugin class with separated functions
  • [technical] More OOP oriented, decoupled the link making process, NoLinks, Bootstrap, Highslide, Classic
  • [technical] Virtual pages are now created with the new Virtual_Page class
  • [technical] Updated to IMDBPHP library 7.3 and Monolog 2.6
  • [bug] Metaboxes in howto admin not displayed under certain context
  • [bug] class-logger didn't create debug file if not existing
  • [bug] IMDBPHP fix monthNo() and keywords were not displayed
  • [bug] Popups do not throw a 404 header anymore (as they use virtual pages class)

AMP, PHP 8 and WordPress 6 compatibility

06 May 21:02
98239d4
Compare
Choose a tag to compare
  • [feature] AMP Wordpress plugin greatly compatibility improved but still room for improvement remains
  • [technical] Updated to IMDBPHP library 7.3 and Monolog 2.5
  • [technical] Renamed files in blocks folder according to WP standards (using folders and index.js files)
  • [technical] Added plugins class, grouping all WP plugins compatible with Lumière
  • [technical] Removed user comment option (class-settings, class-data) -> in "updates/09.php"
  • [technical] Rewrote update class to call automatically child classes.
  • [bug] phpstan in class-data.php: -Call to function is_array() with array<int, mixed> will always evaluate to true-, removed the if/then
  • [bug] PHP 8 compatibility improved (class-core.php line 714 array key film wasn't declared)
  • [bug] Fixed image not aligned in movie block in WP block editor

v3.6.6

24 Mar 22:38
ed98b22
Compare
Choose a tag to compare

[bug] If new taxonomy template available, can't overwrite the old template.
[technical] Updated to IMDBPHP library (still 7.2, but with bug fixes) and Monolog 2.3.5

bug fixes

08 Sep 19:49
7182d2f
Compare
Choose a tag to compare
  • [technical] For new installs, the new URL for popups is '/lumiere/' instead of '/imdblt/'
  • [technical] For new installs, display poster thumbnails in widget/inside a post/taxonomy/popups instead of default size by default. Set setting 'imdbcoversize' to '1' in class-settings.php.
  • [bug] Function to detect of whether a Lumiere widget is active was broken. Fixed lumiere_block_widget_isactive() in class-utils.php
  • [bug] Biography length was not correctly counted and led to text being cut early. Added new condition for $esc_html_breaker in lumiere_medaillon_bio() in class-frontend.php
  • [bug] Picture link url in taxonomy page for people was not built. Fixed class-taxonomy-people-standard.php
  • [bug] Tagline's, Quote's commas were not display accurately and the last tagline displayed was taking wrongfully a comma. Plot's breaking lines < hr > were not displayed after the second result. Fixed the methods in class movie.

Plugin rewrote

08 Sep 19:54
4fb7955
Compare
Choose a tag to compare

v.3.6.2

  • [bug] on some configurations, the creations of cache folder could lead to a fatal error. Switched $wp_system functions to PHP core functions in class-settings.

v.3.6.1

  • [bug] error upon activation, class-utils was the culprit

v.3.6

  • [feature] Massive cleaning of the code, plugin rewritten for perfomance and maintainability. Code is linted using PHPCS, PHPMD and PHPStan. Faster, more secure and more stable plugin.
  • [feature] Uninstall process properly implemented. Lumière doesn't rely on WordPress deactivation function anymore for removing its options, taxonomy and cache. Properly deletes taxonomy in database.
  • [technical] Removed imdbsearchdirect, blog_adress option, imdbwidgetonpost, imdbimgdir, imdb_utf8recode, imdbwebsite, imdbwidgetonpage in settings class.
  • [technical] New way to deal with debug logging; class/function origin of the log fully implemented
  • [technical] Taxonomy for director is set on active by default.
  • [technical] Using PHP traits and classes for maintainability and readability purposes.
  • [technical] Using only checkboxes in admin.
  • [technical] All Lumière scripts are loaded in footer for the sake of performances.
  • [technical] Taxonomy template copying in admin now detects if a new template version has been released.
  • [bug] Debug/log functions, when activated, prevented from saving posts in block editor. Debugging and logging rewritten, checking the current page before showing log/debug on screen.
  • [bug] Tags, should they exist, were not displayed in template taxonomy people.
  • [bug] Several functions in popup movie did not return an internal link to another popup, but a unlinked text (sanitized text) instead.
  • [bug] In actors summary in person popup, the role could link to a useless imdb link. Rewritten the function, no link at all is now displayed.
  • [bug] Display of the soundtracks in articles/widgets did not show the soundtrack title
  • [bug] Biography in articles/widgets and popups was truncated. Regex rule was broken.
  • [bug] Saving Popup width and height options in admin was broken
  • [bug] Thumbnail option was not modifying the poster sizes. Now it does in the articles, widget and popups. In admin, ticking the option was providing the width selection, while it was the opposite behaviour that what expected.
  • [bug] Data details: Runtime, user comment and source were missing in admin and thus could not be selected.
  • [bug] Updates were not running upon updates (only upon activation)
  • [bug] Cronjobs were not throwing debugging text. Added DOING_CRON as new condition in settings class lumiere_maybe_log() & utils class lumiere_activate_debug()
  • [bug] Various bugs in people taxonomy template, polylang integration was not working as expected. New template version 3.0 released.
  • [bug] Taxonomy template item was buggy. Rewritten as a class.
  • [bug] Removed imdbtaxonomytitle, a taxonomy option that wasn't used anymore. Titles can't be taxonomised, no need for such an option.
  • [bug] Stylesheets and javascripts were missing a "min" suffix in their names.
  • [bug] Stylesheets and javascripts were not loaded in admin pages for new installs. Changed conditions in Core class function lumiere_execute_admin_assets()
  • [bug] Number of updates not correctly initialised on new install. Fixed the function in class Settings.
  • [bug] Popup movie error in displaying data when utilised as a searching popup. Removed imdbsearchdirect condition, cleaned the class, fixed html.
  • [bug] flush_rewrite_rules() when adding a new taxonomy page was buggy. Now it is triggered both when saving and and visiting taxonomy options page.
  • [bug] Internal popups links for composer were not created. Fixed regex in lumiere_convert_txtwithhtml_into_popup_people() in class movie.
  • [bug] External links in plots were (sometimes) not created. Removed escaping plot in lumiere_movies_plot()
  • [bug] Two iterations were made in the widget class per widget movie. Removed the useless loop.