Skip to content

Code Update: June 2019

M. Drew LaMar edited this page Jun 6, 2019 · 2 revisions

June 2019 Code Update

Table of Contents

  1. Changelog
  2. Commits
  3. Migrations
    1. Plugin (Resources): Coins
    2. Component: Login
    3. Component: Members
    4. Component: Publications
  4. Code
    1. Misc
      1. Macro Changes (formathtml)
      2. Macro Changes (wiki)
      3. Publications CRON job
      4. Publications Watch
      5. Curious file
    2. Components
      1. - Groups (Template Override)
      2. + Newsletter (Not Necessary)
      3. + Publications (Updated)
      4. + Tags (Updated)
      5. - Users (Template Override)
      6. +/- Support (Updated)
    3. Modules
      1. - Report Problems (Template Override)
    4. Plugins
      1. + Groups Projects (Updated)
      2. + Groups Resources (Not Necessary)
      3. + Groups Usage (Updated)
      4. + Projects Files (Updated)
      5. + Projects Publications (Updated)
      6. + Publications Comments
    5. Template (Updated)
      1. - Groups
      2. + Login
      3. + Less

Changelog

Commits

  • Template Overrides [BMC Template]
  • Newsletter Component
  • Publications Component
  • Tags Component
  • Groups Projects Plugin
  • Groups Resources Plugin
  • Groups Usage Plugin
  • Projects Files Plugin
  • Projects Publications Plugin
  • Publications Comments Plugin

Migrations

Plugin (Resources): Coins

Added extension entry for plugin "plg_resources_coins"
Completed up() in core/plugins/resources/coins/migrations/Migration20170831000000PlgResourcesCoins.php

Component: Login

Updated login menu link to use `com_login`
Updated logout menu link to use `com_login`
Completed up() in core/components/com_login/migrations/Migration20190505000000ComLogin.php

Component: Members

Updated categories extension from `com_users` to `com_members`
Completed up() in core/components/com_members/migrations/Migration20190505000000ComMembers.php

Component: Publications

Completed up() in core/components/com_publications/migrations/Migration20190514144700ComPublications.php

Code

Misc

Macro Changes (formathtml)

core/plugins/content/formathtml/macros/file.php                                            |  39 +--
core/plugins/content/formathtml/macros/group/announcements.php                             | 132 +++++++++++
core/plugins/content/formathtml/macros/macro-assets/file/file.js                           |  29 +++
core/plugins/content/formathtml/macros/macro-assets/slider/slider.js                       |  12 +-
core/plugins/content/formathtml/macros/macro-assets/twitter/twitter.css                    | 114 ---------
core/plugins/content/formathtml/macros/macro-assets/twitter/twitter.js                     | 292 ++---------------------
core/plugins/content/formathtml/macros/macro-assets/twitter/twitter.png                    | Bin 3537 -> 0 bytes
core/plugins/content/formathtml/macros/slider.php                                          |  21 +-
core/plugins/content/formathtml/macros/twitter.php                                         |  18 +-

Macro Changes (wiki)

core/plugins/wiki/parserdefault/macros/file.php                                            |  36 +--
core/plugins/wiki/parserdefault/macros/macro-assets/file/file.js                           |  29 +++
core/plugins/wiki/parserdefault/macros/macro-assets/slider/slider.js                       |  12 +-
core/plugins/wiki/parserdefault/macros/macro-assets/twitter/twitter.css                    | 120 ----------
core/plugins/wiki/parserdefault/macros/macro-assets/twitter/twitter.js                     | 281 +---------------------
core/plugins/wiki/parserdefault/macros/macro-assets/twitter/twitter.png                    | Bin 3537 -> 0 bytes
core/plugins/wiki/parserdefault/macros/slider.php                                          |  22 +-
core/plugins/wiki/parserdefault/macros/twitter.php                                         |  12 +-

Publications CRON job

core/plugins/cron/publications/publications.php                                            |   9 +-

Publications Watch

core/plugins/publications/watch/watch.php                                                  |   2 +-

Curious file

core/templates/system/group.php                                                            |   4 +-

Components

[-] Groups (Template Override)

core/components/com_groups/site/views/groups/tmpl/view.php                                 |   2 +-

[+] Newsletter

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.

    core/components/com_newsletter/site/assets/js/newsletter.js | 4 +- core/components/com_newsletter/site/controllers/mailinglists.php | 6 +-

