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 rewrite upmerge22 #127

Open
wants to merge 241 commits into
base: vue-rewrite
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
241 commits
Select commit Hold shift + click to select a range
c8f781c
Bump phpstan/phpstan from 1.6.8 to 1.6.9
dependabot[bot] May 23, 2022
f3c824b
[tx-robot] updated from transifex
nextcloud-bot May 24, 2022
09e06fd
update ContentController to fix nextcloud#1324
AccaliaDeElementia May 23, 2022
83cb9b6
Bump phpstan/phpstan from 1.6.9 to 1.7.1
dependabot[bot] May 24, 2022
684af84
Bump phpstan/phpstan-doctrine from 1.3.4 to 1.3.5
dependabot[bot] May 24, 2022
fdf037e
Use Feed Link as GUID when Feed omits Guid. (#1785)
AccaliaDeElementia May 24, 2022
2b254d3
Bump phpstan/phpstan from 1.7.1 to 1.7.2
dependabot[bot] May 27, 2022
083b0a1
Fix doubling the height of the content area
chylex May 27, 2022
86e01a9
Release 18.1.0-beta1
Grotax May 29, 2022
eca96ad
Enable API testing (#1699)
Grotax May 29, 2022
4ce4eca
Bump phpstan/phpstan from 1.7.2 to 1.7.3
dependabot[bot] May 30, 2022
86d20bb
Bump phpstan/phpstan-doctrine from 1.3.5 to 1.3.6
dependabot[bot] May 30, 2022
dbb6419
Bump phpstan/phpstan from 1.7.4 to 1.7.6
dependabot[bot] May 31, 2022
1c91928
If items of feed do not provide an author fallback to feed author (#1…
Grotax May 31, 2022
4981b9e
Release 18.1.0-beta2
Grotax May 31, 2022
cc445ac
Bump phpstan/phpstan from 1.7.6 to 1.7.8
dependabot[bot] Jun 2, 2022
5851620
Bump phpstan/phpstan-doctrine from 1.3.6 to 1.3.7
dependabot[bot] Jun 2, 2022
eb8fefa
Bump phpstan/phpstan from 1.7.8 to 1.7.9
dependabot[bot] Jun 3, 2022
e1be5a9
Bump phpstan/phpstan-doctrine from 1.3.7 to 1.3.9 (#1812)
dependabot[bot] Jun 6, 2022
583d6a3
Bump phpstan/phpstan from 1.7.9 to 1.7.10 (#1813)
dependabot[bot] Jun 6, 2022
1885455
Bump svenstaro/upload-release-action from 2.2.1 to 2.3.0
dependabot[bot] Jun 6, 2022
77dce00
Add documentation on how to fully uninstall news
Grotax Jun 1, 2022
d941ff6
[tx-robot] updated from transifex
nextcloud-bot Jun 8, 2022
96f109e
Bump phpstan/phpstan from 1.7.10 to 1.7.11
dependabot[bot] Jun 7, 2022
466c432
Bump phpstan/phpstan from 1.7.11 to 1.7.12
dependabot[bot] Jun 10, 2022
4b5d261
Bump jasmine-core from 4.1.1 to 4.2.0 in /js
dependabot[bot] Jun 10, 2022
0adb76b
Bump squizlabs/php_codesniffer from 3.6.2 to 3.7.0
dependabot[bot] Jun 13, 2022
db01bef
Bump karma from 6.3.20 to 6.4.0 in /js
dependabot[bot] Jun 14, 2022
4f5e042
Bump phpstan/phpstan from 1.7.12 to 1.7.13
dependabot[bot] Jun 14, 2022
b144987
[tx-robot] updated from transifex
nextcloud-bot Jun 15, 2022
10bb227
Bump phpstan/phpstan from 1.7.13 to 1.7.14
dependabot[bot] Jun 15, 2022
0c431a1
Update PHP and JS dependencies
Grotax Jun 14, 2022
8cf7e07
adjust dependabot config
Grotax Jun 14, 2022
01e4adf
Release 18.1.0
Grotax Jun 10, 2022
a67b927
Bump karma-jasmine from 5.0.1 to 5.1.0 in /js
dependabot[bot] Jun 16, 2022
6106ef6
Add Fuoten to the list of clients
Thaodan Jun 16, 2022
1847635
Bump doctrine/dbal from 3.3.6 to 3.3.7
dependabot[bot] Jun 17, 2022
8357b72
Bump phpstan/phpstan from 1.7.14 to 1.7.15 (#1833)
dependabot[bot] Jun 20, 2022
1fe2411
Bump phpunit/phpunit from 9.5.20 to 9.5.21 (#1834)
dependabot[bot] Jun 20, 2022
7c4146c
Bump squizlabs/php_codesniffer from 3.7.0 to 3.7.1 (#1835)
dependabot[bot] Jun 20, 2022
61267c5
[tx-robot] updated from transifex
nextcloud-bot Jun 22, 2022
e3dedd8
Bump phpstan/phpstan-strict-rules from 1.2.3 to 1.3.0
dependabot[bot] Jun 24, 2022
66a161e
fix type always string for findAllFromUser
Grotax Jun 26, 2022
b281fb5
Bump phpstan/phpstan from 1.7.15 to 1.8.0
dependabot[bot] Jun 29, 2022
fa3a2c5
fix duplicated api routes
anoymouserver Jul 2, 2022
89eb6a6
add CORS and version endpoint for API v2
anoymouserver Jul 2, 2022
f1668df
[Vue Rewrite] Enable Typescript Vue Components (#1831)
devlinjunker Jul 4, 2022
ef25b13
Release 18.1.1-beta1
Grotax Jul 4, 2022
8ce114d
[tx-robot] updated from transifex
nextcloud-bot Jul 8, 2022
7642402
Bump phpstan/phpstan from 1.8.0 to 1.8.1 (#1848)
dependabot[bot] Jul 13, 2022
b9a4bef
Bump phpstan/phpstan-doctrine from 1.3.9 to 1.3.10 (#1847)
dependabot[bot] Jul 13, 2022
df04083
Bump phpstan/phpstan from 1.8.1 to 1.8.2
dependabot[bot] Jul 20, 2022
cb92fa9
Bump terser from 5.14.1 to 5.14.2 in /js
dependabot[bot] Jul 21, 2022
1d1f9db
Bump phpstan/phpstan-doctrine from 1.3.10 to 1.3.11
dependabot[bot] Jul 21, 2022
056465f
[tx-robot] updated from transifex
nextcloud-bot Jul 26, 2022
70f257d
Bump jasmine-core from 4.2.0 to 4.3.0 in /js
dependabot[bot] Jul 25, 2022
390efb9
Bump jshint from 2.13.4 to 2.13.5 in /js
dependabot[bot] Jul 26, 2022
496084d
[tx-robot] updated from transifex
nextcloud-bot Aug 6, 2022
d4450eb
Change Autodiscover behaviour (#1860)
Grotax Aug 8, 2022
0afdd5c
Bump doctrine/dbal from 3.3.7 to 3.4.0
dependabot[bot] Aug 8, 2022
ae4f0ae
Bump phpstan/phpstan-doctrine from 1.3.11 to 1.3.12
dependabot[bot] Aug 9, 2022
71d635d
Release 18.1.1
Grotax Aug 4, 2022
2578031
[tx-robot] updated from transifex
nextcloud-bot Aug 14, 2022
51e6928
Bump doctrine/dbal from 3.4.0 to 3.4.1 (#1868)
dependabot[bot] Aug 17, 2022
a66d62d
adapt generateSearchIndex
Grotax Aug 6, 2022
932b88a
add item types to api docs
Grotax Aug 6, 2022
a3d70f5
Fix Test and adjust code
Grotax Aug 6, 2022
df04eb2
add changelog
Grotax Aug 6, 2022
c09cca7
Fix deprecations
Grotax Aug 6, 2022
1784406
Fix deprecation warnings from Nextcloud. (#1869)
Grotax Aug 19, 2022
410a1e4
fixup for #1861
Grotax Aug 19, 2022
b1cbf80
Documentation: Add Communique app client
UnderEu Aug 21, 2022
49f7910
try to speedup the api testing by hosting the feeds locally (#1874)
Grotax Aug 21, 2022
4afd5a5
change itemMapper readAll
Grotax Aug 19, 2022
1a76e03
fix unittest
Grotax Aug 19, 2022
d39fd83
update changelog
Grotax Aug 21, 2022
2fe96dd
[tx-robot] updated from transifex
nextcloud-bot Aug 24, 2022
bd3abf1
Bump phpstan/phpstan-strict-rules from 1.3.0 to 1.4.0 (#1879)
dependabot[bot] Aug 24, 2022
108f8b5
Bump phpunit/phpunit from 9.5.21 to 9.5.23 (#1878)
dependabot[bot] Aug 24, 2022
e60fdff
Bump doctrine/dbal from 3.4.1 to 3.4.2
dependabot[bot] Aug 24, 2022
c217448
Fix adding feed that was just deleted is causing an error
Grotax Aug 19, 2022
c3591ad
Bump phpstan/phpstan-strict-rules from 1.4.0 to 1.4.2
dependabot[bot] Aug 26, 2022
e9963f0
Bump jquery from 3.6.0 to 3.6.1 in /js
dependabot[bot] Aug 29, 2022
39ac02c
Bump phpunit/phpunit from 9.5.23 to 9.5.24
dependabot[bot] Aug 30, 2022
753e887
Port admin settings to vue (#1880)
CarlSchwan Aug 30, 2022
1e536fd
Release 18.2.0-beta1
Grotax Aug 30, 2022
bb32108
[tx-robot] updated from transifex
nextcloud-bot Aug 31, 2022
17f05b4
l10n: Spelling unification
Valdnet Aug 31, 2022
a41abf8
l10n: Correct a typo
Valdnet Aug 31, 2022
a7f69c4
fix readAll
Grotax Aug 31, 2022
c26b3ae
Bump doctrine/dbal from 3.4.2 to 3.4.3
dependabot[bot] Aug 31, 2022
69f607f
fix truncated string for Transifex
anoymouserver Aug 31, 2022
6403bdf
[tx-robot] updated from transifex
nextcloud-bot Sep 1, 2022
18c9202
[tx-robot] updated from transifex
nextcloud-bot Sep 2, 2022
18e91f2
Bump phpstan/phpstan from 1.8.2 to 1.8.3
dependabot[bot] Sep 2, 2022
1800f7d
Bump phpstan/phpstan-strict-rules from 1.4.2 to 1.4.3
dependabot[bot] Sep 2, 2022
33da37d
l10n: Spelling unification
Valdnet Sep 4, 2022
a01018b
Merge pull request #1897 from nextcloud/Valdnet-patch-1
Valdnet Sep 4, 2022
91c737d
[tx-robot] updated from transifex
nextcloud-bot Sep 5, 2022
f2a8ec7
[tx-robot] updated from transifex
nextcloud-bot Sep 6, 2022
f4185ad
Bump jasmine-core from 4.3.0 to 4.4.0 in /js
dependabot[bot] Sep 5, 2022
548e0ac
Bump phpstan/phpstan from 1.8.3 to 1.8.4
dependabot[bot] Sep 5, 2022
29d99d0
Bump doctrine/dbal from 3.4.3 to 3.4.4
dependabot[bot] Sep 6, 2022
74bca2c
[tx-robot] updated from transifex
nextcloud-bot Sep 7, 2022
33c4771
Bump phpstan/phpstan-doctrine from 1.3.12 to 1.3.13
dependabot[bot] Sep 7, 2022
68552c6
[tx-robot] updated from transifex
nextcloud-bot Sep 8, 2022
f701322
Release 18.2.0-beta2
Grotax Aug 31, 2022
db27490
Bump phpstan/phpstan from 1.8.4 to 1.8.5
dependabot[bot] Sep 8, 2022
8a77833
[tx-robot] updated from transifex
nextcloud-bot Sep 13, 2022
236ed34
Bump ezyang/htmlpurifier from 4.14.0 to 4.16.0
dependabot[bot] Sep 19, 2022
2930280
Bump karma from 6.4.0 to 6.4.1 in /js
dependabot[bot] Sep 20, 2022
afe46c5
Fix the highlighted item in reversed order
micbase Sep 10, 2022
dc437fc
[tx-robot] updated from transifex
nextcloud-bot Sep 22, 2022
2de049b
[tx-robot] updated from transifex
nextcloud-bot Sep 23, 2022
7bfd8ef
Bump phpstan/phpstan-doctrine from 1.3.13 to 1.3.14
dependabot[bot] Sep 22, 2022
65d432c
Bump phpstan/phpstan from 1.8.5 to 1.8.6
dependabot[bot] Sep 23, 2022
2adb442
Bump phpstan/phpstan-strict-rules from 1.4.3 to 1.4.4
dependabot[bot] Sep 23, 2022
a3a6895
[tx-robot] updated from transifex
nextcloud-bot Sep 24, 2022
aeb988b
Bump doctrine/dbal from 3.4.4 to 3.4.5
dependabot[bot] Sep 26, 2022
ca0d176
Bump phpunit/phpunit from 9.5.24 to 9.5.25
dependabot[bot] Sep 26, 2022
805e9a1
[tx-robot] updated from transifex
nextcloud-bot Sep 28, 2022
4b03354
Release 18.2.0
Grotax Sep 28, 2022
3ff51b5
[tx-robot] updated from transifex
nextcloud-bot Sep 30, 2022
6452c1e
Bump phpstan/phpstan-doctrine from 1.3.14 to 1.3.15
dependabot[bot] Sep 30, 2022
e8e838b
[tx-robot] Update transifex configuration
nextcloud-bot Oct 1, 2022
42e9b47
change linting rule from spaces to tabs to match typical vue linting
devlinjunker Jul 1, 2022
a59f0fd
remove unecessary eslint rule
devlinjunker Jul 1, 2022
56ffba7
revert feeds.en.json
devlinjunker Sep 30, 2022
a71fc67
fix editor config and spaces inside of quotes
devlinjunker Oct 3, 2022
d248289
move all components to typescript 'Vue.extend({ ... ' syntax
devlinjunker Jul 1, 2022
fe62ff2
move types to separate files
devlinjunker Jul 1, 2022
f5d3767
Bump phpstan/phpstan-doctrine from 1.3.15 to 1.3.16
dependabot[bot] Oct 5, 2022
448dff5
[tx-robot] updated from transifex
nextcloud-bot Oct 6, 2022
1e56974
[tx-robot] updated from transifex
nextcloud-bot Oct 8, 2022
64eda2f
Bump phpstan/phpstan from 1.8.7 to 1.8.8
dependabot[bot] Oct 7, 2022
b88e1a5
New administrator setting for deleting unread items automatically
Grotax Oct 8, 2022
931fcc1
Update src/components/AdminSettings.vue
Grotax Oct 8, 2022
c91026c
[tx-robot] updated from transifex
nextcloud-bot Oct 9, 2022
5b755d9
[tx-robot] updated from transifex
nextcloud-bot Oct 10, 2022
efc2cc8
Add some documentation about the integration tests
Grotax Aug 19, 2022
50b7809
feat: start servers from make
SMillerDev Sep 28, 2022
0d8452d
[tx-robot] updated from transifex
nextcloud-bot Oct 11, 2022
78e5b7f
Release 18.3.0-beta1
Grotax Oct 10, 2022
db4c94d
[tx-robot] updated from transifex
nextcloud-bot Oct 12, 2022
6f9d3bd
fix wording to articles
Grotax Oct 11, 2022
505b336
Remove setting for minimum purge interval setting
Grotax Oct 12, 2022
896dcb7
[tx-robot] updated from transifex
nextcloud-bot Oct 13, 2022
ad425d0
[tx-robot] updated from transifex
nextcloud-bot Oct 14, 2022
0954130
Bump phpstan/phpstan from 1.8.8 to 1.8.9
dependabot[bot] Oct 14, 2022
2fc176b
[tx-robot] updated from transifex
nextcloud-bot Oct 15, 2022
c69f747
[tx-robot] updated from transifex
nextcloud-bot Oct 16, 2022
781fb1a
change postgres image to v14
Grotax Oct 21, 2022
f5c48ce
Updating lint-eslint.yml workflow from template
nextcloud-bot Oct 15, 2022
adb201d
Bump phpstan/phpstan-doctrine from 1.3.16 to 1.3.18 (#1940)
dependabot[bot] Oct 21, 2022
914c48b
Bump phpstan/extension-installer from 1.1.0 to 1.2.0
dependabot[bot] Oct 21, 2022
84ed477
add conditon to check for existing key and crt
Grotax Oct 21, 2022
d18a983
Release 18.3.0
Grotax Oct 21, 2022
031a172
Fix NC25 UI issues
rhyst Oct 20, 2022
a9771c2
Use correct PHP tag for rendering version
rhyst Oct 21, 2022
adae144
Fix mark read throughscrolling in NC24
rhyst Oct 21, 2022
22a7a09
Release 19.0.0-beta1
Grotax Oct 22, 2022
cbcf87f
[tx-robot] updated from transifex
nextcloud-bot Oct 23, 2022
a50d0a4
Fix various keyboard navigation issues
rhyst Oct 22, 2022
0822765
Fix cron job warning layout in NC25
rhyst Oct 22, 2022
33b60e1
Release 19.0.0-beta2
Grotax Oct 23, 2022
063cbdb
Fix nested scroll bars in navigation
rhyst Oct 23, 2022
e207883
Bump doctrine/dbal from 3.4.5 to 3.5.1
dependabot[bot] Oct 24, 2022
80ab436
Bump phpstan/phpstan-phpunit from 1.1.1 to 1.1.3
dependabot[bot] Oct 24, 2022
2432d56
Use app password, change setup method
Grotax Oct 23, 2022
c87a707
Bump phpstan/phpstan from 1.8.10 to 1.8.11
dependabot[bot] Oct 25, 2022
82575cb
Release 19.0.0
Grotax Oct 25, 2022
d191647
Bump phpstan/phpstan-doctrine from 1.3.18 to 1.3.19
dependabot[bot] Oct 25, 2022
4a68915
Bump phpstan/phpstan-doctrine from 1.3.19 to 1.3.21 (#1967)
dependabot[bot] Oct 26, 2022
f24376e
[tx-robot] updated from transifex
nextcloud-bot Oct 27, 2022
2f09fdd
Bump phpstan/phpstan-phpunit from 1.1.3 to 1.2.1 (#1969)
dependabot[bot] Oct 27, 2022
82472bf
Bump phpstan/phpstan-phpunit from 1.2.1 to 1.2.2
dependabot[bot] Oct 28, 2022
1de0135
Bump phpunit/phpunit from 9.5.25 to 9.5.26
dependabot[bot] Oct 28, 2022
c1eb31d
Update documentation
Grotax Oct 12, 2022
4a3de06
Bump jasmine-core from 4.4.0 to 4.5.0 in /js
dependabot[bot] Oct 31, 2022
08d12e5
running single test
devlinjunker Sep 30, 2022
a81cd40
clean up linting errors
devlinjunker Oct 3, 2022
902ff04
outline Sidebar specs
devlinjunker Oct 3, 2022
6557bb2
test file for each component
devlinjunker Oct 7, 2022
2be4f28
use newer libraries and clean up eslint
devlinjunker Oct 27, 2022
182897b
clean up dependencies
devlinjunker Oct 27, 2022
431236b
more package cleanup and some basic tests for Sidebar
devlinjunker Oct 27, 2022
3bf3bc1
fix tests with proper mocking
devlinjunker Oct 27, 2022
3138412
import -> require
devlinjunker Oct 27, 2022
d7aa5e1
fix linting
devlinjunker Oct 27, 2022
0fe2d49
update changelog
devlinjunker Oct 27, 2022
760c442
remove unecessary lines
devlinjunker Nov 1, 2022
720cad5
Bump phpstan/phpstan from 1.8.11 to 1.9.0
dependabot[bot] Nov 3, 2022
c427ac8
Update clients.md: Added Fluent Reader (#1975)
rhein Nov 4, 2022
da216d8
[tx-robot] updated from transifex
nextcloud-bot Nov 5, 2022
8cfb8b6
Bump loader-utils from 1.4.0 to 1.4.1 (#1979)
dependabot[bot] Nov 9, 2022
59d8d31
Bump phpstan/phpstan-doctrine from 1.3.21 to 1.3.22 (#1978)
dependabot[bot] Nov 9, 2022
582175e
Bump socket.io-parser from 4.0.4 to 4.0.5 in /js
dependabot[bot] Nov 9, 2022
0b99b9e
Bump phpstan/phpstan from 1.9.1 to 1.9.2 (#1983)
dependabot[bot] Nov 10, 2022
f062c74
[tx-robot] updated from transifex
nextcloud-bot Nov 12, 2022
c6b4bcc
upmerging master into vue-rewrite
devlinjunker Nov 10, 2022
7753837
ensure admin settings page is working
devlinjunker Nov 10, 2022
e4ada33
run npm install with node 18
devlinjunker Nov 10, 2022
234b975
fix linting
devlinjunker Nov 11, 2022
095176f
fix extraneous import error
devlinjunker Nov 11, 2022
72b1099
Bump jshint from 2.13.5 to 2.13.6 in /js
dependabot[bot] Nov 14, 2022
c580210
Bump phpstan/phpstan-doctrine from 1.3.22 to 1.3.23
dependabot[bot] Nov 14, 2022
90a3b23
Bump loader-utils from 1.4.1 to 1.4.2 (#1990)
dependabot[bot] Nov 17, 2022
92ebe4a
Bump fivefilters/readability.php from 2.1.0 to 3.1.0 (#1989)
dependabot[bot] Nov 17, 2022
9da97bc
[tx-robot] updated from transifex
nextcloud-bot Nov 19, 2022
0ec1b77
[tx-robot] updated from transifex
nextcloud-bot Nov 21, 2022
167e7b6
Merge branch 'master' into vue-rewrite
Grotax Nov 21, 2022
8351293
update language files from master
Grotax Nov 21, 2022
01d15ae
fix admin page getRequestToken() call
devlinjunker Nov 17, 2022
a12e334
add unit tests for admin settings
devlinjunker Nov 21, 2022
208cfa8
add unit tests for admin settings
devlinjunker Nov 22, 2022
5bf6407
add back translate to admin main js file
devlinjunker Nov 22, 2022
c61d4bb
use single quotes
devlinjunker Nov 22, 2022
b77284d
clean
devlinjunker Nov 22, 2022
db8b4af
move to dev dependencies
devlinjunker Nov 23, 2022
604e4e0
moved store to separate file and started using constants for action/m…
devlinjunker Nov 28, 2022
83fe713
split store into multiple files
devlinjunker Nov 29, 2022
c522bac
cleanup and renaming
devlinjunker Nov 29, 2022
c0bc5ec
clean
devlinjunker Nov 29, 2022
28ead9d
modularize store files and fix unit tests
devlinjunker Nov 29, 2022
f657698
working unit test for local computed state
devlinjunker Nov 29, 2022
8131604
lint the .ts and spec.ts files also
devlinjunker Dec 1, 2022
4899be3
add more tests
devlinjunker Dec 3, 2022
2c32ea0
start on state/store tests
devlinjunker Dec 3, 2022
e61fb48
basic tests for store
devlinjunker Dec 4, 2022
404b636
clean
devlinjunker Dec 4, 2022
4fb5426
clean up linting warnings
devlinjunker Dec 4, 2022
c975b93
clean
devlinjunker Dec 4, 2022
d9532e3
clean up commented out lines
devlinjunker Dec 4, 2022
05ad544
lint
devlinjunker Dec 4, 2022
cec1827
fix admin tests
devlinjunker Dec 4, 2022
f517bc3
split out routing and add another route
devlinjunker Dec 4, 2022
450047e
rename to typescript file
devlinjunker Dec 15, 2022
dfdff06
upmerged from master
devlinjunker Aug 6, 2023
12189db
fix unit test and linting errors
devlinjunker Aug 6, 2023
4eea7f3
resolve build issues
devlinjunker Aug 7, 2023
5e53fc1
minimum nextcloud version supported is 27
devlinjunker Aug 8, 2023
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
  •  
  •  
  •  
7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true

[*.{js,php,html,vue}]
[*.{php,html,css}]
indent_style = space
indent_size = 4
charset = utf-8

[*.{js,ts,vue}]
indent_style = tab
indent_size = 4
charset = utf-8

[*.bats]
indent_style = space
indent_size = 2
Expand Down
42 changes: 39 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,46 @@
module.exports = {
root: true,
parser: 'vue-eslint-parser',
parserOptions: {
parser: {
ts: '@typescript-eslint/parser',
},
ecmaVersion: 2020,
},
env: {
jest: true,
},
extends: [
'eslint:recommended',
'plugin:vue/base',
'plugin:vue/essential',
'@vue/standard',
'@vue/typescript/recommended',
'@nextcloud',
'plugin:@typescript-eslint/recommended',
],
ignorePatterns: ['*.d.ts'],
rules: {
'jsdoc/check-alignment': 'off',
'vue/html-indent': 'off',
'indent': ['error', 4]
'no-console': 'warn',
'@typescript-eslint/no-var-requires': 'off',

// TODO: Trouble importing .ts files into .vue files for some reason?
'import/extensions': 'off',
'n/no-missing-import': 'off',
},
settings: {
'import/resolver': {
node: {
extensions: ['.ts'],
},
},
},
overrides: [
{
files: ['*spec.ts', 'tests/javascript/unit/setup.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
},
],
}
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ updates:
labels:
- "dependencies"
- "Skip-Changelog"
versioning-strategy: increase

# Maintain dependencies for Composer
- package-ecosystem: "composer"
Expand All @@ -22,6 +23,7 @@ updates:
labels:
- "dependencies"
- "Skip-Changelog"
versioning-strategy: increase

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
12 changes: 12 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

* Resolves: # <!-- related github issue -->

## Summary

<!-- your text -->

## Checklist

- Code is [properly formatted](https://nextcloud.github.io/news/developer/#coding-style-guidelines)
- [Sign-off message](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md) is added to all commits
- Changelog entry added for all important changes.
49 changes: 35 additions & 14 deletions .github/workflows/api-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: "Integration: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }} - DB ${{ matrix.database }}"
services:
postgres:
image: postgres
image: postgres:14
env:
POSTGRES_PASSWORD: ${{ env.POSTGRES_PASSWORD }}
options: >-
Expand All @@ -28,26 +28,24 @@ jobs:
- 5432:5432 # Maps tcp port 5432 on service container to the host
strategy:
matrix:
php-versions: ['7.4', '8.0']
nextcloud: ['stable22', 'stable23']
php-versions: ['8.0', '8.1']
nextcloud: ['stable27']
database: ['sqlite', 'pgsql', 'mysql']
experimental: [false]
include:
- php-versions: 8.0
- php-versions: 8.1
nextcloud: pre-release
database: sqlite
experimental: true
- php-versions: 8.1
- php-versions: 8.2
nextcloud: pre-release
database: sqlite
experimental: true
- php-versions: 8.1
nextcloud: stable24
database: sqlite
experimental: false
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -56,8 +54,8 @@ jobs:
extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
coverage: none

- name: Setup BATS
uses: mig4/setup-bats@v1.2.0
- name: Setup BATS & httpie
run: sudo apt-get install -y httpie && npm install -g bats@1.7.0

### MySQL specific setup
- name: Setup mysql
Expand Down Expand Up @@ -108,8 +106,21 @@ jobs:
check-code: false
force: ${{ matrix.experimental }}

- name: Setup problem matchers for PHP
run: echo "::add-matcher::${{ runner.tool_cache }}/php.json"
- name: Run API tests
working-directory: ../server
run: |
php -S localhost:8080 &> /tmp/webserver.log &
cd apps/news/tests/test_helper/feeds && php -S localhost:8090 &> /tmp/feedserver.log &

sleep 2

cd ${{ github.workspace }}/../server

bats apps/news/tests/api

# Kill php server
kill %1
kill %2

- name: Functional tests maintenance
working-directory: ../server
Expand All @@ -118,7 +129,16 @@ jobs:

- name: Functional tests
working-directory: ../server
run: bats apps/news/tests/integration
run: |
cd apps/news/tests/test_helper/feeds && php -S localhost:8090 &> /tmp/feedserver.log &

sleep 2

cd ${{ github.workspace }}/../server

bats apps/news/tests/command

kill %1

- name: Prep PHP tests
working-directory: ../server/apps/news
Expand All @@ -127,3 +147,4 @@ jobs:
- name: Feed tests
working-directory: ../server/apps/news
run: make feed-test

10 changes: 3 additions & 7 deletions .github/workflows/api-php-static-code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,11 @@ jobs:
continue-on-error: true
strategy:
matrix:
php-versions: [ '7.4', '8.0' ]
nextcloud: [ 'stable24' ]
php-versions: ['8.0', '8.1', '8.2' ]
nextcloud: [ 'stable27' ]
database: [ 'sqlite' ]
include:
- php-versions: 8.1
nextcloud: stable24
database: sqlite
experimental: false
- php-versions: 8.1
- php-versions: 8.2
nextcloud: pre-release
database: sqlite
experimental: true
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/api-php-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,10 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
nextcloud: ['stable24']
nextcloud: ['stable27']
database: ['sqlite']
experimental: [false]
codecoverage: [false]
include:
- php-versions: 8.0
nextcloud: stable24
database: sqlite
experimental: false
codecoverage: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -50,9 +44,6 @@ jobs:
app: 'news'
check-code: false

- name: Setup problem matchers for PHPUnit
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"

- name: Prep PHP tests
working-directory: ../server/apps/news
run: make php-test-dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
nextcloud: ['stable24']
nextcloud: ['stable27']
database: ['sqlite']
steps:
- name: Checkout
Expand All @@ -29,7 +29,7 @@ jobs:
coverage: none

- name: Set up server non MySQL
uses: SMillerDev/nextcloud-actions/setup-nextcloud@fae87e29aa7cdf1ea0b8033c67f60e75b10be2cd
uses: SMillerDev/nextcloud-actions/setup-nextcloud@main
with:
cron: false
version: ${{ matrix.nextcloud }}
Expand All @@ -39,7 +39,7 @@ jobs:
run: make

- name: Configure server with app
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@fae87e29aa7cdf1ea0b8033c67f60e75b10be2cd
uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main
with:
app: ${{ env.APP_NAME }}
check-code: false
Expand All @@ -52,7 +52,7 @@ jobs:
app_public_crt: ${{ secrets.APP_PUBLIC_CRT }}

- name: Upload app tarball to release
uses: svenstaro/upload-release-action@483c1e56f95e88835747b1c7c60581215016cbf2
uses: svenstaro/upload-release-action@2b9d2847a97b04d02ad5c3df2d3a27baa97ce689
id: attach_to_release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend-nodejs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ on:

jobs:
php:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
name: "Frontend: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }} - DB ${{ matrix.database }}"
strategy:
matrix:
php-versions: ['8.1']
nextcloud: ['stable24']
nextcloud: ['stable27']
database: ['sqlite']
experimental: [false]
steps:
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Lint

on: pull_request

permissions:
contents: read

concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest

name: eslint

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^6'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint
2 changes: 1 addition & 1 deletion .github/workflows/post-merge-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
name: "Coverage: Nextcloud PHP ${{ matrix.php-versions }}"
strategy:
matrix:
nextcloud: ['stable24']
nextcloud: ['stable27']
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
Loading
Loading