Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.0] Merge staging #12622

Merged
merged 330 commits into from
Oct 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
330 commits
Select commit Hold shift + click to select a range
8f0fcdf
added show/hide introtext parameter to mod_articles_news
coolcat-creations Aug 11, 2016
b959e01
added <?php if (!$params->get('intro_only')) : ?> back again since it…
coolcat-creations Aug 11, 2016
18b633c
added tabs in code
coolcat-creations Aug 11, 2016
0d1ee67
Update mod_articles_news.xml
zero-24 Aug 11, 2016
913f24c
Update _item.php
zero-24 Aug 11, 2016
df5ecc7
Merge pull request #4 from zero-24/patch-14
coolcat-creations Aug 11, 2016
59efa71
corrected typo from last merge
coolcat-creations Aug 11, 2016
8c0e15a
changed label and description
coolcat-creations Aug 12, 2016
ff20286
Merge branch 'staging' into 3.7.x
wilsonge Aug 13, 2016
32766cd
Add JHtmlBootstrap for front-end editing. Fixes #11562
n9iels Aug 11, 2016
bdd641a
Merge branch 'repeatable' into 3.7.x
wilsonge Aug 13, 2016
3d744c0
Merge #10795 into 3.7.x. Fixes #10795
wilsonge Aug 18, 2016
1f48268
Implementing Menu Items modals (New feature)
infograf768 Aug 5, 2016
d9136fc
Merge branch 'staging' into 3.7.x
wilsonge Aug 27, 2016
294554d
Merge branch 'staging' into 3.7.x
wilsonge Aug 27, 2016
c7bc96f
Wrong class for chosen (#11820)
Aug 27, 2016
4eab186
Merge branch 'staging' into 3.7.x
wilsonge Aug 28, 2016
9bf258a
3.7.0: Using the new modal_menu field in various core places (#11694)
infograf768 Aug 28, 2016
45e14dd
Using modal_category field in various core locations
infograf768 Aug 22, 2016
ef98d6b
Merge branch 'modal_category_field' into 3.7.x. Fixes #11717
wilsonge Aug 28, 2016
5a9b297
Merge branch '3.7.x' of github.com:joomla/joomla-cms into 3.7.x
wilsonge Aug 28, 2016
b9a6c20
3.7.0: New Feature=>editor-xtd to insert menu items links in content …
infograf768 Aug 28, 2016
a145880
Merge branch 'staging' into 3.7.x
wilsonge Aug 31, 2016
08f116c
Chosen upgrade. Fixes #11779
wilsonge Aug 31, 2016
5a1d455
Two search modules on same page: Invalid HTML. (#11229)
bertmert Sep 2, 2016
c78d4ba
Merge branch 'staging' into 3.7.x
wilsonge Sep 3, 2016
12b0979
Reduce use of JFactory::getConfig() where practical
mbabker Sep 2, 2016
a3808b3
Allow registering callback functions for the debug console. Fixes #11700
mbabker Aug 20, 2016
611cb2e
Allow adding script options without inline JavaScript. Fixes #11671
Fedik Aug 18, 2016
d6c8ea8
Adding "category on fly" functionality when create/edit contact. Fixe…
vinespie Sep 3, 2016
45164a4
New method for retrieving the strings from the store. Fixes #11692
mbabker Aug 20, 2016
84b6c70
Merge branch 'introtext_mod_news' into 3.7.x. Fixes #11564
wilsonge Sep 3, 2016
d7a776f
[html5] Hathor administrator template. Fixes #10634
andrepereiradasilva Sep 3, 2016
51a23f8
Merge branch 'system_frontend_html5' into 3.7.x. Fixes #10641
wilsonge Sep 3, 2016
0ba5a11
[Optimize] Generate thumbnail image method to avoid pixelated error i…
Sep 3, 2016
33aa3ba
Fix since tag
wilsonge Sep 3, 2016
e3c4fca
Normalise Block this User button styling. Fixes #11421
brianteeman Sep 3, 2016
133e4b6
[html5] System administrator template. Fixes #10638
andrepereiradasilva Sep 3, 2016
a905a01
URL checking improved in com_wrapper. Fixes #4670
jo-sf Sep 3, 2016
ff5d51b
Update en-GB.com_users.ini (#11909)
zero-24 Sep 3, 2016
09fe795
Templates are in the scope of JDocument. Fixes #10847
mbabker Jun 16, 2016
82fc99b
Merge branch '3.7.x' of github.com:joomla/joomla-cms into 3.7.x
wilsonge Sep 3, 2016
b888ab0
Small review/cleanup in JHtml. Fixes #10771
mbabker Sep 3, 2016
d1b7b4f
Merge branch 'staging' into 3.7.x
wilsonge Sep 3, 2016
ed36cb6
Fix form field unit tests. Fixes #11910 Fixes #11413
Hackwar Sep 3, 2016
7d97f7f
Improvements to article modals (with Create Article button). Fixes #1…
andrepereiradasilva Sep 3, 2016
f9f7969
[com_content] - Allow captcha when submit article. Fixes #10976
alikon Sep 3, 2016
cd7cde3
Proxy JData to the Framework. Fixes #11588
mbabker Sep 4, 2016
bbb74c3
[newsfeed modal field] Adds Create News Feed button and other improve…
andrepereiradasilva Sep 4, 2016
4c630e5
Allow force refreshing the cache when getting fields in JTable. Fixes…
alex7r Sep 4, 2016
1724530
Allow a custom page title to be defined for an article without a menu…
mbabker Jun 16, 2016
dcf2d3e
Code review on com_content component. Fixes #10851
wilsonge Sep 4, 2016
28bd41d
[category modal field] Adds Create Category button and other improvem…
andrepereiradasilva Sep 4, 2016
5e54494
Joomla.JText uses scriptOptions 'joomla.jtext'. Fixes #11690
Fedik Sep 4, 2016
92c08ef
Remove legacy frame breaking js code. Fixes #11679
andrepereiradasilva Sep 4, 2016
581130d
[contact modal field] Adds Create Contact button and other improvemen…
andrepereiradasilva Sep 4, 2016
daf470e
Support collection of custom stats in admin stats module. Fixes #10870
mbabker Sep 4, 2016
4058aa6
Use intro_image in newsfeed. Fixes #11402
brianteeman Sep 4, 2016
e2e4b98
[com_tags] - Add count and link to tagged items. Fixes #10895
alikon Sep 4, 2016
a6f5e84
Allow the vote plugin's position to be configured. Fixes #11375
mbabker Sep 4, 2016
f50eb41
Return a 403 status code instead of a 404 for a not accessible catego…
rdeutz Sep 4, 2016
b5bc62c
Add Sort by Modified Date in the Module mod_articles_news (#11128)
imanickam Sep 4, 2016
2ece1a7
Cleanup deprecated unused files. Fixes #11762
brianteeman Sep 4, 2016
fe3c13b
Merge branch '3.7.x' of github.com:joomla/joomla-cms into 3.7.x
wilsonge Sep 4, 2016
7602661
Merge branch 'staging' into 3.7.x
wilsonge Sep 4, 2016
075a14b
Add Polyfill js for legacy browsers (adds events and classlist polyfi…
andrepereiradasilva Sep 4, 2016
60bc67b
[com_content] Add icons layout. Fixes #10423
Sep 5, 2016
a62b2a7
[3.7.x] Fixes issues with the category article view after #11624 (#11…
zero-24 Sep 5, 2016
0bafbac
Merge branch 'staging' into 3.7.x
wilsonge Sep 6, 2016
d6dcc76
Fixing missing getItems in mock JMenu for (routing) unittests. Fixes …
Hackwar Sep 6, 2016
d41e779
Enable caching of menu data in JMenuSite (#10797)
mbabker Sep 6, 2016
417a6a6
Add Microseconds to JDate('now') (#11890)
andrepereiradasilva Sep 6, 2016
f13cca4
Router options (#11962)
brianteeman Sep 6, 2016
8900e6e
[unit tests] Just need to check one microsecond now (3.7.x Branch) (#…
andrepereiradasilva Sep 7, 2016
c35d86b
Fix button classes (#11971)
C-Lodder Sep 7, 2016
c08eaa2
Merge branch 'staging' into 3.7.x
Sep 8, 2016
646ba9e
Merge branch 'staging' into 3.7.x
Sep 8, 2016
0bed620
Fix javascript tests (#11993)
Sep 9, 2016
25ba4ae
Add chosen to module order field (#11992)
Sep 9, 2016
0553f43
New Routing: Fix category routing without menu items
Hackwar Sep 10, 2016
9848bd1
Merge branch 'staging' into 3.7.x
wilsonge Sep 10, 2016
63ed2f5
Merge branch 'staging' into 3.7.x
wilsonge Sep 11, 2016
5600322
[category item modal field] Apply on more fields for categories. Fixe…
andrepereiradasilva Aug 31, 2016
97e4048
Patch #6712 - FieldCheckbox attribute default (#6794)
Devportobello Sep 11, 2016
fc41a23
IS (list views) - Replace html/pagination.php::pagination_list_footer…
bertmert Sep 11, 2016
c756c95
Fix no menu item pages giving wrong links (#12020)
wilsonge Sep 13, 2016
d6134e7
Merge branch 'staging' into 3.7.x
wilsonge Sep 15, 2016
bdd269f
Fix routing for non-sef menu items with Modern Routing (#12021)
wilsonge Sep 16, 2016
7022d7d
Merge branch 'staging' into 3.7.x
wilsonge Sep 16, 2016
5fdc8d8
Merge branch 'staging' into 3.7.x
wilsonge Sep 17, 2016
95db4c1
Phase out JString calls in libraries (#12058)
mbabker Sep 17, 2016
ef6aaf3
Admin app - JString -> StringHelper (#12056)
mbabker Sep 17, 2016
a0ca6f8
Site app & Plugins - JString -> StringHelper (#12057)
mbabker Sep 17, 2016
6c2d825
New Feature, Multilanguage: Add the possibility of displaying associa…
infograf768 Sep 18, 2016
0db39fc
[JAccess] Improve ACL asset preloading performance/memory consumption…
andrepereiradasilva Sep 18, 2016
0d708ec
[com_content] - add articles ordering by votes, ratings (#11225)
alikon Sep 18, 2016
8fabefa
Add setDocumentTitle() function in JViewLegacy (#11399)
OctavianC Sep 18, 2016
0c4be2a
Merge branch 'staging' of github.com:joomla/joomla-cms into 3.7.x
mbabker Sep 18, 2016
4f3e492
Merge branch 'staging' into 3.7.x
wilsonge Sep 19, 2016
595aa53
set new counts too center
zero-24 Sep 20, 2016
bf9f1fd
fir for #11225
alikon Sep 20, 2016
5e4aee1
There is no need for the extra spaces at the end of the line :)
zero-24 Sep 20, 2016
5b492ea
fix typo
alikon Sep 20, 2016
c981fd6
allow to hide session too in plugin system debug
andrepereiradasilva Sep 20, 2016
41c4002
Merge branch 'staging' of github.com:joomla/joomla-cms into 3.7.x
mbabker Sep 21, 2016
a00c853
Merge pull request #12115 from andrepereiradasilva/debug-session
wilsonge Sep 21, 2016
82f5019
Merge pull request #12110 from alikon/patch-74
wilsonge Sep 21, 2016
6340866
Merge pull request #12109 from zero-24/center_new_counts_backend
wilsonge Sep 21, 2016
e72d772
deprecate keychain for 3.0
zero-24 Sep 21, 2016
cf95fc8
deprecate fof
zero-24 Sep 21, 2016
4c0da17
deprecate fof
zero-24 Sep 21, 2016
b00892f
Update include.php
zero-24 Sep 21, 2016
3e564b1
Merge branch 'staging' into deprecate_fof
zero-24 Sep 21, 2016
acee3cf
deprecate old ciphers
zero-24 Sep 21, 2016
43af0c4
Merge pull request #12130 from zero-24/deprecate_fof
wilsonge Sep 22, 2016
37e0128
Merge pull request #12135 from zero-24/deprecate_unsecure_cipher
wilsonge Sep 22, 2016
6e970f3
Merge pull request #12127 from zero-24/deprecate_keychain
wilsonge Sep 22, 2016
cb21c0a
Fix Travis error in keychain (#12157)
zero-24 Sep 23, 2016
83d2039
Allow JHtmlDate::relative to set a custom format (#12164)
bembelimen Sep 25, 2016
d05aaa1
Proposed onAfterRenderModules event in modules rendering (#10113)
kanich Sep 29, 2016
006ff52
fix expected value for the unit test
rdeutz Sep 29, 2016
9cb1846
Merge pull request #12213 from rdeutz/fix_unitest_10113
wilsonge Sep 29, 2016
61a6b5a
Merge branch 'staging' into 3.7.x
wilsonge Sep 30, 2016
ce28b4f
Deprecate web router classes
mbabker Sep 30, 2016
d0094d9
Localise the format for the calendar formfield (#12102)
Oct 1, 2016
13f3027
Label - Mass Mail Users v2 (#12084)
pe7er Oct 1, 2016
57af617
Added optional suffix text to Mass Mail Form page (#12078)
pe7er Oct 1, 2016
c2645d5
Add Unpublished Content Language on Language Package Install (#11867)
andrepereiradasilva Oct 1, 2016
e488ce4
tinyMCE use document "scriptoptions", and allow to override tinyMCE J…
Fedik Oct 1, 2016
5968d52
Reply to email (#11015)
Oct 1, 2016
3a806d9
Media form field bootstrapped with static preview (#10889)
Oct 1, 2016
3186fe5
Utilise unionAll element in the select query, previously it was alway…
izharaazmi Oct 1, 2016
0fdd1ba
Introduce new method isClient($identifier) in JApplicationCms class (…
izharaazmi Oct 1, 2016
01c1268
fix com_finder regression (#12236)
zero-24 Oct 1, 2016
6c66bd1
Core.js AJAX method (#11585)
Fedik Oct 1, 2016
cb86b89
370: solving #11225 merge regression (#12238)
infograf768 Oct 2, 2016
2839667
3.7.x: Porting #11225 to beez (#12240)
infograf768 Oct 2, 2016
0127625
Move keepalive to external js (#8545)
andrepereiradasilva Oct 2, 2016
33d7bd9
[menu item modal field] Adds Create Menu Item button and other improv…
andrepereiradasilva Oct 2, 2016
d1fc5f9
New show_info option (hide/show) in com_contact and some minor change…
andrepereiradasilva Oct 3, 2016
83529d2
[3.7.x] Lets use the correct API to get this string translated (com_p…
zero-24 Oct 3, 2016
fafb3fa
add missing string (#12246)
zero-24 Oct 3, 2016
629db9d
fix missing string (#12245)
zero-24 Oct 3, 2016
9469e92
Deprecate MooTools based helpers (#12268)
mbabker Oct 3, 2016
dd0cb3c
fix redirect plugin messages (#12280)
zero-24 Oct 3, 2016
4f68c58
remove dublicate message (#12279)
zero-24 Oct 3, 2016
3c7ea6c
Allow users to share sessions between apps (#12068)
mbabker Oct 3, 2016
46b8dca
warning (#12285)
zero-24 Oct 3, 2016
d8696de
[3.7.x] Fix Regression #12277: language selector blocked on edit when…
andrepereiradasilva Oct 3, 2016
f8812d5
Admin - Simplify instantiation of Registry (#12270)
mbabker Oct 3, 2016
1f3db97
[j3.7] New Feature Contact editor-xtd plugin (#12252)
brianteeman Oct 4, 2016
9f7bca7
Routing: Remove IDs from SEF URLs (#11320)
Hackwar Oct 5, 2016
4ba38e6
Run SEF plugin also when SEF URLs are not enabled (#11035)
Hackwar Oct 5, 2016
969607b
remove menu button
brianteeman Oct 5, 2016
9ea6fff
Merge pull request #12318 from brianteeman/banner-new
zero-24 Oct 5, 2016
8b81a95
Update note.xml
andrepereiradasilva Oct 6, 2016
99fd886
Merge pull request #12327 from andrepereiradasilva/patch-17
zero-24 Oct 6, 2016
e6204cb
string, not array
andrepereiradasilva Oct 7, 2016
741232a
Merge pull request #12340 from andrepereiradasilva/patch-17
zero-24 Oct 7, 2016
fe7ce70
Redo Isis flat repaint (Closes #11832) (#12319)
zero-24 Oct 7, 2016
811eb7e
Missing the in language string
brianteeman Oct 8, 2016
97b083e
Merge pull request #12357 from brianteeman/the
zero-24 Oct 8, 2016
7a29a1a
TinyMCE xtd-button close (again, really) and drop jquery (#12324)
Oct 8, 2016
6d73192
Add attribs to the script tag, add version to JHtml script methods an…
andrepereiradasilva Oct 9, 2016
32509a3
Merge branch 'staging' into 3.7.x
wilsonge Oct 9, 2016
3c35012
[3.7] Readme updates (#12387)
brianteeman Oct 11, 2016
4845e06
[languages] Organize and new metadata (Native language and calendar t…
andrepereiradasilva Oct 11, 2016
33a6549
Make language flags in backend optional (#12051)
Oct 11, 2016
39f4b03
a e
brianteeman Oct 11, 2016
39ca2bf
a i
brianteeman Oct 11, 2016
62455b1
a o
brianteeman Oct 11, 2016
6b71de2
a u
brianteeman Oct 11, 2016
17e20de
a a - javascript
brianteeman Oct 11, 2016
d1ae4e4
js
brianteeman Oct 11, 2016
b976a12
Replace uses of JRegistry
mbabker Oct 12, 2016
f37a777
Simplify instantiation of Registry objects
mbabker Oct 12, 2016
d13d0de
Merge pull request #12395 from mbabker/registry-instantiation
wilsonge Oct 12, 2016
408bb53
Merge pull request #12393 from brianteeman/a-or-an
wilsonge Oct 12, 2016
808bb44
[3.7] Isis Flat Repaint - Minor Fixes (#12349)
ciar4n Oct 13, 2016
99b57db
Show configured upload limit when uploading files (redo of #11255) (#…
izharaazmi Oct 16, 2016
c911f30
Add deprecated message that in 4.0 the html5 property will be default…
andrepereiradasilva Oct 16, 2016
e2a5d1b
CodeMirror 5.19 (#12300)
okonomiyaki3000 Oct 16, 2016
012e227
corrections/improvements (#12429)
andrepereiradasilva Oct 16, 2016
7c0da74
Fixing notice for non-existing views (#12434)
Hackwar Oct 16, 2016
904f591
[3.7.x] Admin login language field fix (#12442)
ciar4n Oct 17, 2016
03da78a
New xtd_contact lang files missing in install.xml (#12452)
infograf768 Oct 18, 2016
fc62c4e
Make more use of the autoloader (#12060)
mbabker Oct 18, 2016
15af4a5
Fix error in mergeHeadData method for html document (#12013)
csthomas Oct 18, 2016
05016ec
correct table html errors (#12129)
andrepereiradasilva Oct 18, 2016
ebb1556
[users list modal] ismoo parameter need to still exist after form sub…
andrepereiradasilva Oct 18, 2016
829d86f
Replaced rand() with mt_rand() projectwide (#12169)
frankmayer Oct 18, 2016
6262b96
Use global as default option (#12186)
piotr-cz Oct 18, 2016
fa2b622
Solving 12214 Plugin tooltip (#12215)
infograf768 Oct 18, 2016
9036a96
JLayoutFile wrong type hint (#12231)
izharaazmi Oct 18, 2016
9d72d84
CS / Review for the editor plugins (#12260)
zero-24 Oct 18, 2016
592d7e3
use the warning and error (#12265)
zero-24 Oct 18, 2016
d4f6347
error not notice (#12273)
andrepereiradasilva Oct 18, 2016
7f4e565
Remove deprecated function (#12296)
wilsonge Oct 18, 2016
9ca15fd
Minor language string change for com_contact (#12339)
brianteeman Oct 18, 2016
c8f57f6
Redo Isis flat repaint Installation (Closes #11917) (#12342)
zero-24 Oct 18, 2016
4ea7886
Add missing period (#12356)
brianteeman Oct 18, 2016
de322de
Change language string (#12364)
brianteeman Oct 18, 2016
dccd582
Allow loading plugin language strings from extension folder (#12403)
piotr-cz Oct 18, 2016
3c2bc43
some cs changes after #12396 (#12431)
zero-24 Oct 18, 2016
50a76bd
Merge branch 'staging' of github.com:joomla/joomla-cms into 3.7.x
mbabker Oct 20, 2016
635848c
[3.7.x] Update js polyfills to 3.13.0 (#12513)
andrepereiradasilva Oct 22, 2016
1ff9205
move jquery to template (#12521)
andrepereiradasilva Oct 23, 2016
a8078a4
Merge branch 'staging' into 3.7.x
wilsonge Oct 23, 2016
84e568d
fixing typo in the comment (#12523)
jeckodevelopment Oct 23, 2016
dde2775
Merge branch 'staging' into 3.7.x
wilsonge Oct 24, 2016
3e06fdb
Update CREDITS (#12534)
jeckodevelopment Oct 24, 2016
f3572a2
Updated installation language files
Oct 20, 2016
0e2cd37
2fa handeling for mcrypt and openssl (#12497)
rdeutz Oct 21, 2016
bae1d43
Prepare 3.6.4 Stable Release
rdeutz Oct 21, 2016
008b78d
Merge branch '3.7.x' into staging
rdeutz Oct 25, 2016
791765f
Mark _autoload function as public and not private. (#12478)
photodude Oct 25, 2016
a9130b4
issing language strings in frontend lib.joomla.ini (#12468)
infograf768 Oct 25, 2016
51f054f
forum link to https (#12467)
andrepereiradasilva Oct 25, 2016
b62280b
[a11y] Protostar back to top (#12446)
brianteeman Oct 25, 2016
4bd6449
[3.7.x] Convert installation template to html5 (also move inline scri…
andrepereiradasilva Oct 25, 2016
fc704ba
Fix early exit from foreach in JForm::removeGroup (#11856)
izharaazmi Oct 25, 2016
d77318e
keepalive for editing forms (#12163)
Fedik Oct 25, 2016
6d43e3a
Remove retina 2x sprite (#12528)
ciar4n Oct 25, 2016
997518f
Set a proper default value for getParams always (#12463)
mbabker Oct 25, 2016
392d972
Correct spelling (#12564)
mbabker Oct 26, 2016
1537c17
Remove JFilter mock (#12484)
photodude Oct 26, 2016
27d8418
Stop allowing failures on PHP 7.1 (#12599)
mbabker Oct 27, 2016
121704d
Improvements in the Associations Edit Workflow (#12344)
andrepereiradasilva Oct 28, 2016
461e8d0
When $this->cursor is false, throw an Exception (#12359)
photodude Oct 28, 2016
c942cb5
Implement a check / notification for an invalid or missing access fil…
matrikular Oct 28, 2016
2026b8d
Grid within well changed to row-fluid (#11995)
ciar4n Oct 28, 2016
fa76ea5
update doc block (#12569)
brianteeman Oct 29, 2016
f907855
Folder icons in front end (#12551)
brianteeman Oct 29, 2016
6c0e2d5
rename folder value (#12579)
brianteeman Oct 29, 2016
f1c6878
[3.7.x] Regression Hathor modules and users manager (#12412)
infograf768 Oct 29, 2016
334d5a4
Native language (adjustments after 12036 merge) (#12394)
andrepereiradasilva Oct 29, 2016
94d5d43
Add detachObserver (#11037)
alex7r Oct 29, 2016
cd1b680
3.6.4 Sample data: Escape quota in json data (#12501)
csthomas Oct 29, 2016
fd088cf
[fix] new extensions not installed on already existing packages (#12545)
phproberto Oct 29, 2016
d48afff
$menu->params is already a Registry object. (#12557)
Oct 29, 2016
e82651d
Overridden strings in both back-end and front-end (#12576)
eshiol Oct 29, 2016
348028f
[imp] remove hardcoded published column (#12585)
phproberto Oct 29, 2016
2617c9a
Fix JUri path in language filter plugin (#12600)
Oct 29, 2016
2570285
Custom fields (#11833)
laoneo Oct 29, 2016
6aaae6e
Replace Platform version numbers in libraries/legacy (#12242)
mbabker Oct 29, 2016
2f448f0
Merge branch 'staging' of github.com:joomla/joomla-cms into merge-sta…
mbabker Oct 29, 2016
8797fc0
Remove variable declaration (Fix #12619)
mbabker Oct 29, 2016
1c6ea28
Misc. fixes
mbabker Oct 29, 2016
4dc42a1
Merge branch 'staging' of github.com:joomla/joomla-cms into merge-sta…
mbabker Oct 29, 2016
b2808ab
Test fixes
mbabker Oct 29, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ matrix:
- redis-server
env: INSTALL_APCU_BC_BETA="no" INSTALL_MEMCACHE="no" INSTALL_MEMCACHED="no" # Disabled items that currently do not work in travis-ci hhvm
allow_failures:
- php: 7.1
- php: hhvm
- node_js: 6.1

Expand Down
5 changes: 3 additions & 2 deletions administrator/components/com_admin/models/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

defined('_JEXEC') or die;

use Joomla\String\StringHelper;

/**
* Admin Component Help Model
*
Expand Down Expand Up @@ -173,8 +175,7 @@ public function &getToc()
// Strip the extension
$file = preg_replace('#\.xml$|\.html$#', '', $file);

if ($help_search
&& JString::strpos(JString::strtolower(strip_tags($buffer)), JString::strtolower($help_search)) === false)
if ($help_search && StringHelper::strpos(StringHelper::strtolower(strip_tags($buffer)), StringHelper::strtolower($help_search)) === false)
{
continue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,7 @@ function admin_postinstall_eaccelerator_action()
$prev = ArrayHelper::fromObject(new JConfig);
$data = array_merge($prev, array('cacheHandler' => 'file'));

$config = new Registry('config');
$config->loadArray($data);
$config = new Registry($data);

jimport('joomla.filesystem.path');
jimport('joomla.filesystem.file');
Expand Down
36 changes: 31 additions & 5 deletions administrator/components/com_admin/script.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ protected function updateManifestCaches()
array('component', 'com_contenthistory', '', 1),
array('component', 'com_postinstall', '', 1),
array('component', 'com_joomlaupdate', '', 1),
array('component', 'com_fields', '', 1),

// Libraries
array('library', 'joomla', '', 0),
Expand Down Expand Up @@ -340,9 +341,14 @@ protected function updateManifestCaches()
array('plugin', 'updatenotification', 'system', 0),
array('plugin', 'module', 'editors-xtd', 0),
array('plugin', 'stats', 'system', 0),
array('plugin', 'packageinstaller','installer',0),
array('plugin', 'folderinstaller','installer', 0),
array('plugin', 'urlinstaller','installer', 0),
array('plugin', 'packageinstaller', 'installer', 0),
array('plugin', 'folderinstaller', 'installer', 0),
array('plugin', 'urlinstaller', 'installer', 0),
array('plugin', 'phpversioncheck', 'quickicon', 0),
array('plugin', 'menu', 'editors-xtd', 0),
array('plugin', 'contact', 'editors-xtd', 0),
array('plugin', 'fields', 'system', 0),
array('plugin', 'gallery', 'fields', 0),

// Templates
array('template', 'beez3', '', 0),
Expand Down Expand Up @@ -1442,7 +1448,7 @@ public function deleteUnexistingFiles()
'/media/editors/tinymce/plugins/compat3x/editable_selects.js',
'/media/editors/tinymce/plugins/compat3x/form_utils.js',
'/media/editors/tinymce/plugins/compat3x/mctabs.js',
'/media/editors/tinymce/plugins/compat3x/tiny_mce_popup.js',
'/media/editors/tinymce/plugins/compat3x/tiny_mce_popup.js',
'/media/editors/tinymce/plugins/compat3x/validate.js',
'/libraries/vendor/symfony/yaml/Symfony/Component/Yaml/Dumper.php',
'/libraries/vendor/symfony/yaml/Symfony/Component/Yaml/Escaper.php',
Expand Down Expand Up @@ -1492,6 +1498,23 @@ public function deleteUnexistingFiles()
// Joomla! 3.6.3
'/media/editors/codemirror/mode/jade/jade.js',
'/media/editors/codemirror/mode/jade/jade.min.js',
// Joomla __DEPLOY_VERSION__
'/libraries/joomla/user/authentication.php',
'/libraries/platform.php',
'/libraries/joomla/data/data.php',
'/libraries/joomla/data/dumpable.php',
'/libraries/joomla/data/set.php',
'/administrator/components/com_banners/views/banners/tmpl/default_batch.php',
'/administrator/components/com_categories/views/category/tmpl/edit_extrafields.php',
'/administrator/components/com_categories/views/category/tmpl/edit_options.php',
'/administrator/components/com_categories/views/categories/tmpl/default_batch.php',
'/administrator/components/com_content/views/articles/tmpl/default_batch.php',
'/administrator/components/com_menus/views/items/tmpl/default_batch.php',
'/administrator/components/com_modules/views/modules/tmpl/default_batch.php',
'/administrator/components/com_newsfeeds/views/newsfeeds/tmpl/default_batch.php',
'/administrator/components/com_redirect/views/links/tmpl/default_batch.php',
'/administrator/components/com_tags/views/tags/tmpl/default_batch.php',
'/administrator/components/com_users/views/users/tmpl/default_batch.php',
);

// TODO There is an issue while deleting folders using the ftp mode
Expand Down Expand Up @@ -1601,6 +1624,8 @@ public function deleteUnexistingFiles()
'/libraries/simplepie',
// Joomla! 3.6.3
'/media/editors/codemirror/mode/jade',
// Joomla __DEPLOY_VERSION__
'/libraries/joomla/data',
);

jimport('joomla.filesystem.file');
Expand Down Expand Up @@ -1669,7 +1694,8 @@ public function updateAssets()
'com_tags',
'com_contenthistory',
'com_ajax',
'com_postinstall'
'com_postinstall',
'com_fields',
);

foreach ($newComponents as $component)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(458, 'plg_quickicon_phpversioncheck', 'plugin', 'phpversioncheck', 'quickicon', 0, 1, 1, 1, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(459, 'plg_editors-xtd_menu', 'plugin', 'menu', 'editors-xtd', 0, 1, 1, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
CREATE TABLE IF NOT EXISTS `#__fields` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`asset_id` int(10) NOT NULL DEFAULT 0,
`context` varchar(255) NOT NULL DEFAULT '',
`catid` int(10) NOT NULL DEFAULT 0,
`assigned_cat_ids` varchar(255) NOT NULL DEFAULT '',
`title` varchar(255) NOT NULL DEFAULT '',
`alias` varchar(255) NOT NULL DEFAULT '',
`label` varchar(255) NOT NULL DEFAULT '',
`default_value` text NOT NULL DEFAULT '',
`type` varchar(255) NOT NULL DEFAULT 'text',
`options` varchar(255) NOT NULL DEFAULT '',
`note` varchar(255) NOT NULL DEFAULT '',
`description` text NOT NULL,
`state` tinyint(1) NOT NULL DEFAULT '0',
`required` tinyint(1) NOT NULL DEFAULT '0',
`checked_out` int(11) NOT NULL DEFAULT '0',
`checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`ordering` int(11) NOT NULL DEFAULT '0',
`params` text NOT NULL,
`fieldparams` text NOT NULL,
`attributes` text NOT NULL,
`language` char(7) NOT NULL DEFAULT '',
`created_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`created_user_id` int(10) unsigned NOT NULL DEFAULT '0',
`created_by_alias` varchar(255) NOT NULL DEFAULT '',
`version` int(10) unsigned NOT NULL DEFAULT '0',
`modified_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`modified_by` int(10) unsigned NOT NULL DEFAULT '0',
`publish_up` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`publish_down` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`access` int(11) NOT NULL DEFAULT '1',
`hits` int(10) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
KEY `idx_checkout` (`checked_out`),
KEY `idx_state` (`state`),
KEY `idx_created_user_id` (`created_user_id`),
KEY `idx_access` (`access`),
KEY `idx_context` (`context`),
KEY `idx_language` (`language`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;

CREATE TABLE IF NOT EXISTS `#__fields_values` (
`field_id` int(10) unsigned NOT NULL,
`context` varchar(255) NOT NULL,
`item_id` varchar(255) NOT NULL COMMENT 'Allow references to items which have strings as ids, eg. none db systems.',
`value` text NOT NULL DEFAULT '',
KEY (`field_id`),
KEY (`context`),
KEY (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_unicode_ci;

INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(33, 'com_fields', 'component', 'com_fields', '', 1, 1, 1, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(461, 'plg_system_fields', 'plugin', 'fields', 'system', 0, 1, 1, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(462, 'plg_fields_gallery', 'plugin', 'gallery', 'fields', 0, 1, 1, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO `#__extensions` (`extension_id`, `name`, `type`, `element`, `folder`, `client_id`, `enabled`, `access`, `protected`, `manifest_cache`, `params`, `custom_data`, `system_data`, `checked_out`, `checked_out_time`, `ordering`, `state`) VALUES
(460, 'plg_editors-xtd_contact', 'plugin', 'contact', 'editors-xtd', 0, 1, 1, 0, '', '', '', '', 0, '0000-00-00 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `#__session` MODIFY `client_id` tinyint(3) unsigned DEFAULT NULL;
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
(458, 'plg_quickicon_phpversioncheck', 'plugin', 'phpversioncheck', 'quickicon', 0, 1, 1, 1, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
(459, 'plg_editors-xtd_menu', 'plugin', 'menu', 'editors-xtd', 0, 1, 1, 0, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
--
-- Table: #__fields
--
CREATE TABLE "#__fields" (
"id" serial NOT NULL,
"asset_id" bigint DEFAULT 0 NOT NULL,
"context" varchar(255) DEFAULT '' NOT NULL,
"catid" bigint DEFAULT 0 NOT NULL,
"assigned_cat_ids" varchar(255) DEFAULT '' NOT NULL,
"title" varchar(255) DEFAULT '' NOT NULL,
"alias" varchar(255) DEFAULT '' NOT NULL,
"label" varchar(255) DEFAULT '' NOT NULL,
"default_value" text DEFAULT '' NOT NULL,
"type" varchar(255) DEFAULT 'text' NOT NULL,
"options" varchar(255) DEFAULT '' NOT NULL,
"note" varchar(255) DEFAULT '' NOT NULL,
"description" text DEFAULT '' NOT NULL,
"state" smallint DEFAULT 0 NOT NULL,
"required" smallint DEFAULT 0 NOT NULL,
"checked_out" integer DEFAULT 0 NOT NULL,
"checked_out_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"ordering" bigint DEFAULT 0 NOT NULL,
"params" text DEFAULT '' NOT NULL,
"fieldparams" text DEFAULT '' NOT NULL,
"attributes" text DEFAULT '' NOT NULL,
"language" varchar(7) DEFAULT '' NOT NULL,
"created_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"created_user_id" bigint DEFAULT 0 NOT NULL,
"created_by_alias" varchar(255) DEFAULT '' NOT NULL,
"version" bigint DEFAULT 0 NOT NULL,
"modified_time" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"modified_by" bigint DEFAULT 0 NOT NULL,
"publish_up" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"publish_down" timestamp without time zone DEFAULT '1970-01-01 00:00:00' NOT NULL,
"access" bigint DEFAULT 0 NOT NULL,
"hits" integer DEFAULT 0 NOT NULL,
PRIMARY KEY ("id")
);
CREATE INDEX "#__fields_idx_checked_out" ON "#__fields" ("checked_out");
CREATE INDEX "#__fields_idx_state" ON "#__fields" ("state");
CREATE INDEX "#__fields_idx_created_user_id" ON "#__fields" ("created_user_id");
CREATE INDEX "#__fields_idx_access" ON "#__fields" ("access");
CREATE INDEX "#__fields_idx_context" ON "#__fields" ("context");
CREATE INDEX "#__fields_idx_language" ON "#__fields" ("language");

--
-- Table: #__fields_values
--
CREATE TABLE "#__fields_values" (
"field_id" bigint DEFAULT 0 NOT NULL,
"item_id" varchar(255) DEFAULT '' NOT NULL,
"context" varchar(255) DEFAULT '' NOT NULL,
"value" text DEFAULT '' NOT NULL
);
CREATE INDEX "#__fields_values_idx_field_id" ON "#__fields_values" ("field_id");
CREATE INDEX "#__fields_values_idx_context" ON "#__fields_values" ("context");
CREATE INDEX "#__fields_values_idx_item_id" ON "#__fields_values" ("item_id");

INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
(33, 'com_fields', 'component', 'com_fields', '', 1, 1, 1, 1, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0),
(461, 'plg_system_fields', 'plugin', 'fields', 'system', 0, 1, 1, 0, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0),
(462, 'plg_fields_gallery', 'plugin', 'gallery', 'fields', 0, 1, 1, 0, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0);

Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
INSERT INTO "#__extensions" ("extension_id", "name", "type", "element", "folder", "client_id", "enabled", "access", "protected", "manifest_cache", "params", "custom_data", "system_data", "checked_out", "checked_out_time", "ordering", "state") VALUES
(460, 'plg_editors-xtd_contact', 'plugin', 'contact', 'editors-xtd', 0, 1, 1, 0, '', '', '', '', 0, '1970-01-01 00:00:00', 0, 0);
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALTER TABLE "#__session" ALTER COLUMN "client_id" DROP NOT NULL;
ALTER TABLE "#__session" ALTER COLUMN "client_id" SET DEFAULT NULL;
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET IDENTITY_INSERT #__extensions ON;

INSERT INTO #__extensions ([extension_id], [name], [type], [element], [folder], [client_id], [enabled], [access], [protected], [manifest_cache], [params], [custom_data], [system_data], [checked_out], [checked_out_time], [ordering], [state])
SELECT 458, 'plg_quickicon_phpversioncheck', 'plugin', 'phpversioncheck', 'quickicon', 0, 1, 1, 1, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0;

SET IDENTITY_INSERT #__extensions OFF;
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET IDENTITY_INSERT [#__extensions] ON;

INSERT INTO [#__extensions] ([extension_id], [name], [type], [element], [folder], [client_id], [enabled], [access], [protected], [manifest_cache], [params], [custom_data], [system_data], [checked_out], [checked_out_time], [ordering], [state])
SELECT 459, 'plg_editors-xtd_menu', 'plugin', 'menu', 'editors-xtd', 0, 1, 1, 0, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0;

SET IDENTITY_INSERT [#__extensions] OFF;
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SET IDENTITY_INSERT [#__extensions] ON;

INSERT INTO [#__extensions] ([extension_id], [name], [type], [element], [folder], [client_id], [enabled], [access], [protected], [manifest_cache], [params], [custom_data], [system_data], [checked_out], [checked_out_time], [ordering], [state])
SELECT 460, 'plg_editors-xtd_contact', 'plugin', 'contact', 'editors-xtd', 0, 1, 1, 0, '', '', '', '', 0, '1900-01-01 00:00:00', 0, 0;

SET IDENTITY_INSERT [#__extensions] OFF;
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE [#__session] ALTER COLUMN [client_id] [tinyint] NULL;
58 changes: 58 additions & 0 deletions administrator/components/com_banners/helpers/banners.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,4 +238,62 @@ public static function countItems(&$items)

return $items;
}

/**
* Adds Count Items for Tag Manager.
*
* @param stdClass[] &$items The banner tag objects
* @param string $extension The name of the active view.
*
* @return stdClass[]
*
* @since 3.6
*/
public static function countTagItems(&$items, $extension)
{
$db = JFactory::getDbo();

foreach ($items as $item)
{
$item->count_trashed = 0;
$item->count_archived = 0;
$item->count_unpublished = 0;
$item->count_published = 0;
$query = $db->getQuery(true);
$query->select('published as state, count(*) AS count')
->from($db->qn('#__contentitem_tag_map') . 'AS ct ')
->where('ct.tag_id = ' . (int) $item->id)
->where('ct.type_alias =' . $db->q($extension))
->join('LEFT', $db->qn('#__categories') . ' AS c ON ct.content_item_id=c.id')
->group('state');

$db->setQuery($query);
$banners = $db->loadObjectList();

foreach ($banners as $banner)
{
if ($banner->state == 1)
{
$item->count_published = $banner->count;
}

if ($banner->state == 0)
{
$item->count_unpublished = $banner->count;
}

if ($banner->state == 2)
{
$item->count_archived = $banner->count;
}

if ($banner->state == -2)
{
$item->count_trashed = $banner->count;
}
}
}

return $items;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@

defined('JPATH_BASE') or die;

JFormHelper::loadFieldClass('list');

JLoader::register('BannersHelper', JPATH_ADMINISTRATOR . '/components/com_banners/helpers/banners.php');

/**
* Bannerclient Field class for the Joomla Framework.
*
* @since 1.6
*/
class JFormFieldBannerClient extends JFormFieldList
class JFormFieldBannerClient extends JFormAbstractlist
{
/**
* The form field type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
description="COM_BANNERS_FIELD_DESCRIPTION_DESC"
filter="JComponentHelper::filterText"
buttons="true"
hide="readmore,pagebreak,module,article"
hide="readmore,pagebreak,module,article,contact,menu"
/>

<field
Expand Down
3 changes: 1 addition & 2 deletions administrator/components/com_banners/tables/banner.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ public function bind($array, $ignore = array())
{
if (isset($array['params']) && is_array($array['params']))
{
$registry = new Registry;
$registry->loadArray($array['params']);
$registry = new Registry($array['params']);

if ((int) $registry->get('width', 0) < 0)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
defined('_JEXEC') or die;

JHtml::addIncludePath(JPATH_COMPONENT . '/helpers/html');

JHtml::_('jquery.framework');
JHtml::_('behavior.formvalidator');
JHtml::_('formbehavior.chosen', 'select', null, array('disable_search_threshold' => 0 ));

Expand Down
Loading