[+] Publications

  • fa5febaddf [fix] Force file icons to certain height

  • f4b98c856e [refactor] Pass $link to lang string (#1105)

  • c83a95d9b0 [fix] Group by fix for MySQL strict mode

  • 69aaebeb50 [fix] Fixes to improve accessibility

  • 0a6e5a07e3 [fix] Ensure custom licenses are shown as completed

  • b90b9accab [fix] Include form validation script

  • babd389043 [fix] Ensure link is removed if master type blacklisted.

  • 8789a5b468 [style] Formatting fix

  • 5d6836b5fb [fix] Get admin interface working Some pages were missing framework or included in wrong order. Also fixes some JS syntax errors.

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.

    core/components/com_publications/admin/assets/js/publications.js | 8 +- core/components/com_publications/admin/language/en-GB/en-GB.com_publications.ini | 6 +- core/components/com_publications/admin/views/items/tmpl/display.php | 6 +- core/components/com_publications/admin/views/items/tmpl/edit.php | 5 +- core/components/com_publications/config/config.xml | 1 + core/components/com_publications/migrations/Migration20190514144700ComPublications.php | 51 ++++ core/components/com_publications/models/blocks/license.php | 17 ++ core/components/com_publications/site/controllers/curation.php | 8 +- core/components/com_publications/site/controllers/publications.php | 2 +- core/components/com_publications/site/language/en-GB/en-GB.com_publications.ini | 2 +- core/components/com_publications/site/views/browse/tmpl/default.php | 6 +- core/components/com_publications/tables/publication.php | 2 +-

[+] Tags

  • 315de25a58 [fix] Handle missing names, log user ID

  • 47b8356194 [fix] Include admin tags for admins

    core/components/com_tags/admin/views/entries/tmpl/edit.php | 5 +- core/components/com_tags/models/log.php | 33 ++- core/components/com_tags/site/controllers/tags.php | 6 +-

[-] Users (Template Override)

core/components/com_users/site/assets/css/login.css                                        |   7 +-

[+/-] Support

Performed a temporary override of the support component. See Report Problems for more information.

Modules

[-] Report Problems (Template Override)

This is a pretty big change. Created an override for the support component, removed this commit, and did NOT implement these changes in the mod_reportproblems template override. This is a temporary fix until we move mod_reportproblems into the mini-dash.

  • 5420154ecf [refactor] Load ticket form as needed

    core/modules/mod_reportproblems/assets/css/mod_reportproblems.css | 302 ----------------------- core/modules/mod_reportproblems/assets/js/mod_reportproblems.js | 201 ++-------------- core/modules/mod_reportproblems/tmpl/default.php | 129 +---------

Plugins

[+] Groups Projects

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.
  • core/plugins/groups/projects/projects.php | 2 +-

[+] Groups Resources

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.

    core/plugins/groups/resources/resources.php | 2 +-

[+] Groups Usage

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.

    core/plugins/groups/usage/usage.php | 2 +-

[+] Projects Files

  • cbd73f5c62 [refactor] Use core file type icons

  • d5ad297739 [fix] Don't interfere with main menu styles

  • a13036882a [fix] Icon and file name are on the same line Some reformatting and removing of whitespace.

  • 9e8c5ad1ff [fix] Set positioning against body element The various cotnent containers could have position: relative on them which can alter how position: absolute co-ordinates display. So, we move the preview box to be a child of body and set coordinates based on that. This keeps the popup the same across varying templates.

  • 0af7ce1ea3 [fix] Can now select img for pub outside project

  • de78d08567 [fix] Recursively list directories to move file

  • 539c1911b9 [fix] Adding block to retrieve initial file list

  • 96ba03272f [style] Formatting fixes

  • 8e86755ba6 [fix] Remove unwanted character

    core/plugins/projects/files/assets/css/files.css | 227 +++++++++--------- core/plugins/projects/files/assets/js/files.js | 33 ++- core/plugins/projects/files/assets/js/fileselector.js | 2 +- core/plugins/projects/files/files.php | 25 +- core/plugins/projects/files/views/preview/tmpl/default.php | 2 +- core/plugins/projects/files/views/selector/tmpl/default_selectform.php | 7 +-

[+] Projects Publications

  • 0a6e5a07e3 [fix] Ensure custom licenses are shown as completed

  • e9dd49b54c [fix] jQuery fix

    core/plugins/projects/publications/assets/js/curation.js | 2 +- core/plugins/projects/publications/views/draft/tmpl/license.php | 17 +-

[+] Publications Comments/Reviews

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.

    core/plugins/publications/reviews/reviews.php | 2 +- core/plugins/publications/reviews/views/browse/tmpl/_comment.php | 2 +- core/plugins/publications/reviews/views/browse/tmpl/default.php | 2 +-

Template

[-] Groups

core/templates/kimera/html/com_groups/groups.css                                           |  25 +-

[+] Login

  • 1d6b99e60f [refactor] Login changed from com_users to com_login com_users is rewritten to be a proxy for com_login. This is done to maintain backwards compatibility with old links that may still point to com_users.

    core/templates/kimera/html/{com_users => com_login}/login.css | 2 +-

[+] Less

  • 69aaebeb50 [fix] Fixes to improve accessibility
  • f98fa5e424 [maint] Updating copyright in template assets

core/templates/kimera/less/_comments.less                                                  |  12 +

Clone this wiki locally