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

[Vue] remove angularjs libraries from matomo #19502

Merged
merged 414 commits into from
Nov 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
f7812ed
revert back to suffixing an underscore
diosmosis Jul 4, 2022
48fe2f9
Merge branch 'vue-remove-angularjs-PrivacyManager' into vue-remove-an…
diosmosis Jul 4, 2022
85d221f
Merge branch '5.x-dev' into vue-remove-angularjs-PagePerformance
diosmosis Jul 4, 2022
022a231
Merge branch '5.x-dev' into vue-remove-angularjs-MultiSites
diosmosis Jul 4, 2022
dbd9435
Merge branch 'vue-remove-angularjs-MultiSites' of github.com:matomo-o…
diosmosis Jul 4, 2022
f9f7d7a
Merge branch 'vue-remove-angularjs-Overlay' into vue-remove-angularjs…
diosmosis Jul 4, 2022
dad95db
Merge branch 'vue-remove-angularjs-ScheduledReports' into vue-remove-…
diosmosis Jul 4, 2022
27642b7
Merge branch 'vue-remove-angularjs-SegmentEditor' into vue-remove-ang…
diosmosis Jul 4, 2022
0a90597
Merge branch 'vue-remove-angularjs-Morpheus' of github.com:matomo-org…
diosmosis Jul 4, 2022
aa97849
Merge branch 'vue-remove-angularjs-ScheduledReports' into vue-remove-…
diosmosis Jul 4, 2022
487c9a1
Merge branch 'vue-remove-angularjs-MobileMessaging' of github.com:mat…
diosmosis Jul 4, 2022
8342519
avoid random failure
diosmosis Jul 4, 2022
27821c7
Merge branch 'vue-remove-angularjs-MultiSites' into vue-remove-angula…
diosmosis Jul 4, 2022
17248d2
built vue files
diosmosis Jul 4, 2022
59658df
Merge branch '5.x-dev' into vue-remove-angularjs-Marketplace
diosmosis Jul 4, 2022
ad3a495
Merge branch 'vue-remove-angularjs-Marketplace' of github.com:matomo-…
diosmosis Jul 4, 2022
39cf217
Merge branch '5.x-dev' into vue-remove-angularjs-Morpheus
diosmosis Jul 4, 2022
550fc80
add missing vue-entry property + add missing translations
diosmosis Jul 4, 2022
c3bf257
Merge branch 'vue-remove-angularjs-MobileMessaging' of github.com:mat…
diosmosis Jul 4, 2022
f6a431e
Merge branch 'vue-remove-angularjs-PagePerformance' into vue-remove-a…
diosmosis Jul 4, 2022
2ff7688
Merge branch '5.x-dev' into vue-remove-angularjs-Login
diosmosis Jul 4, 2022
09ea69b
Merge branch 'vue-remove-angularjs-TwoFactorAuth' into vue-remove-ang…
diosmosis Jul 4, 2022
0dc13d1
Merge branch 'vue-remove-angularjs-Login' of github.com:matomo-org/ma…
diosmosis Jul 4, 2022
73cb847
Merge branch 'vue-remove-angularjs-SitesManager' into vue-remove-angu…
diosmosis Jul 4, 2022
e088e9c
Merge branch '5.x-dev' into vue-remove-angularjs-Live
diosmosis Jul 4, 2022
28ae7c6
Merge branch 'vue-remove-angularjs-Live' of github.com:matomo-org/mat…
diosmosis Jul 4, 2022
2385b93
fixing UI tests locally
diosmosis Jul 4, 2022
a7ecff7
update screenshots
diosmosis Jul 4, 2022
535d7ee
update CustomAlerts submodule
diosmosis Jul 4, 2022
3560a8a
Merge branch 'vue-remove-angularjs-Login' into vue-remove-angularjs-C…
diosmosis Jul 4, 2022
5a61f12
Merge branch '5.x-dev' into vue-remove-angularjs-LanguagesManager
diosmosis Jul 4, 2022
0e7a995
Merge branch 'vue-remove-angularjs-LanguagesManager' of github.com:ma…
diosmosis Jul 4, 2022
3c8fd7d
Merge branch 'vue-remove-angularjs-Live' into vue-remove-angularjs-Co…
diosmosis Jul 4, 2022
d970c3a
Merge branch 'vue-remove-angularjs-Live' into vue-remove-angularjs-In…
diosmosis Jul 4, 2022
6680636
Merge branch 'vue-remove-angularjs-Installation' of github.com:matomo…
diosmosis Jul 4, 2022
36fbb0c
add missing translations
diosmosis Jul 4, 2022
9673c1f
Merge branch 'vue-remove-angularjs-Morpheus' into vue-remove-angularj…
diosmosis Jul 5, 2022
17b57d9
Merge branch 'vue-remove-angularjs-SitesManager' into vue-remove-angu…
diosmosis Jul 5, 2022
d4a2ff0
Merge branch 'vue-remove-angularjs-SegmentEditor' into vue-remove-ang…
diosmosis Jul 5, 2022
fbdf5ff
Merge branch 'vue-remove-angularjs-Goals' of github.com:matomo-org/ma…
diosmosis Jul 5, 2022
b9ba8ce
Merge branch 'vue-remove-angularjs-LanguagesManager' into vue-remove-…
diosmosis Jul 5, 2022
da903d1
Merge branch '5.x-dev' into vue-remove-angularjs-GeoIp2
diosmosis Jul 5, 2022
ef6798e
Merge branch 'vue-remove-angularjs-GeoIp2' of github.com:matomo-org/m…
diosmosis Jul 5, 2022
c04484d
fix spacing
diosmosis Jul 5, 2022
2dc3381
couple fixes
diosmosis Jul 5, 2022
99f50ed
more ui test fixes
diosmosis Jul 5, 2022
9036f70
make sure installation umd is loaded during installation (as well as …
diosmosis Jul 5, 2022
bb57058
couple small UI test fixes
diosmosis Jul 5, 2022
42275d1
Merge branch 'vue-remove-angularjs-Goals' into vue-remove-angularjs-C…
diosmosis Jul 5, 2022
e537c00
Merge branch 'vue-remove-angularjs-SegmentEditor' into vue-remove-ang…
diosmosis Jul 5, 2022
06b671d
Merge branch '5.x-dev' into vue-remove-angularjs-Feedback
diosmosis Jul 5, 2022
a4cb67a
Merge branch 'vue-remove-angularjs-Feedback' of github.com:matomo-org…
diosmosis Jul 5, 2022
9a657df
Fix component name case.
diosmosis Jul 5, 2022
ea3e462
built vue files
diosmosis Jul 5, 2022
a7208c9
do not use html_attr to escape and in UI tests replace path with esca…
diosmosis Jul 5, 2022
1205d9e
move UploadPluginDialog to CorePluginsAdmin so it will be available w…
diosmosis Jul 5, 2022
ba0d6db
correct typing for feedback question input
diosmosis Jul 5, 2022
d0dbd25
Merge branch 'vue-remove-angularjs-GeoIp2' into vue-remove-angularjs-…
diosmosis Jul 5, 2022
1afd8b0
Merge branch 'vue-remove-angularjs-MobileMessaging' into vue-remove-a…
diosmosis Jul 5, 2022
b7c1504
Merge branch '5.x-dev' into vue-remove-angularjs-ExampleVue
diosmosis Jul 5, 2022
674f141
Merge branch 'vue-remove-angularjs-ExampleVue' of github.com:matomo-o…
diosmosis Jul 5, 2022
512c3da
Merge branch '5.x-dev' into vue-remove-angularjs-ExampleUI
diosmosis Jul 5, 2022
afa24ca
update screenshots
diosmosis Jul 5, 2022
210be97
revert last tweak
diosmosis Jul 5, 2022
1d78102
styling tweak
diosmosis Jul 5, 2022
7bafcc1
update screenshots and styling tweak
diosmosis Jul 5, 2022
9a215af
Merge branch 'vue-remove-angularjs-ExampleVue' into vue-remove-angula…
diosmosis Jul 5, 2022
01ebfd5
Merge branch '5.x-dev' into vue-remove-angularjs-ExamplePlugin
diosmosis Jul 5, 2022
8828fce
fix attribute
diosmosis Jul 5, 2022
8183a80
Allow composer plugins for dev dependency codesniffer to fix travis b…
diosmosis Jul 5, 2022
a2305b9
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
ebec830
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
2a5ed30
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
ee5da4e
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
d54eff7
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
7c8c71a
keep dependent class and rename
diosmosis Jul 5, 2022
665d69e
Merge branch 'vue-remove-angularjs-Installation' into vue-remove-angu…
diosmosis Jul 5, 2022
1fdbf7c
Merge branch '5.x-dev' into vue-remove-angularjs-Ecommerce
diosmosis Jul 5, 2022
1558056
Merge branch 'vue-remove-angularjs-Ecommerce' of github.com:matomo-or…
diosmosis Jul 5, 2022
92e4bed
styling tweaks
diosmosis Jul 5, 2022
980ca3b
update expected screenshot
diosmosis Jul 5, 2022
83b4bb8
Merge branch 'vue-remove-angularjs-ExampleUI' into vue-remove-angular…
diosmosis Jul 5, 2022
b101c89
Merge branch 'vue-remove-angularjs-Live' into vue-remove-angularjs-Di…
diosmosis Jul 5, 2022
32162a4
Merge branch 'vue-remove-angularjs-Installation' into vue-remove-angu…
diosmosis Jul 5, 2022
32cbc09
Merge branch 'vue-remove-angularjs-Diagnostics' of github.com:matomo-…
diosmosis Jul 5, 2022
10063c5
update screenshots
diosmosis Jul 5, 2022
bdba42c
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
6c9811e
comma spacing tweak
diosmosis Jul 5, 2022
d810994
Merge branch 'vue-remove-angularjs-Feedback' into vue-remove-angularj…
diosmosis Jul 5, 2022
6ec5d11
Merge branch '5.x-dev' into vue-remove-angularjs-DevicesDetection
diosmosis Jul 5, 2022
bc2ff51
update screenshots + fix v-show condition
diosmosis Jul 5, 2022
f4524f8
Merge branch 'vue-remove-angularjs-ExamplePlugin' into vue-remove-ang…
diosmosis Jul 5, 2022
ece4439
Merge branch '5.x-dev' into vue-remove-angularjs-DBStats
diosmosis Jul 5, 2022
63160c6
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
8169175
Merge branch 'vue-remove-angularjs-DBStats' of github.com:matomo-org/…
diosmosis Jul 5, 2022
0d5f7b9
some small fixes
diosmosis Jul 5, 2022
cdd7bd9
fix styling and formatting issues
diosmosis Jul 5, 2022
fcf85fa
fix spacing issue
diosmosis Jul 5, 2022
73e7810
Merge branch 'vue-remove-angularjs-Marketplace' into vue-remove-angul…
diosmosis Jul 5, 2022
da48032
Merge branch '5.x-dev' into vue-remove-angularjs-Dashboard
diosmosis Jul 5, 2022
b903115
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 5, 2022
e4c2f7e
Merge branch 'vue-remove-angularjs-Dashboard' of github.com:matomo-or…
diosmosis Jul 5, 2022
4b4a7f8
fix property name
diosmosis Jul 5, 2022
3c8fe22
Merge branch '5.x-dev' into vue-remove-angularjs-CoreVisualizations
diosmosis Jul 6, 2022
eb620b5
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 6, 2022
0836812
Merge branch 'vue-remove-angularjs-CoreVisualizations' of github.com:…
diosmosis Jul 6, 2022
af8cc57
Merge branch '5.x-dev' into vue-remove-angularjs-CoreAdminHome
diosmosis Jul 6, 2022
8603bee
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 6, 2022
a365274
Merge branch 'vue-remove-angularjs-CoreAdminHome' of github.com:matom…
diosmosis Jul 6, 2022
596650f
update expected screenshots
diosmosis Jul 6, 2022
61d0480
get to load in UI
diosmosis Jul 6, 2022
cc6e10d
getting dashboard settings control to work
diosmosis Jul 6, 2022
fa8449e
styling tweaks
diosmosis Jul 6, 2022
32dcb46
Merge branch 'vue-remove-angularjs-SegmentEditor' into vue-remove-ang…
diosmosis Jul 6, 2022
6b48b28
fix html attribute output for singlemetricview
diosmosis Jul 6, 2022
7bec0e0
fix vue-entry elements
diosmosis Jul 6, 2022
2ab891c
Merge branch 'vue-remove-angularjs-Ecommerce' into vue-remove-angular…
diosmosis Jul 6, 2022
d9bd225
Merge branch '5.x-dev' into vue-remove-angularjs-API
diosmosis Jul 6, 2022
6667484
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 6, 2022
870923c
Merge branch 'vue-remove-angularjs-API' of github.com:matomo-org/mato…
diosmosis Jul 6, 2022
c0a25b5
update expected screenshot
diosmosis Jul 6, 2022
4ab0384
Merge branch 'composer-allow-plugins-phpcodesniffer' into vue-remove-…
diosmosis Jul 6, 2022
b996049
Merge branch 'vue-remove-angularjs-DevicesDetection' of github.com:ma…
diosmosis Jul 6, 2022
76891f7
Merge branch 'vue-remove-angularjs-DBStats' into vue-remove-angularjs…
diosmosis Jul 6, 2022
f8a348c
fixing UI test issues, reintroduce compileAngularComponents (will rem…
diosmosis Jul 6, 2022
9717951
Merge branch 'vue-remove-angularjs-CoreVisualizations' into vue-remov…
diosmosis Jul 6, 2022
61f5eed
Merge branch 'vue-remove-angularjs-CoreAdminHome' into vue-remove-ang…
diosmosis Jul 6, 2022
d4bd09b
move function to correct class
diosmosis Jul 6, 2022
9eee570
Merge branch 'vue-remove-angularjs-Diagnostics' into vue-remove-angul…
diosmosis Jul 6, 2022
d06a713
Merge branch 'vue-remove-angularjs-DevicesDetection' into vue-remove-…
diosmosis Jul 6, 2022
d753234
fix order of array elements
diosmosis Jul 6, 2022
b1e78f4
fixing some more issues
diosmosis Jul 6, 2022
726bda4
hide the dashboard manager on initial display as before
diosmosis Jul 6, 2022
e8e4f92
styling fixes
diosmosis Jul 6, 2022
3294a39
Merge branch 'vue-remove-angularjs-SegmentEditor' into vue-remove-ang…
diosmosis Jul 6, 2022
998445f
fix styles for widgetized glossary
diosmosis Jul 6, 2022
ef01dbb
update expected screenshots
diosmosis Jul 6, 2022
a2721be
fixing DashboardManager UI test that previously used the uiControlObj…
diosmosis Jul 6, 2022
6b34f70
update device detection demo to be accurate
diosmosis Jul 6, 2022
b14d68d
update expected screenshots
diosmosis Jul 6, 2022
3cca3c1
Merge branch 'vue-remove-angularjs-API' into vue-remove-angularjs-Cor…
diosmosis Jul 6, 2022
7ba18e1
Merge branch 'vue-remove-angularjs-DevicesDetection' into vue-remove-…
diosmosis Jul 6, 2022
a3f9711
fix race condition in dashboard ajax requests/aborts
diosmosis Jul 6, 2022
a6be5dc
Merge branch 'vue-remove-angularjs-Dashboard' into vue-remove-angular…
diosmosis Jul 6, 2022
c87cb02
start removing angularjs from CoreHome
diosmosis Jul 6, 2022
0d4ffd9
remove more angularjs code
diosmosis Jul 6, 2022
3a75956
remove angularjs from CustomDimensions plugin
diosmosis Jul 6, 2022
4c161ec
Merge branch 'vue-remove-angularjs-CustomDimensions' into vue-remove-…
diosmosis Jul 6, 2022
b0a5a8f
removing some angularjs files
diosmosis Jul 6, 2022
1a8c070
remove use of history service, the use of $location from MatomoUrl an…
diosmosis Jul 7, 2022
a61e898
remove angularjs service module and filters
diosmosis Jul 7, 2022
800ea3f
removing more angularjs references
diosmosis Jul 7, 2022
4986212
remove more angular related code, including getAngularDependency()
diosmosis Jul 7, 2022
dc887df
update submodules to vue-remove-angularjs branches
diosmosis Jul 7, 2022
19a17bb
try replacing angularjs expression parsing w/ mathjs/number
diosmosis Jul 7, 2022
1a4e9d4
Merge branch '5.x-dev' into vue-remove-angularjs-conditions
diosmosis Jul 7, 2022
42e5b42
logical operator fixes
diosmosis Jul 7, 2022
bd965ef
only import what is needed for math.js
diosmosis Jul 7, 2022
099d301
remove some functionality
diosmosis Jul 7, 2022
72d1ded
optimize math.js use
diosmosis Jul 7, 2022
b37ff52
Merge branch 'vue-remove-angularjs-conditions' into vue-remove-angula…
diosmosis Jul 7, 2022
40ea390
convert zen mode code, add --bail option and some output to vue:build
diosmosis Jul 8, 2022
80474c1
remove ng-app directive in twig layouts
diosmosis Jul 8, 2022
60bde9d
ajaxhelper.adapter.ts still required for vanilla ajaxHelper() object
diosmosis Jul 8, 2022
eefd33a
remove ng-cloak use
diosmosis Jul 8, 2022
a24523c
fix datatableactions.vue errors
diosmosis Jul 8, 2022
865dc69
do not propagate id param in vue-entry uses
diosmosis Jul 8, 2022
0b77057
remove pointless defer
diosmosis Jul 8, 2022
a447818
get zen mode to work, fix couple issues in headermessage vue-entry usage
diosmosis Jul 8, 2022
474f118
move more data table action icon code to vue component from dataTable…
diosmosis Jul 8, 2022
1af2031
couple more data table actions fixes
diosmosis Jul 8, 2022
5d20497
UI test fixes + ng-non-bindable no longer needed
diosmosis Jul 8, 2022
7b2cf0b
fix more test issues + update some screenshots
diosmosis Jul 9, 2022
c3bf8bb
remove another use of isAngularRenderingThePage
diosmosis Jul 9, 2022
74e2b55
revert screenshot change
diosmosis Jul 9, 2022
c4741a7
fixing more issues
diosmosis Jul 9, 2022
3d25452
move inline script to vue directive + fix a couple vue warnings
diosmosis Jul 9, 2022
b97f958
Merge branch 'vue-remove-angularjs-Live' into vue-remove-angularjs-Co…
diosmosis Jul 9, 2022
9ca8bf8
built vue files
diosmosis Jul 9, 2022
7872b51
remove inline script in system check widget
diosmosis Jul 9, 2022
af93b58
Merge branch 'vue-remove-angularjs-Installation' into vue-remove-angu…
diosmosis Jul 9, 2022
e6ff9c7
fix some more datatableactions issues
diosmosis Jul 9, 2022
faa7cd7
use VueEntryContainer in _singleWidget.twig
diosmosis Jul 9, 2022
36669a8
remove unused inline script from _donate.twig
diosmosis Jul 9, 2022
c297fa7
update expected screenshots
diosmosis Jul 9, 2022
fc10f8b
Merge branch 'vue-remove-angularjs-CoreHome-CorePluginsAdmin' of gith…
diosmosis Jul 9, 2022
eeb86ce
fix hide flat icon code
diosmosis Jul 9, 2022
fb43427
updating screenshots and try to fix random failure
diosmosis Jul 9, 2022
a74e5c5
fix numeric conversion
diosmosis Jul 9, 2022
1736129
Merge branch 'vue-remove-angularjs-UserCountry' into vue-remove-angul…
diosmosis Jul 9, 2022
ad42558
update expected screenshots
diosmosis Jul 9, 2022
3dd329e
update screenshots
diosmosis Jul 9, 2022
027055d
use common method to load umd file
diosmosis Jul 9, 2022
ca93386
Merge branch 'vue-remove-angularjs-Installation' into vue-remove-angu…
diosmosis Jul 9, 2022
9db8de2
get languages dropdown to work
diosmosis Jul 9, 2022
481e9ae
Merge branch 'vue-remove-angularjs-LanguagesManager' into vue-remove-…
diosmosis Jul 9, 2022
bd5e5d6
only add menu translations if installed
diosmosis Jul 9, 2022
0bbd21e
make sure datatableactions vue entry is completely rendered before in…
diosmosis Jul 9, 2022
0651bcb
correct enriched-headline selector
diosmosis Jul 9, 2022
d4cd6ee
update VisitorGenerator submodule
diosmosis Jul 9, 2022
1c9ff25
do not load menu translations during updater as well
diosmosis Jul 9, 2022
d8b43f5
update expected screenshots
diosmosis Jul 9, 2022
0f436bb
update screenshot
diosmosis Jul 9, 2022
454049b
remove anglarjs libraries
diosmosis Jul 9, 2022
48c058c
get code to build w/o angularjs
diosmosis Jul 9, 2022
50b5178
update submodule
diosmosis Jul 9, 2022
55014d3
Merge branch 'vue-remove-angularjs-CoreHome-CorePluginsAdmin' into vu…
diosmosis Jul 9, 2022
6a4e20e
update expected screenshot
diosmosis Jul 9, 2022
562fb4a
Merge branch 'vue-remove-angularjs-CoreHome-CorePluginsAdmin' into vu…
diosmosis Jul 9, 2022
3af7fc0
remove angular from tsconfig.json
diosmosis Jul 10, 2022
2e9eca6
update submodule
diosmosis Jul 10, 2022
9b783cd
update submodule
diosmosis Jul 10, 2022
9b4c27e
remove duplicate translations
diosmosis Jul 10, 2022
c7dc461
Merge branch 'vue-remove-angularjs-CoreHome-CorePluginsAdmin' into vu…
diosmosis Jul 12, 2022
10dab5d
Merge branch '5.x-dev' into vue-remove-angularjs-CoreHome-CorePlugins…
diosmosis Sep 1, 2022
3fa7f02
Merge branch '5.x-dev' into vue-remove-angularjs-CoreHome-CorePlugins…
diosmosis Sep 1, 2022
5b69820
Merge branch 'vue-remove-angularjs-CoreHome-CorePluginsAdmin' into vu…
diosmosis Sep 1, 2022
d4e322d
remove angularjs from legalnotice
diosmosis Sep 1, 2022
30faae6
Merge branch '5.x-dev' into vue-remove-angularjs-final
sgiehl Oct 10, 2022
73c53d9
merge related fixes
sgiehl Oct 10, 2022
3f11b37
remove angluar mappings
sgiehl Oct 10, 2022
67d938d
remove packages/scripts for angularjs unit tests that ran in karma
diosmosis Oct 10, 2022
5afb579
remove references to angular in core directory
diosmosis Oct 16, 2022
cc9b1ee
rename AngularJS tests suite to ClientTests
diosmosis Oct 16, 2022
881b5b5
remove angularjs specific escaping in polyfill file
diosmosis Oct 16, 2022
22029cb
remove angularjs references in source code/comments + remove unneeded…
diosmosis Oct 16, 2022
1a517ad
remove more angularjs references/deprecated code
diosmosis Oct 16, 2022
3de2364
remove more references to angularjs in test files/local docs
diosmosis Oct 16, 2022
ff316f2
Merge branch '5.x-dev' into vue-remove-angularjs-final
diosmosis Oct 16, 2022
0a2dfd5
remove templateFile from expected test files
diosmosis Oct 16, 2022
28e929d
remove .only() and more <templateFile> occurrences in test files
diosmosis Oct 16, 2022
ebf3f24
update submodule
diosmosis Oct 16, 2022
c0971ee
update submodule
diosmosis Oct 16, 2022
cea99bb
update submodule
diosmosis Oct 16, 2022
bfbe7e5
Merge branch '5.x-dev' into vue-remove-angularjs-final
sgiehl Oct 17, 2022
7e45036
submodule update
sgiehl Oct 17, 2022
ee5e6ef
fix phpcs
sgiehl Oct 17, 2022
5109a49
update changelog and travis scripts
diosmosis Oct 20, 2022
8339cad
Merge branch 'vue-remove-angularjs-final' of github.com:matomo-org/ma…
diosmosis Oct 20, 2022
7379363
Merge branch '5.x-dev' into vue-remove-angularjs-final
diosmosis Oct 21, 2022
4db215c
fix failing test
diosmosis Oct 21, 2022
8f71c57
fix latest available version styling
diosmosis Oct 26, 2022
2c96139
Merge branch 'next_release' into vue-remove-angularjs-final
diosmosis Oct 26, 2022
8b3c363
Merge branch '5.x-dev' into vue-remove-angularjs-final
sgiehl Oct 27, 2022
64f6783
built vue files
sgiehl Oct 27, 2022
e03719a
Merge branch '5.x-dev' into vue-remove-angularjs-final
sgiehl Nov 7, 2022
ffb0ce8
built vue files
sgiehl Nov 7, 2022
056c351
fix test
sgiehl Nov 7, 2022
a9b1b71
submodule
sgiehl Nov 7, 2022
7e290e7
update expected test files
sgiehl Nov 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
tests/
tmp/
plugins/*/javascripts/
plugins/*/angularjs/
plugins/*/tests/UI/
plugins/*/vue/dist/**/*.js
js/*.js
Expand Down
1 change: 0 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ tests/ export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
PULL_REQUEST_TEMPLATE export-ignore
/libs/bower_components/angular-mocks export-ignore
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ php_errors.log
/.docker
docker-compose.yml
/node_modules/*
!/node_modules/angular
!/node_modules/angular-animate
!/node_modules/angular-cookies
!/node_modules/angular-mocks
!/node_modules/angular-sanitize
!/node_modules/chroma-js
!/node_modules/iframe-resizer
!/node_modules/jquery
Expand All @@ -94,7 +89,6 @@ docker-compose.yml
!/node_modules/jquery.scrollto
!/node_modules/materialize-css
!/node_modules/mousetrap
!/node_modules/ng-dialog
!/node_modules/qrcodejs2
!/node_modules/sprintf-js
!/node_modules/visibilityjs
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ matrix:
- nginx
- coreutils
- php: 7.2
env: TEST_SUITE=AngularJSTests MYSQL_ADAPTER=PDO_MYSQL SKIP_COMPOSER_INSTALL=1
env: TEST_SUITE=ClientTests MYSQL_ADAPTER=PDO_MYSQL SKIP_COMPOSER_INSTALL=1
sudo: false
addons: false
# All tests after another
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)*

### Breaking Changes

* Plugin names are now limited to 60 characters. If you used to have a plugin with a longer name, you might need to rename it.
* AngularJS has been completely removed from the code base, existing AngularJS code will no longer work. It is recommended to convert that code to Vue.
* The `Common::fixLbrace()` function has been removed. It was only necessary for AngularJS and no longer needs to be used.
* The deprecated `JSON2` API format has now been removed. We recommend switching to the `JSON` renderer, which behaves the same.
* The javascript event `piwikPageChange`, which is triggered when a reporting page is loaded, has been renamed to `matomoPageChange`. Ensure to update your implementation if you rely on it.
* Plugin names are now limited to 60 characters. If you used to have a plugin with a longer name, you might need to rename it.

### New APIs

Expand Down
8 changes: 2 additions & 6 deletions LEGALNOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,6 @@ THIRD-PARTY COMPONENTS AND LIBRARIES
Link: https://github.com/symfony/Console
License: MIT (Expat)

Name: AngularJS
Link: https://github.com/angular/angular.js
License: MIT (Expat)

Name: Mousetrap
Link: https://github.com/ccampbell/mousetrap
License: Apache 2.0
Expand Down Expand Up @@ -273,11 +269,11 @@ THIRD-PARTY CONTENT
Notes:
- used in ImageGraph plugin

Name: plugins/Feedback/angularjs/ratefeature/thumbs-down.png
Name: plugins/Feedback/vue/src/RateFeature/thumbs-down.png
Link: https://www.iconfinder.com/icons/216428/down_thumbs_icon
License: Creative Commons (Attribution-Share Alike 3.0 Unported)

Name: plugins/Feedback/angularjs/ratefeature/thumbs-up.png
Name: plugins/Feedback/vue/src/RateFeature/thumbs-up.png
Link: https://www.iconfinder.com/icons/216429/thumbs_up_icon
License: Creative Commons (Attribution-Share Alike 3.0 Unported)

Expand Down
16 changes: 8 additions & 8 deletions core/API/DocumentationGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct()
*/
public function getApiDocumentationAsString($outputExampleUrls = true)
{
list($toc, $str) = $this->generateDocumentation($outputExampleUrls, $prefixUrls = '', $displayTitlesAsAngularDirective = true);
list($toc, $str) = $this->generateDocumentation($outputExampleUrls, $prefixUrls = '', $displayTitlesAsEnrichedHeadline = true);

return "<div vue-entry=\"CoreHome.ContentBlock\" content-title='Quick access to APIs' id='topApiRef' name='topApiRef'>
$toc</div>
Expand All @@ -66,7 +66,7 @@ public function getApiDocumentationAsString($outputExampleUrls = true)
*/
public function getApiDocumentationAsStringForDeveloperReference($outputExampleUrls = true, $prefixUrls = '')
{
list($toc, $str) = $this->generateDocumentation($outputExampleUrls, $prefixUrls, $displayTitlesAsAngularDirective = false);
list($toc, $str) = $this->generateDocumentation($outputExampleUrls, $prefixUrls, $displayTitlesAsEnrichedHeadline = false);

return "<h2 id='topApiRef' name='topApiRef'>Quick access to APIs</h2>
$toc
Expand All @@ -78,11 +78,11 @@ protected function prepareModuleToDisplay($moduleName)
return "<a href='#$moduleName'>$moduleName</a><br/>";
}

protected function prepareMethodToDisplay($moduleName, $info, $methods, $class, $outputExampleUrls, $prefixUrls, $displayTitlesAsAngularDirective)
protected function prepareMethodToDisplay($moduleName, $info, $methods, $class, $outputExampleUrls, $prefixUrls, $displayTitlesAsEnrichedHeadline)
{
$str = '';
$str .= "\n<a name='$moduleName' id='$moduleName'></a>";
if($displayTitlesAsAngularDirective) {
if($displayTitlesAsEnrichedHeadline) {
$str .= "<div vue-entry=\"CoreHome.ContentBlock\" content-title='Module " . $moduleName . "'>";
} else {
$str .= "<h2>Module " . $moduleName . "</h2>";
Expand All @@ -105,7 +105,7 @@ protected function prepareMethodToDisplay($moduleName, $info, $methods, $class,
$str .= "</div>\n";
}

if($displayTitlesAsAngularDirective) {
if($displayTitlesAsEnrichedHeadline) {
$str .= "</div>";
}

Expand Down Expand Up @@ -354,10 +354,10 @@ protected function getParametersString($class, $name)
/**
* @param $outputExampleUrls
* @param $prefixUrls
* @param $displayTitlesAsAngularDirective
* @param $displayTitlesAsEnrichedHeadline
* @return array
*/
protected function generateDocumentation($outputExampleUrls, $prefixUrls, $displayTitlesAsAngularDirective)
protected function generateDocumentation($outputExampleUrls, $prefixUrls, $displayTitlesAsEnrichedHeadline)
{
$str = $toc = '';

Expand Down Expand Up @@ -393,7 +393,7 @@ protected function generateDocumentation($outputExampleUrls, $prefixUrls, $displ

foreach ($toDisplay as $moduleName => $methods) {
$toc .= $this->prepareModuleToDisplay($moduleName);
$str .= $this->prepareMethodToDisplay($moduleName, $info, $methods, $class, $outputExampleUrls, $prefixUrls, $displayTitlesAsAngularDirective);
$str .= $this->prepareMethodToDisplay($moduleName, $info, $methods, $class, $outputExampleUrls, $prefixUrls, $displayTitlesAsEnrichedHeadline);
}
}
return array($toc, $str);
Expand Down
11 changes: 0 additions & 11 deletions core/AssetManager/UIAssetFetcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,28 +155,17 @@ public function getTheme()
"libs/bower_components/materialize/dist/js/materialize.min.js" => "node_modules/materialize-css/dist/js/materialize.min.js",
"libs/bower_components/jquery.scrollTo/jquery.scrollTo.min.js" => "node_modules/jquery.scrollto/jquery.scrollTo.min.js",
"libs/bower_components/mousetrap/mousetrap.min.js" => "node_modules/mousetrap/mousetrap.min.js",
"libs/bower_components/angular/angular.min.js" => 'node_modules/angular/angular.min.js',
"libs/bower_components/angular-sanitize/angular-sanitize.min.js" => "node_modules/angular-sanitize/angular-sanitize.min.js",
"libs/bower_components/angular-animate/angular-animate.min.js" => "node_modules/angular-animate/angular-animate.min.js",
"libs/bower_components/angular-cookies/angular-cookies.min.js" => "node_modules/angular-cookies/angular-cookies.min.js",
"libs/bower_components/ngDialog/js/ngDialog.min.js" => "node_modules/ng-dialog/js/ngDialog.min.js",
"libs/bower_components/jQuery.dotdotdot/src/js/jquery.dotdotdot.min.js" => "node_modules/jquery.dotdotdot/dist/jquery.dotdotdot.js",
"libs/bower_components/visibilityjs/lib/visibility.core.js" => "node_modules/visibilityjs/lib/visibility.core.js",
"libs/bower_components/iframe-resizer/js/iframeResizer.min.js" => "node_modules/iframe-resizer/js/iframeResizer.min.js",
"libs/bower_components/qrcode.js/qrcode.js" => "node_modules/qrcodejs2/qrcode.min.js",
"libs/bower_components/chroma-js/chroma.min.js" => "node_modules/chroma-js/chroma.min.js",
"libs/jquery/jquery.browser.js" => "node_modules/jquery.browser/dist/jquery.browser.min.js",
"plugins/CoreHome/angularjs/dialogtoggler/dialogtoggler.directive.js" => null,
"plugins/CoreHome/angularjs/dialogtoggler/dialogtoggler.controller.js" => null,
"plugins/CoreHome/angularjs/dialogtoggler/dialogtoggler-urllistener.service.js" => null,
"libs/jquery/jquery.truncate.js" => null,

"libs/jquery/themes/base/jquery-ui.min.css" => "node_modules/jquery-ui-dist/jquery-ui.min.css",
"libs/bower_components/materialize/dist/css/materialize.min.css" => "node_modules/materialize-css/dist/css/materialize.min.css",
"node_modules/jquery-ui-dist/jquery-ui.theme.min.css" => "node_modules/jquery-ui-dist/jquery-ui.theme.min.css",
"libs/bower_components/ngDialog/css/ngDialog.min.css" => null,
"libs/bower_components/ngDialog/css/ngDialog-theme-default.min.css" => null,
"plugins/CoreHome/angularjs/dialogtoggler/ngdialog.less" => null,
];

protected function mapBowerComponentFilesForBC(array &$fileLocations)
Expand Down
32 changes: 0 additions & 32 deletions core/Common.php
Original file line number Diff line number Diff line change
Expand Up @@ -580,38 +580,6 @@ public static function getRequestVar($varName, $varDefault = null, $varType = nu
return $value;
}

/**
* Replaces lbrace with an encoded entity to prevent angular from parsing the content
*
* @deprecated Will be removed, once the vue js migration is done
*
* @param $string
* @return array|string|string[]|null
*/
public static function fixLbrace($string)
sgiehl marked this conversation as resolved.
Show resolved Hide resolved
{
$chars = array('{', '&#x7B;', '&#123;', '&lcub;', '&lbrace;', '&#x0007B;');

static $search;
static $replace;

if (!isset($search)) {
$search = array_map(function ($val) { return $val . $val; }, $chars);
}
if (!isset($replace)) {
$replace = array_map(function ($val) { return $val . '&#8291;' . $val; }, $chars);
}

$replacedString = is_null($string) ? $string : str_replace($search, $replace, $string);

// try to replace characters until there are no changes
if ($string !== $replacedString) {
return self::fixLbrace($replacedString);
}

return $string;
}

/*
* Generating unique strings
*/
Expand Down
9 changes: 0 additions & 9 deletions core/Settings/FieldConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@ class FieldConfig
*/
public $uiControl = null;

/**
* Defines a custom template file for a UI control. This file should render a UI control and expose the value in a
* "formField.value" angular model. For an example see "plugins/CorePluginsAdmin/angularjs/form-field/field-text.html"
*
* @var string
* @deprecated set $customFieldComponent to ['plugin' => 'MyPlugin', 'component' => 'MyComponentAsItIsExported']
*/
public $customUiControlTemplateFile = '';

/**
* Defines a custom Vue component to use for the internal field UI control. This should be an array with two
* keys:
Expand Down
9 changes: 0 additions & 9 deletions core/Settings/FieldConfig/ArrayField.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,6 @@ class ArrayField
*/
public $uiControl = null;

/**
* Defines a custom template file for a UI control. This file should render a UI control and expose the value in a
* "formField.value" angular model. For an example see "plugins/CorePluginsAdmin/angularjs/form-field/field-text.html"
*
* @var string
*/
public $customUiControlTemplateFile = '';

/**
* Array like ['plugin' => 'MyPlugin', 'component' => 'MyExportedCustomFieldComponent']. For an example see
* "plugins/CorePluginsAdmin/vue/src/FormField/FieldText.vue"
Expand Down Expand Up @@ -79,7 +71,6 @@ public function toArray()
return array(
'title' => $this->title,
'uiControl' => $this->uiControl,
'templateFile' => $this->customUiControlTemplateFile,
'component' => $this->customFieldComponent,
'availableValues' => $this->availableValues,
);
Expand Down
10 changes: 0 additions & 10 deletions core/Settings/FieldConfig/MultiPair.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ class MultiPair
*/
public $uiControl = null;

/**
* Defines a custom template file for a UI control. This file should render a UI control and expose the value in a
* "formField.value" angular model. For an example see "plugins/CorePluginsAdmin/angularjs/form-field/field-text.html"
*
* @var string
* @deprecated use customFieldComponent instead
*/
public $customUiControlTemplateFile = '';

/**
* Array like ['plugin' => 'MyPlugin', 'component' => 'MyExportedCustomFieldComponent']. For an example see
* "plugins/CorePluginsAdmin/vue/src/FormField/FieldText.vue"
Expand Down Expand Up @@ -90,7 +81,6 @@ public function toArray()
'key' => $this->key,
'title' => $this->title,
'uiControl' => $this->uiControl,
'templateFile' => $this->customUiControlTemplateFile,
'component' => $this->customFieldComponent,
'availableValues' => $this->availableValues,
);
Expand Down
14 changes: 2 additions & 12 deletions core/Twig.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,24 +40,14 @@ function piwik_format_number($string, $minFractionDigits, $maxFractionDigits)
return $formatter->format($string, $minFractionDigits, $maxFractionDigits);
}

function piwik_fix_lbrace($string)
{
return Common::fixLbrace($string);
}

function piwik_escape_filter(Environment $env, $string, $strategy = 'html', $charset = null, $autoescape = false) {

$string = twig_escape_filter($env, $string, $strategy, $charset, $autoescape);

switch ($strategy) {
case 'html':
case 'html_attr':
return piwik_fix_lbrace($string);
case 'url':
$encoded = rawurlencode('{');
return str_replace('{{', $encoded . $encoded, $string);
case 'css':
case 'js':
default:
return $string;
}
Expand Down Expand Up @@ -344,7 +334,7 @@ protected function addFilter_notification()
$template .= '>';

if (!empty($options['raw'])) {
$template .= piwik_fix_lbrace($message);
$template .= $message;
} else {
$template .= piwik_escape_filter($twigEnv, $message, 'html');
}
Expand All @@ -370,7 +360,7 @@ protected function addFilter_safeDecodeRaw()

$string = SafeDecodeLabel::decodeLabelSafe($string);

return piwik_fix_lbrace($string);
return $string;

}, array('is_safe' => array('all')));
$this->twig->addFilter($rawSafeDecoded);
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ module.exports = {
tsconfig: 'tsconfig.spec.json',
},
},
setupFiles: ['./tests/angularjs/bootstrap.jest.js'],
setupFiles: ['./tests/client/bootstrap.jest.js'],
};
21 changes: 0 additions & 21 deletions node_modules/angular-animate/LICENSE.md

This file was deleted.

Loading