Compare commits

...

264 Commits
1.5.8 ... main

Author SHA1 Message Date
5c6542e60c Merge pull request 'chore(deps): update dependency vue to v3.5.3' (#142) from renovate/vue-3.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
Reviewed-on: #142
2024-09-06 07:13:09 +00:00
Renovate Bot
ea6704c537 chore(deps): update dependency vue to v3.5.3
All checks were successful
repod / xml (push) Successful in 1m30s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m35s
repod / release (push) Has been skipped
2024-09-06 06:49:43 +00:00
df4ac80554 Merge pull request 'chore(deps): update dependency vite-plugin-vue-devtools to v7.4.4' (#140) from renovate/vite-plugin-vue-devtools-7.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 57s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
Reviewed-on: #140
2024-09-05 07:08:30 +00:00
2b2ab2af8f Merge pull request 'chore(deps): update dependency vue to v3.5.1' (#141) from renovate/vue-3.x-lockfile into main
Some checks failed
repod / php (push) Waiting to run
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Has been cancelled
Reviewed-on: #141
2024-09-05 07:08:19 +00:00
Renovate Bot
7b00eb22ff chore(deps): update dependency vue to v3.5.1
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m0s
repod / release (push) Has been skipped
2024-09-05 06:31:41 +00:00
Renovate Bot
ecee6ff2a8 chore(deps): update dependency vite-plugin-vue-devtools to v7.4.4
All checks were successful
repod / xml (push) Successful in 26s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 1m8s
repod / release (push) Has been skipped
2024-09-05 06:31:31 +00:00
57a22d9390 chore: ⬆️ update lock
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 58s
repod / nodejs (push) Successful in 1m2s
repod / release (push) Has been skipped
2024-09-04 10:48:22 +02:00
42c35d3856 Merge pull request 'chore(deps): update dependency vite to v5.4.3' (#139) from renovate/vite-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 1m54s
repod / php (push) Successful in 1m38s
repod / nodejs (push) Successful in 1m50s
repod / release (push) Has been skipped
Reviewed-on: #139
2024-09-04 08:41:03 +00:00
4d199bc02b Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29.0.6' (#138) from renovate/nextcloud-ocp-29.x-lockfile into main
Some checks failed
repod / php (push) Waiting to run
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Has been cancelled
Reviewed-on: #138
2024-09-04 08:40:23 +00:00
Renovate Bot
8a89cc06cd chore(deps): update dependency vite to v5.4.3
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 53s
repod / release (push) Has been skipped
2024-09-04 06:59:04 +00:00
Renovate Bot
03740231c5 chore(deps): update dependency nextcloud/ocp to v29.0.6
All checks were successful
repod / xml (push) Successful in 36s
repod / php (push) Successful in 58s
repod / nodejs (push) Successful in 1m1s
repod / release (push) Has been skipped
2024-09-04 06:58:41 +00:00
b54ab2be91 style: 💩 leverage the available space between the episode title and the play button (but hacky way) fix #59
All checks were successful
repod / xml (push) Successful in 26s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Has been skipped
2024-09-03 16:12:11 +02:00
d1658a9408 chore: ⬆️ update locks
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m6s
repod / release (push) Has been skipped
2024-09-03 14:44:19 +02:00
1eb8b35501 refactor: 🎨 cleanup some old css class
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 59s
repod / release (push) Has been skipped
2024-09-02 15:54:21 +02:00
fb7780fead fix: 🐛 the #list slot breaks navigation on AppContent
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 54s
repod / nodejs (push) Successful in 1m2s
repod / release (push) Has been skipped
2024-09-02 15:35:10 +02:00
19c56ef31d fix: 🔨 move vite dev to main
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Has been skipped
2024-09-02 14:43:39 +02:00
2bad1852d7 refactor: 🩹 use same condition system on all App atoms
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 50s
repod / nodejs (push) Successful in 59s
repod / release (push) Has been skipped
2024-09-02 14:13:57 +02:00
0302489924 fix: 🏗️ add missing slots on atoms
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m1s
repod / release (push) Has been skipped
2024-09-02 14:06:43 +02:00
81cb6a0191 fix: 💄 fix missing icon on empty contents
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
2024-09-02 12:37:55 +02:00
094b7812cd Merge pull request 'new homepage based on favorites (fixes #130 #59)' (#131) from favorites into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Successful in 1m37s
Reviewed-on: #131
2024-09-02 09:27:56 +00:00
491ad89242 docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 54s
repod / release (push) Has been skipped
2024-09-02 11:27:18 +02:00
01e2dabb65 chore: 🔖 update version 2024-09-02 11:27:10 +02:00
a86ea6ab3f chore: 🌐 update langs
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 54s
repod / nodejs (push) Successful in 59s
repod / release (push) Has been skipped
2024-09-02 11:12:58 +02:00
7b7ceef503 perf: write getters for accessible filtered cookies values
All checks were successful
repod / xml (push) Successful in 1m36s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m34s
repod / release (push) Has been skipped
2024-09-02 10:51:48 +02:00
437c7868dd fix: 🐛 fix wrong state placement on action (fix #136) 2024-09-02 10:51:21 +02:00
7c151d8f58 style: 💄 tweak home for mobile
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 1m6s
repod / nodejs (push) Successful in 1m9s
repod / release (push) Has been skipped
2024-08-27 17:39:53 +02:00
b7025a7aa1 fix: 💄 fix padding and routing
All checks were successful
repod / xml (push) Successful in 17s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 1m6s
repod / release (push) Has been skipped
2024-08-27 16:41:58 +02:00
42035d6e18 refactor: 💥 big rewrite to extract episode to his own component
All checks were successful
repod / xml (push) Successful in 35s
repod / php (push) Successful in 1m6s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
2024-08-27 16:11:12 +02:00
5ed33d1cf6 refactor: 🚚 rework how routing works
All checks were successful
repod / xml (push) Successful in 27s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 1m11s
repod / release (push) Has been skipped
2024-08-27 09:42:52 +02:00
4e4730efd5 style: 💄 use NcGuestContent to separate favorites
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m6s
repod / release (push) Has been skipped
2024-08-26 17:17:14 +02:00
9005b519f3 refactor: 💄 refacto NcEmptyContent
All checks were successful
repod / xml (push) Successful in 26s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 1m11s
repod / release (push) Has been skipped
2024-08-26 16:36:13 +02:00
b0132287f0 style: 💄 improve style and detection of gpodder sync 2024-08-26 16:23:58 +02:00
062da25264 Merge branch 'main' into favorites
All checks were successful
repod / xml (push) Successful in 28s
repod / php (push) Successful in 1m8s
repod / nodejs (push) Successful in 1m21s
repod / release (push) Has been skipped
2024-08-26 13:14:56 +00:00
fd0f8f9c7a Merge pull request 'chore(deps): update dependency eslint-plugin-pinia to ^0.4.0' (#135) from renovate/eslint-plugin-pinia-0.x into main
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 1m2s
repod / nodejs (push) Successful in 1m1s
repod / release (push) Has been skipped
Reviewed-on: #135
2024-08-26 06:55:16 +00:00
Renovate Bot
35610ee8da chore(deps): update dependency eslint-plugin-pinia to ^0.4.0
All checks were successful
repod / xml (push) Successful in 1m44s
repod / php (push) Successful in 1m6s
repod / nodejs (push) Successful in 1m41s
repod / release (push) Has been skipped
2024-08-26 06:40:11 +00:00
60aedf3be5 fix: ⬆️ update lock and fix severall typos
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 1m7s
repod / nodejs (push) Successful in 1m16s
repod / release (push) Has been skipped
2024-08-25 09:53:52 +00:00
4bafb3306b Merge branch 'main' into favorites 2024-08-25 09:42:58 +00:00
58af1f6d40 Merge pull request 'chore(deps): update dependency nextcloud/coding-standard to v1.2.3' (#134) from renovate/nextcloud-coding-standard-1.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Has been skipped
Reviewed-on: #134
2024-08-24 07:18:48 +00:00
Renovate Bot
4eb9236ecb chore(deps): update dependency nextcloud/coding-standard to v1.2.3
All checks were successful
repod / xml (push) Successful in 1m38s
repod / php (push) Successful in 1m6s
repod / nodejs (push) Successful in 1m13s
repod / release (push) Has been skipped
2024-08-24 06:52:06 +00:00
eb1196c841 feat: 🚧 wip on showing favorites
Some checks failed
repod / xml (push) Successful in 31s
repod / php (push) Failing after 1m8s
repod / nodejs (push) Failing after 1m20s
repod / release (push) Has been skipped
2024-08-22 17:35:05 +02:00
dd275a1f03 feat: 🧑‍💻 add vue devtools in dev 2024-08-22 17:34:27 +02:00
f205d3243f refactor: ♻️ rewrite data to arrow function 2024-08-22 13:30:52 +02:00
46b30f1ebb feat: ⚗️ implement waiting on home
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m14s
repod / release (push) Has been skipped
2024-08-21 13:11:09 +00:00
9be107edc9 chore: ⬆️ update lock
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 58s
repod / nodejs (push) Successful in 1m11s
repod / release (push) Has been skipped
2024-08-21 09:33:30 +00:00
4e6eee96bf Merge branch 'main' into favorites
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 1m12s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Has been skipped
2024-08-21 09:25:09 +00:00
ddef81f92f Merge pull request 'chore(deps): update dependency vite to v5.4.2' (#133) from renovate/vite-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Has been skipped
Reviewed-on: #133
2024-08-21 07:43:23 +00:00
456592adfc Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29.0.5' (#132) from renovate/nextcloud-ocp-29.x-lockfile into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 13s
repod / php (push) Has been cancelled
Reviewed-on: #132
2024-08-21 07:42:40 +00:00
Renovate Bot
147311013c chore(deps): update dependency vite to v5.4.2
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 1m0s
repod / release (push) Has been skipped
2024-08-21 06:36:56 +00:00
Renovate Bot
99dc3582c4 chore(deps): update dependency nextcloud/ocp to v29.0.5
All checks were successful
repod / xml (push) Successful in 1m55s
repod / php (push) Successful in 1m16s
repod / nodejs (push) Successful in 1m46s
repod / release (push) Has been skipped
2024-08-21 06:36:35 +00:00
2824431330 refactor: 🌐 rework read and add missing translations
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 58s
repod / release (push) Has been skipped
2024-08-17 18:19:45 +02:00
a30678bfd2 feat: add favorites (missing homepage)
All checks were successful
repod / xml (push) Successful in 27s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Successful in 1m12s
repod / release (push) Has been skipped
2024-08-17 17:56:12 +02:00
6bc8d70016 docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m5s
repod / release (push) Successful in 1m35s
2024-08-17 14:40:30 +02:00
c42d455d4b chore: 🔖 bump to 3.0
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 52s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
2024-08-17 14:25:29 +02:00
5b08cf970e Merge pull request 'Migrate to vue3 (fix #126)' (#127) from vue3 into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 14s
repod / php (push) Has been cancelled
Reviewed-on: #127
2024-08-17 12:24:26 +00:00
cf6dd25378 Merge branch 'main' into vue3
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Successful in 59s
repod / release (push) Has been skipped
2024-08-17 14:18:57 +02:00
a2c3b389ba refactor: ♻️ move filename from url on utils
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 14s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Has been cancelled
2024-08-17 14:17:24 +02:00
5917c59610 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v6' (#129) from renovate/nextcloud-dialogs-6.x into main
All checks were successful
repod / xml (push) Successful in 18s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m29s
repod / release (push) Has been skipped
Reviewed-on: #129
2024-08-17 12:03:39 +00:00
Renovate Bot
6cf868dc51 chore(deps): update dependency @nextcloud/dialogs to v6
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 54s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-08-17 06:49:02 +00:00
66b59c52fa revert: css is on js, no need for ignoring
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Successful in 55s
repod / release (push) Has been skipped
2024-08-17 00:13:58 +02:00
36c3bd875b build: 📝 fix build and remove COC for now
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 57s
repod / nodejs (push) Successful in 1m2s
repod / release (push) Has been skipped
2024-08-17 00:10:17 +02:00
5742d1a762 fix: fix episode ending status with watch
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 1m13s
repod / nodejs (push) Successful in 1m18s
repod / release (push) Has been skipped
2024-08-16 23:50:36 +02:00
bd9e3691b9 chore: ⬆️ update pinia
All checks were successful
repod / xml (push) Successful in 24s
repod / php (push) Successful in 1m8s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Has been skipped
2024-08-15 22:04:10 +02:00
19427809ca fix: add download on episode list
All checks were successful
repod / xml (push) Successful in 37s
repod / php (push) Successful in 1m12s
repod / nodejs (push) Successful in 1m57s
repod / release (push) Has been skipped
2024-08-15 21:50:44 +02:00
544c91edee fix: 🐛 fix loop action
All checks were successful
repod / xml (push) Successful in 24s
repod / php (push) Successful in 1m6s
repod / nodejs (push) Successful in 1m8s
repod / release (push) Has been skipped
2024-08-15 21:18:20 +02:00
cf6bd440bf refactor: move autoload to init in the right vue
All checks were successful
repod / xml (push) Successful in 18s
repod / php (push) Successful in 1m9s
repod / nodejs (push) Successful in 1m15s
repod / release (push) Has been skipped
2024-08-15 19:10:19 +02:00
891d4762d0 fix: ✏️ fix typo on setRate
All checks were successful
repod / xml (push) Successful in 23s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 1m3s
repod / release (push) Has been skipped
2024-08-15 18:52:50 +02:00
a2b63241cc build: 🦺 add eslint plugin pinia and update deps 2024-08-15 18:52:34 +02:00
5db93914d2 fix: 🐛 fix filters
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m11s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
2024-08-15 17:07:15 +02:00
68ada2b0e0 fix: 🐛 fix current active episode
All checks were successful
repod / xml (push) Successful in 17s
repod / php (push) Successful in 1m7s
repod / nodejs (push) Successful in 1m15s
repod / release (push) Has been skipped
2024-08-15 16:42:51 +02:00
c91c17ae66 fix: 🐛 fix opacity
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m9s
repod / release (push) Has been skipped
2024-08-15 16:25:11 +02:00
b4160d23d2 chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 1m36s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m34s
repod / release (push) Has been skipped
2024-08-15 15:29:25 +02:00
caf0bb7ec0 fix: 🐛 fix forgotten player pinia trasition
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m2s
repod / release (push) Has been skipped
2024-08-11 21:48:13 +02:00
5f528e6b9b revert: revert extra-actions
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 38s
repod / php (push) Successful in 1m10s
repod / nodejs (push) Has been cancelled
2024-08-11 21:45:10 +02:00
196bc23b1a feat: add download attribute to download button
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 59s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Has been skipped
2024-08-10 22:30:35 +02:00
e78e3b2565 fix: 🐛 fix modal alignment
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 57s
repod / nodejs (push) Successful in 1m1s
repod / release (push) Has been skipped
2024-08-10 22:21:26 +02:00
b67123b578 fix: 🐛 fix modal
All checks were successful
repod / xml (push) Successful in 24s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m6s
repod / release (push) Has been skipped
2024-08-10 22:05:06 +02:00
53543a259f fix: 🐛 fix description bug
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
2024-08-10 20:59:15 +02:00
7efb0327d4 fix: 🐛 fix prototype with async
All checks were successful
repod / xml (push) Successful in 1m47s
repod / php (push) Successful in 1m8s
repod / nodejs (push) Successful in 1m18s
repod / release (push) Has been skipped
2024-08-09 22:51:32 +02:00
81af0c219f fix: 🐛 fix crash NcTextField
Some checks failed
repod / xml (push) Successful in 1m38s
repod / php (push) Successful in 1m7s
repod / nodejs (push) Failing after 1m6s
repod / release (push) Has been skipped
2024-08-09 22:21:07 +02:00
1feb0291bb fix: 🎉 first working basic functionnalities
All checks were successful
repod / xml (push) Successful in 33s
repod / php (push) Successful in 1m8s
repod / nodejs (push) Successful in 1m23s
repod / release (push) Has been skipped
2024-08-09 16:50:24 +02:00
989d5d38e1 perf: improve build by removing sourcemaps
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m9s
repod / release (push) Has been skipped
2024-08-09 10:10:58 +00:00
b4ccd98f77 fix: 📦 make it build !
Some checks failed
repod / xml (push) Successful in 13s
repod / php (push) Successful in 58s
repod / nodejs (push) Failing after 48s
repod / release (push) Has been skipped
2024-08-09 09:52:56 +00:00
75da02e05b refactor: 🏗️ rework to use pinia
Some checks failed
repod / xml (push) Successful in 1m38s
repod / php (push) Successful in 1m2s
repod / nodejs (push) Failing after 57s
repod / release (push) Has been skipped
2024-08-09 09:38:00 +00:00
1530e8b294 style: 🎨 remove useless spaces
Some checks failed
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m2s
repod / nodejs (push) Failing after 59s
repod / release (push) Has been skipped
2024-08-09 01:11:44 +02:00
7e359bdf29 fix: 📈 forgot time loop
Some checks failed
repod / xml (push) Successful in 12s
repod / php (push) Successful in 58s
repod / nodejs (push) Failing after 45s
repod / release (push) Has been skipped
2024-08-09 01:02:39 +02:00
082161e177 refactor: ♻️ rewrite player store to pinia
Some checks failed
repod / xml (push) Successful in 28s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Failing after 58s
repod / release (push) Has been skipped
2024-08-09 00:58:25 +02:00
04ed6b101a build: 💄 use toastify instead of dialogs
Some checks failed
repod / xml (push) Successful in 33s
repod / php (push) Successful in 1m7s
repod / nodejs (push) Failing after 1m4s
repod / release (push) Has been skipped
2024-08-08 22:39:43 +02:00
6456ccc3d0 refactor: 🧱 first commit to enable vue3 support
Some checks failed
repod / xml (push) Successful in 27s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Failing after 2m29s
repod / release (push) Has been skipped
2024-08-08 15:20:54 +00:00
e190a9eeb6 refactor: ♻️ use linkify and dompurify to show good descriptions
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Successful in 1m25s
repod / release (push) Has been skipped
2024-08-08 11:37:48 +02:00
e63ff6ef04 fix: 🔧 use new ENV syntax for dockerfile
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m33s
repod / release (push) Has been skipped
2024-08-08 09:56:42 +02:00
a50947ffaf fix: 💄 use NcActionButton instead of NcButton
All checks were successful
repod / xml (push) Successful in 15s
repod / php (push) Successful in 1m1s
repod / nodejs (push) Successful in 1m41s
repod / release (push) Has been skipped
2024-08-07 22:17:51 +02:00
c97e927a15 style: 💄 use the new extra-actions on NcListItem
All checks were successful
repod / xml (push) Successful in 33s
repod / php (push) Successful in 1m13s
repod / nodejs (push) Successful in 1m36s
repod / release (push) Has been skipped
2024-08-07 22:05:50 +02:00
a6a0f0d4f8 chore: 📌 update lock
All checks were successful
repod / xml (push) Successful in 1m20s
repod / php (push) Successful in 1m9s
repod / nodejs (push) Successful in 1m44s
repod / release (push) Has been skipped
2024-08-07 20:24:17 +02:00
358c1d06c8 chore: 📌 update to nextcloud 30
All checks were successful
repod / xml (push) Successful in 1m54s
repod / php (push) Successful in 1m17s
repod / nodejs (push) Successful in 1m49s
repod / release (push) Has been skipped
2024-08-07 10:15:10 +02:00
1e452263a7 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.16.0' (#125) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 58s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Has been skipped
Reviewed-on: #125
2024-08-06 06:47:13 +00:00
Renovate Bot
bfa9cde661 chore(deps): update dependency @nextcloud/vue to v8.16.0
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 1m2s
repod / nodejs (push) Successful in 1m29s
repod / release (push) Has been skipped
2024-08-06 06:41:14 +00:00
0238107be2 chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 1m30s
repod / release (push) Has been skipped
2024-08-05 09:51:30 +02:00
f94b529d6d fix: 💄 take itunes image first
All checks were successful
repod / xml (push) Successful in 1m36s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m28s
repod / release (push) Has been skipped
2024-08-05 09:38:37 +02:00
1302c82fdb Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.15.1' (#124) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 1m2s
repod / nodejs (push) Successful in 1m43s
repod / release (push) Has been skipped
Reviewed-on: #124
2024-07-30 07:26:04 +00:00
Renovate Bot
08b327e408 chore(deps): update dependency @nextcloud/vue to v8.15.1
All checks were successful
repod / xml (push) Successful in 1m34s
repod / php (push) Successful in 1m6s
repod / nodejs (push) Successful in 2m5s
repod / release (push) Has been skipped
2024-07-30 06:40:01 +00:00
2104e2e6d8 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.15.0' (#123) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 1m15s
repod / nodejs (push) Successful in 1m45s
repod / release (push) Has been skipped
Reviewed-on: #123
2024-07-23 09:37:37 +00:00
Renovate Bot
c73e53d04e chore(deps): update dependency @nextcloud/vue to v8.15.0
All checks were successful
repod / xml (push) Successful in 1m44s
repod / php (push) Successful in 1m36s
repod / nodejs (push) Successful in 2m3s
repod / release (push) Has been skipped
2024-07-23 06:42:44 +00:00
cee28f51a6 Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29.0.4' (#122) from renovate/nextcloud-ocp-29.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 17s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m32s
repod / release (push) Has been skipped
Reviewed-on: #122
2024-07-19 12:11:43 +00:00
Renovate Bot
1665e1e193 chore(deps): update dependency nextcloud/ocp to v29.0.4
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 1m29s
repod / release (push) Has been skipped
2024-07-19 06:30:15 +00:00
1d73de5925 Merge pull request 'chore(deps): update dependency eslint-plugin-prettier to v5.2.1' (#121) from renovate/eslint-plugin-prettier-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 24s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 1m28s
repod / release (push) Has been skipped
Reviewed-on: #121
2024-07-18 14:14:50 +00:00
Renovate Bot
a753d1d634 chore(deps): update dependency eslint-plugin-prettier to v5.2.1
All checks were successful
repod / xml (push) Successful in 1m53s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 2m4s
repod / release (push) Has been skipped
2024-07-18 06:50:42 +00:00
a91648848b fix: 🌐 fix translation
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 1m26s
repod / release (push) Has been skipped
2024-07-15 16:41:31 +02:00
a538b38160 fix: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 47s
repod / nodejs (push) Successful in 1m14s
repod / release (push) Has been skipped
2024-07-15 16:19:55 +02:00
8479cc1553 feat: 🌐 add german translation #120
All checks were successful
repod / xml (push) Successful in 1m7s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m58s
repod / release (push) Has been skipped
2024-07-15 16:14:02 +02:00
69a2c20338 docs: 📈 add more comparaisons between nextcloud apps
All checks were successful
repod / xml (push) Successful in 30s
repod / php (push) Successful in 1m3s
repod / nodejs (push) Successful in 1m29s
repod / release (push) Has been skipped
2024-07-09 15:40:46 +02:00
55ee2634df fix: 🗑️ DELETE should show ended
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 1m22s
repod / release (push) Has been skipped
2024-07-09 14:58:50 +02:00
f3090c5490 chore: ⬆️ update deps
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 3m29s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Has been cancelled
2024-07-09 14:53:28 +02:00
d57189490e Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.14.0' (#118) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 1m17s
repod / release (push) Has been skipped
Reviewed-on: #118
2024-07-05 08:05:18 +00:00
d5c34fa719 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.3.5' (#117) from renovate/nextcloud-dialogs-5.x-lockfile into main
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 26s
repod / php (push) Successful in 55s
repod / nodejs (push) Has been cancelled
Reviewed-on: #117
2024-07-05 08:02:53 +00:00
Renovate Bot
57b581fa54 chore(deps): update dependency @nextcloud/vue to v8.14.0
All checks were successful
repod / xml (push) Successful in 29s
repod / php (push) Successful in 1m11s
repod / nodejs (push) Successful in 2m8s
repod / release (push) Has been skipped
2024-07-05 06:43:08 +00:00
Renovate Bot
74fa105d5a chore(deps): update dependency @nextcloud/dialogs to v5.3.5
All checks were successful
repod / xml (push) Successful in 1m34s
repod / php (push) Successful in 56s
repod / nodejs (push) Successful in 1m55s
repod / release (push) Has been skipped
2024-07-04 06:34:16 +00:00
d81e6b505c Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.13.0' (#115) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 23s
repod / php (push) Successful in 1m0s
repod / nodejs (push) Successful in 1m43s
repod / release (push) Has been skipped
Reviewed-on: #115
2024-06-27 07:30:21 +00:00
Renovate Bot
ef66427afc chore(deps): update dependency @nextcloud/vue to v8.13.0
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 1m2s
repod / nodejs (push) Successful in 1m44s
repod / release (push) Has been skipped
2024-06-27 06:37:35 +00:00
f9b0c8fa39 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.3.4' (#113) from renovate/nextcloud-dialogs-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m40s
repod / release (push) Has been skipped
Reviewed-on: #113
2024-06-26 06:42:49 +00:00
b8466aebf1 Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29.0.3' (#114) from renovate/nextcloud-ocp-29.x-lockfile into main
Some checks are pending
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Waiting to run
repod / php (push) Waiting to run
Reviewed-on: #114
2024-06-26 06:42:34 +00:00
Renovate Bot
1aa6dad3ba chore(deps): update dependency nextcloud/ocp to v29.0.3
All checks were successful
repod / xml (push) Successful in 20s
repod / php (push) Successful in 1m8s
repod / nodejs (push) Successful in 1m36s
repod / release (push) Has been skipped
2024-06-26 06:37:29 +00:00
Renovate Bot
0c0946559a chore(deps): update dependency @nextcloud/dialogs to v5.3.4
All checks were successful
repod / xml (push) Successful in 1m31s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 2m7s
repod / release (push) Has been skipped
2024-06-26 06:37:02 +00:00
fcf389f925 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.3.3' (#112) from renovate/nextcloud-dialogs-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 34s
repod / php (push) Successful in 1m5s
repod / nodejs (push) Successful in 2m22s
repod / release (push) Has been skipped
Reviewed-on: #112
2024-06-23 14:02:31 +00:00
Renovate Bot
6c59851cb9 chore(deps): update dependency @nextcloud/dialogs to v5.3.3
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m29s
repod / release (push) Has been skipped
2024-06-22 06:39:27 +00:00
1d15ade42e Merge pull request 'chore(deps): update dependency vimeo/psalm to v5.25.0' (#111) from renovate/vimeo-psalm-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 43s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Has been skipped
Reviewed-on: #111
2024-06-20 07:30:16 +00:00
Renovate Bot
c85a347032 chore(deps): update dependency vimeo/psalm to v5.25.0
All checks were successful
repod / xml (push) Successful in 1m18s
repod / php (push) Successful in 45s
repod / nodejs (push) Successful in 1m51s
repod / release (push) Has been skipped
2024-06-20 06:55:41 +00:00
ec605fde0a docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 44s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Successful in 1m46s
2024-06-14 20:06:45 +02:00
46b7d80652 chore: 📌 update version
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 42s
repod / nodejs (push) Successful in 1m25s
repod / release (push) Has been skipped
2024-06-14 19:53:35 +02:00
541c669dd5 chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 39s
repod / nodejs (push) Successful in 1m19s
repod / release (push) Has been skipped
2024-06-14 19:41:51 +02:00
79c6fbcc16 chore: 💚 fix psalm 2024-06-14 19:40:32 +02:00
42bfdb530b fix: 🐛 fix crash if no cache is configured
Some checks failed
repod / xml (push) Successful in 1m10s
repod / php (push) Failing after 44s
repod / nodejs (push) Successful in 1m25s
repod / release (push) Has been skipped
2024-06-14 19:32:26 +02:00
bc8db22fce Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.3.2' (#109) from renovate/nextcloud-dialogs-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 43s
repod / nodejs (push) Successful in 1m17s
repod / release (push) Has been skipped
Reviewed-on: #109
2024-06-11 14:04:36 +00:00
Renovate Bot
a4a00d4aea chore(deps): update dependency @nextcloud/dialogs to v5.3.2
All checks were successful
repod / xml (push) Successful in 1m29s
repod / php (push) Successful in 45s
repod / nodejs (push) Successful in 2m0s
repod / release (push) Has been skipped
2024-06-11 06:38:37 +00:00
8d13fac7aa Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29.0.2' (#108) from renovate/nextcloud-ocp-29.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 49s
repod / nodejs (push) Successful in 1m17s
repod / release (push) Has been skipped
Reviewed-on: #108
2024-06-07 07:04:32 +00:00
Renovate Bot
83e519d4c5 chore(deps): update dependency nextcloud/ocp to v29.0.2
All checks were successful
repod / xml (push) Successful in 1m28s
repod / php (push) Successful in 1m22s
repod / nodejs (push) Successful in 1m57s
repod / release (push) Has been skipped
2024-06-07 06:44:13 +00:00
7ba27d7c9c docs: 📝 wrong label for current changelog
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 38s
repod / nodejs (push) Successful in 1m16s
repod / release (push) Successful in 1m43s
2024-05-31 13:59:28 +02:00
5d75b51c63 docs: 📝 update changelog
Some checks failed
repod / xml (push) Successful in 9s
repod / php (push) Successful in 39s
repod / nodejs (push) Has been cancelled
repod / release (push) Has been cancelled
2024-05-31 13:58:36 +02:00
a60341f352 chore: 🔖 update version and deps
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 40s
repod / nodejs (push) Successful in 1m25s
repod / release (push) Has been skipped
2024-05-31 13:53:47 +02:00
c27f358f71 fix: missing aria-lebel on new subscribe on search button 2024-05-31 13:47:11 +02:00
691ee72ac5 fix: 🐛 do not show add if already subscribed
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 42s
repod / nodejs (push) Successful in 1m18s
repod / release (push) Has been skipped
2024-05-30 07:31:47 +00:00
7a4bbd8e47 fix: 🗑️ do not include screens on release
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 1m14s
repod / release (push) Successful in 1m29s
2024-05-30 00:24:33 +02:00
a53bab8be5 chore: 🔖 update version and changelog
All checks were successful
repod / xml (push) Successful in 8s
repod / php (push) Successful in 44s
repod / nodejs (push) Successful in 1m18s
repod / release (push) Has been skipped
2024-05-30 00:21:45 +02:00
93b3cdbdc0 perf: disable sourcemap when building in prod
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 39s
repod / nodejs (push) Successful in 1m19s
repod / release (push) Has been skipped
2024-05-30 00:18:50 +02:00
46eb48e81e docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 8s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 1m14s
repod / release (push) Successful in 1m40s
2024-05-29 23:55:49 +02:00
8ee01ed80f revert: back to main to be consistent
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 39s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-05-29 23:47:20 +02:00
010550fa60 refactor: ♻️ app-template refacto part 2
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 39s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-05-29 17:55:14 +02:00
de1b7184d2 refactor: ♻️ update project from app-template
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 41s
repod / nodejs (push) Successful in 1m22s
repod / release (push) Has been skipped
2024-05-29 17:11:53 +02:00
e7d74d5378 Merge pull request 'feat: ability to subscribe to podcast from search list (#105)' (#106) from search-add-subs into main
All checks were successful
repod / xml (push) Successful in 8s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m13s
repod / release (push) Has been skipped
Reviewed-on: #106
2024-05-29 12:18:36 +00:00
a2c96f746b docs: 📝 fix template and add changelog
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-05-29 14:15:35 +02:00
f5a8e09d52 feat: ability to subscribe to podcast from search list (#105)
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-05-29 11:28:52 +00:00
228fb82d5d chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 1m4s
repod / php (push) Successful in 47s
repod / nodejs (push) Successful in 1m42s
repod / release (push) Has been skipped
2024-05-29 07:28:43 +00:00
51c21bf4d6 Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29.0.1' (#104) from renovate/nextcloud-ocp-29.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 8m28s
repod / php (push) Successful in 13m48s
repod / nodejs (push) Successful in 11m19s
repod / release (push) Has been skipped
Reviewed-on: #104
2024-05-24 08:34:38 +00:00
Renovate Bot
57c455e77a chore(deps): update dependency nextcloud/ocp to v29.0.1
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 28s
repod / nodejs (push) Successful in 1m15s
repod / release (push) Has been skipped
2024-05-24 06:30:35 +00:00
2364e83fb6 chore: 📌 update version and deps
All checks were successful
repod / xml (push) Successful in 1m23s
repod / php (push) Successful in 38s
repod / nodejs (push) Successful in 1m28s
repod / release (push) Has been skipped
2024-05-21 10:33:47 +00:00
4478c07f0c Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.12.0' (#103) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 31s
repod / nodejs (push) Successful in 1m16s
repod / release (push) Has been skipped
Reviewed-on: #103
2024-05-20 15:51:05 +00:00
Renovate Bot
fe2df167e0 chore(deps): update dependency @nextcloud/vue to v8.12.0
All checks were successful
repod / xml (push) Successful in 1m6s
repod / php (push) Successful in 34s
repod / nodejs (push) Successful in 1m49s
repod / release (push) Has been skipped
2024-05-20 06:49:00 +00:00
eb427681fb fix: 🔖 fix version
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 34s
repod / nodejs (push) Successful in 1m9s
repod / release (push) Successful in 1m19s
2024-05-18 22:12:57 +02:00
473d181807 docs: 📝 fix doc
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 9s
repod / php (push) Successful in 26s
repod / nodejs (push) Has been cancelled
2024-05-18 22:11:58 +02:00
176760cf3b docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 24s
repod / nodejs (push) Successful in 1m7s
repod / release (push) Successful in 1m19s
2024-05-18 22:04:33 +02:00
5c117de552 fix: 🚑 rollback hiding incompatible eps
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 20s
repod / php (push) Successful in 31s
repod / nodejs (push) Has been cancelled
2024-05-18 22:02:34 +02:00
a747286341 docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 26s
repod / nodejs (push) Successful in 1m4s
repod / release (push) Successful in 1m25s
2024-05-18 19:14:14 +02:00
c46f4f1c61 docs: 📝 fix comparaisons
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m13s
repod / release (push) Has been skipped
2024-05-18 18:57:21 +02:00
d64746be0b chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 29s
repod / nodejs (push) Successful in 1m15s
repod / release (push) Has been skipped
2024-05-18 12:46:11 +02:00
aa3c782005 Merge pull request 'chore(deps): update dependency @nextcloud/babel-config to v1.2.0' (#102) from renovate/nextcloud-babel-config-1.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 6s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m7s
repod / release (push) Has been skipped
Reviewed-on: #102
2024-05-17 07:04:58 +00:00
41c577f5cb Merge pull request 'chore(deps): update dependency @nextcloud/eslint-config to v8.4.1' (#101) from renovate/nextcloud-eslint-config-8.x-lockfile into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 8s
repod / php (push) Has been cancelled
Reviewed-on: #101
2024-05-17 07:04:41 +00:00
Renovate Bot
176874f979 chore(deps): update dependency @nextcloud/babel-config to v1.2.0
All checks were successful
repod / xml (push) Successful in 6s
repod / php (push) Successful in 29s
repod / nodejs (push) Successful in 1m3s
repod / release (push) Has been skipped
2024-05-17 06:32:09 +00:00
Renovate Bot
c6ab2ff692 chore(deps): update dependency @nextcloud/eslint-config to v8.4.1
All checks were successful
repod / xml (push) Successful in 1m17s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m38s
repod / release (push) Has been skipped
2024-05-17 06:32:00 +00:00
0825598c36 Merge pull request 'chore(deps): update dependency @nextcloud/eslint-config to v8.4.0' (#100) from renovate/nextcloud-eslint-config-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 8s
repod / php (push) Successful in 31s
repod / nodejs (push) Successful in 1m17s
repod / release (push) Has been skipped
Reviewed-on: #100
2024-05-15 21:29:05 +00:00
2c078d32ae docs: 📝 add comparison with other podcasts app
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-05-15 23:26:30 +02:00
Renovate Bot
402f167206 chore(deps): update dependency @nextcloud/eslint-config to v8.4.0
All checks were successful
repod / xml (push) Successful in 1m10s
repod / php (push) Successful in 31s
repod / nodejs (push) Successful in 1m37s
repod / release (push) Has been skipped
2024-05-15 19:36:07 +00:00
ef064f0eb3 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.11.3' (#98) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 45s
repod / nodejs (push) Successful in 1m28s
repod / release (push) Has been skipped
Reviewed-on: #98
2024-05-08 08:39:36 +00:00
Renovate Bot
bd905cae1c chore(deps): update dependency @nextcloud/vue to v8.11.3
All checks were successful
repod / xml (push) Successful in 1m29s
repod / php (push) Successful in 44s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
2024-05-08 06:28:52 +00:00
d0142b01dd Merge pull request 'chore(deps): update dependency @nextcloud/stylelint-config to v3.0.1' (#96) from renovate/nextcloud-stylelint-config-3.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 40s
repod / nodejs (push) Successful in 1m22s
repod / release (push) Has been skipped
Reviewed-on: #96
2024-05-07 18:29:14 +00:00
fc8c8f23c2 Merge pull request 'chore(deps): update dependency @nextcloud/l10n to v3.1.0' (#97) from renovate/nextcloud-l10n-3.x-lockfile into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 12s
repod / php (push) Has been cancelled
Reviewed-on: #97
2024-05-07 18:28:59 +00:00
Renovate Bot
cc149c2b4f chore(deps): update dependency @nextcloud/l10n to v3.1.0
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 1m10s
repod / release (push) Has been skipped
2024-05-07 06:49:09 +00:00
Renovate Bot
3af343910e chore(deps): update dependency @nextcloud/stylelint-config to v3.0.1
All checks were successful
repod / xml (push) Successful in 1m17s
repod / php (push) Successful in 42s
repod / nodejs (push) Successful in 1m19s
repod / release (push) Has been skipped
2024-05-07 06:48:59 +00:00
5d20fb5dd3 fix: 🐛 hide episode behing http on https env
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 43s
repod / nodejs (push) Successful in 1m26s
repod / release (push) Has been skipped
2024-05-06 12:56:26 +00:00
3da2da7e98 style: ⬆️ update deps and prettier
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 46s
repod / nodejs (push) Successful in 1m23s
repod / release (push) Has been skipped
2024-05-06 12:47:47 +00:00
c26599cdf7 Merge pull request 'chore(deps): update dependency @nextcloud/l10n to v3.0.1' (#94) from renovate/nextcloud-l10n-3.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 1m28s
repod / php (push) Successful in 41s
repod / nodejs (push) Successful in 1m42s
repod / release (push) Has been skipped
Reviewed-on: #94
2024-05-05 11:09:09 +00:00
Renovate Bot
dae875140d chore(deps): update dependency @nextcloud/l10n to v3.0.1
All checks were successful
repod / xml (push) Successful in 6m6s
repod / php (push) Successful in 4m47s
repod / nodejs (push) Successful in 5m37s
repod / release (push) Has been skipped
2024-05-05 07:07:14 +00:00
601f77d6a3 chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 44s
repod / nodejs (push) Successful in 1m28s
repod / release (push) Has been skipped
2024-05-03 18:39:07 +02:00
25bddc5b31 Merge pull request 'chore(deps): update dependency @nextcloud/l10n to v3' (#93) from renovate/nextcloud-l10n-3.x into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 43s
repod / nodejs (push) Successful in 1m30s
repod / release (push) Has been skipped
Reviewed-on: #93
2024-05-03 16:32:03 +00:00
Renovate Bot
3bd282a0c0 chore(deps): update dependency @nextcloud/l10n to v3
All checks were successful
repod / xml (push) Successful in 25s
repod / php (push) Successful in 58s
repod / nodejs (push) Successful in 1m26s
repod / release (push) Has been skipped
2024-05-03 06:44:11 +00:00
bac5a5114f Merge pull request 'chore(deps): update dependency psalm/phar to v5.24.0' (#92) from renovate/psalm-phar-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 40s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Has been skipped
Reviewed-on: #92
2024-05-02 07:09:59 +00:00
Renovate Bot
0e16892874 chore(deps): update dependency psalm/phar to v5.24.0
All checks were successful
repod / xml (push) Successful in 1m37s
repod / php (push) Successful in 46s
repod / nodejs (push) Successful in 2m1s
repod / release (push) Has been skipped
2024-05-02 06:32:40 +00:00
9bf5b9c653 Merge pull request 'chore(deps): update dependency @nextcloud/axios to v2.5.0' (#91) from renovate/nextcloud-axios-2.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 48s
repod / nodejs (push) Successful in 1m33s
repod / release (push) Has been skipped
Reviewed-on: #91
2024-05-01 18:19:11 +00:00
Renovate Bot
2b7f43fb5c chore(deps): update dependency @nextcloud/axios to v2.5.0
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 43s
repod / nodejs (push) Successful in 1m25s
repod / release (push) Has been skipped
2024-05-01 06:43:07 +00:00
b0a0414fd4 refactor: 🎨 add prettier and update deps
All checks were successful
repod / xml (push) Successful in 1m25s
repod / php (push) Successful in 45s
repod / nodejs (push) Successful in 1m30s
repod / release (push) Has been skipped
2024-04-30 00:48:47 +02:00
cbc9654af8 Merge pull request 'chore(deps): update dependency nextcloud/ocp to v29' (#89) from renovate/nextcloud-ocp-29.x into main
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 1m35s
repod / release (push) Has been skipped
Reviewed-on: #89
2024-04-25 19:04:31 +00:00
e6621fee04 Merge pull request 'chore(deps): update nextcloud docker tag to v29' (#90) from renovate/nextcloud-29.x into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 16s
repod / php (push) Has been cancelled
Reviewed-on: #90
2024-04-25 19:03:57 +00:00
Renovate Bot
e55dc689f6 chore(deps): update nextcloud docker tag to v29
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 1m12s
repod / nodejs (push) Successful in 1m23s
repod / release (push) Has been skipped
2024-04-25 06:36:22 +00:00
Renovate Bot
dbd6816504 chore(deps): update dependency nextcloud/ocp to v29
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 43s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Has been skipped
2024-04-25 06:36:18 +00:00
7b5330e146 Merge pull request 'chore(deps): update dependency @nextcloud/browserslist-config to v3.0.1' (#88) from renovate/nextcloud-browserslist-config-3.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 1m21s
repod / php (push) Successful in 1m28s
repod / nodejs (push) Successful in 1m20s
repod / release (push) Has been skipped
Reviewed-on: #88
2024-04-24 23:28:34 +00:00
Renovate Bot
7492baad4e chore(deps): update dependency @nextcloud/browserslist-config to v3.0.1
All checks were successful
repod / xml (push) Successful in 23s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m22s
repod / release (push) Has been skipped
2024-04-24 06:57:21 +00:00
af25bc191c Merge pull request 'chore(deps): update dependency @nextcloud/router to v3.0.1' (#87) from renovate/nextcloud-router-3.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 1m28s
repod / release (push) Has been skipped
Reviewed-on: #87
2024-04-23 12:37:42 +00:00
Renovate Bot
b1df2759d3 chore(deps): update dependency @nextcloud/router to v3.0.1
All checks were successful
repod / xml (push) Successful in 1m30s
repod / php (push) Successful in 41s
repod / nodejs (push) Successful in 1m54s
repod / release (push) Has been skipped
2024-04-23 06:53:26 +00:00
e25b384108 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.3.1' (#86) from renovate/nextcloud-dialogs-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m26s
repod / release (push) Has been skipped
Reviewed-on: #86
2024-04-18 07:18:24 +00:00
Renovate Bot
b11999dab8 chore(deps): update dependency @nextcloud/dialogs to v5.3.1
All checks were successful
repod / xml (push) Successful in 1m24s
repod / php (push) Successful in 33s
repod / nodejs (push) Successful in 1m56s
repod / release (push) Has been skipped
2024-04-18 06:47:24 +00:00
b55fe53304 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.11.2' (#83) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 36s
repod / nodejs (push) Successful in 1m27s
repod / release (push) Has been skipped
Reviewed-on: #83
2024-04-11 07:00:16 +00:00
8a421ebc8f Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.3.0' (#84) from renovate/nextcloud-dialogs-5.x-lockfile into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 11s
repod / php (push) Has been cancelled
Reviewed-on: #84
2024-04-11 06:59:49 +00:00
Renovate Bot
742ca212ef chore(deps): update dependency @nextcloud/dialogs to v5.3.0
All checks were successful
repod / xml (push) Successful in 36s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 2m9s
repod / release (push) Has been skipped
2024-04-11 06:45:11 +00:00
Renovate Bot
e96c494421 chore(deps): update dependency @nextcloud/vue to v8.11.2
Some checks failed
repod / php (push) Successful in 55s
repod / nodejs (push) Successful in 2m28s
repod / release (push) Has been skipped
repod / xml (push) Failing after 14m1s
2024-04-11 06:44:51 +00:00
e7e03ca42d Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.2.1' (#82) from renovate/nextcloud-dialogs-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 2m6s
repod / release (push) Has been skipped
Reviewed-on: #82
2024-04-10 11:37:04 +00:00
Renovate Bot
4a3da45d03 chore(deps): update dependency @nextcloud/dialogs to v5.2.1
All checks were successful
repod / xml (push) Successful in 1m42s
repod / php (push) Successful in 50s
repod / nodejs (push) Successful in 2m27s
repod / release (push) Has been skipped
2024-04-10 06:40:48 +00:00
ee22ac2726 Merge pull request 'chore(deps): update dependency nextcloud/ocp to v28.0.4' (#79) from renovate/nextcloud-ocp-28.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 36s
repod / nodejs (push) Successful in 1m42s
repod / release (push) Has been skipped
Reviewed-on: #79
2024-03-29 08:13:30 +00:00
Renovate Bot
f389c225c4 chore(deps): update dependency nextcloud/ocp to v28.0.4
All checks were successful
repod / xml (push) Successful in 1m46s
repod / php (push) Successful in 40s
repod / nodejs (push) Successful in 2m38s
repod / release (push) Has been skipped
2024-03-29 06:35:25 +00:00
5a6427f8a1 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.11.1' (#78) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m26s
repod / release (push) Has been skipped
Reviewed-on: #78
2024-03-22 08:18:13 +00:00
Renovate Bot
8058f328bf chore(deps): update dependency @nextcloud/vue to v8.11.1
All checks were successful
repod / xml (push) Successful in 1m49s
repod / php (push) Successful in 36s
repod / nodejs (push) Successful in 1m58s
repod / release (push) Has been skipped
2024-03-22 06:42:44 +00:00
e5beb6ef73 chore: 🔖 update version
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m52s
repod / release (push) Has been skipped
2024-03-16 19:26:05 +01:00
9178670194 docs: 📝 forgot to credit reported bug (sorry)
All checks were successful
repod / xml (push) Successful in 10s
repod / php (push) Successful in 38s
repod / nodejs (push) Successful in 1m50s
repod / release (push) Has been skipped
2024-03-16 19:19:44 +01:00
e96291d9a2 docs: 📝 update changelog
All checks were successful
repod / xml (push) Successful in 7s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m52s
repod / release (push) Successful in 2m40s
2024-03-16 19:02:42 +01:00
867afbe4df feat: 🔍 add CTA rating to settings
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 31s
repod / nodejs (push) Successful in 1m36s
repod / release (push) Has been skipped
2024-03-16 18:35:31 +01:00
bebd6bf5ed fix: 🔒 app should not require admin access (closes #76)
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 34s
repod / nodejs (push) Successful in 1m55s
repod / release (push) Has been skipped
2024-03-16 17:42:28 +01:00
522c929a82 chore: 🔖 update to nc 29
All checks were successful
repod / xml (push) Successful in 7s
repod / php (push) Successful in 33s
repod / nodejs (push) Successful in 1m38s
repod / release (push) Has been skipped
2024-03-16 17:23:14 +01:00
a2e160afcb chore: ⬆️ update deps
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 13s
repod / php (push) Successful in 31s
repod / nodejs (push) Has been cancelled
2024-03-16 17:22:21 +01:00
8d7c44601c Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.11.0' (#77) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 1m50s
repod / release (push) Has been skipped
Reviewed-on: #77
2024-03-16 16:15:18 +00:00
Renovate Bot
a40b10171a chore(deps): update dependency @nextcloud/vue to v8.11.0
All checks were successful
repod / xml (push) Successful in 1m27s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 2m2s
repod / release (push) Has been skipped
2024-03-16 06:57:06 +00:00
00f33e64b8 chore: ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 1m59s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 2m15s
repod / release (push) Has been skipped
2024-03-12 08:57:20 +00:00
90f75b10e6 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.10.0' (#75) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 13s
repod / php (push) Successful in 34s
repod / nodejs (push) Successful in 2m17s
repod / release (push) Has been skipped
Reviewed-on: #75
2024-03-12 08:06:15 +00:00
d3c682988c Merge pull request 'chore(deps): update dependency psalm/phar to v5.23.1' (#74) from renovate/psalm-phar-5.x-lockfile into main
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 17s
repod / php (push) Successful in 40s
repod / nodejs (push) Has been cancelled
Reviewed-on: #74
2024-03-12 08:04:46 +00:00
Renovate Bot
48e205d479 chore(deps): update dependency @nextcloud/vue to v8.10.0
All checks were successful
repod / xml (push) Successful in 27s
repod / php (push) Successful in 31s
repod / nodejs (push) Successful in 1m53s
repod / release (push) Has been skipped
2024-03-12 06:41:22 +00:00
Renovate Bot
78a682acf4 chore(deps): update dependency psalm/phar to v5.23.1
All checks were successful
repod / xml (push) Successful in 1m54s
repod / php (push) Successful in 36s
repod / nodejs (push) Successful in 2m5s
repod / release (push) Has been skipped
2024-03-12 06:40:53 +00:00
0cb93cdb72 Merge pull request 'chore(deps): update dependency psalm/phar to v5.23.0' (#73) from renovate/psalm-phar-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 24s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 2m12s
repod / release (push) Has been skipped
Reviewed-on: #73
2024-03-10 10:07:50 +00:00
Renovate Bot
d1b83c8910 chore(deps): update dependency psalm/phar to v5.23.0
All checks were successful
repod / xml (push) Successful in 1m40s
repod / php (push) Successful in 41s
repod / nodejs (push) Successful in 2m13s
repod / release (push) Has been skipped
2024-03-10 06:45:34 +00:00
4e0253b383 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.2.0' (#71) from renovate/nextcloud-dialogs-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 8s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m44s
repod / release (push) Has been skipped
Reviewed-on: #71
2024-03-07 14:45:30 +00:00
10af8f87fb Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.9.1' (#72) from renovate/nextcloud-vue-8.x-lockfile into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 13s
repod / php (push) Has been cancelled
Reviewed-on: #72
2024-03-07 14:45:10 +00:00
Renovate Bot
ce7be518dc chore(deps): update dependency @nextcloud/vue to v8.9.1
All checks were successful
repod / xml (push) Successful in 28s
repod / php (push) Successful in 34s
repod / nodejs (push) Successful in 2m26s
repod / release (push) Has been skipped
2024-03-07 06:56:57 +00:00
Renovate Bot
1083b723b3 chore(deps): update dependency @nextcloud/dialogs to v5.2.0
All checks were successful
repod / xml (push) Successful in 1m53s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 2m6s
repod / release (push) Has been skipped
2024-03-07 06:56:49 +00:00
227b3eb938 fix(cookie): 🔒 fix warning message on firefox console, make cookie strict
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 29s
repod / nodejs (push) Successful in 1m55s
repod / release (push) Has been skipped
2024-03-05 12:08:56 +01:00
3ec978be7e chore: 🌐 update pot (no change on po)
All checks were successful
repod / xml (push) Successful in 49s
repod / php (push) Successful in 30s
repod / nodejs (push) Successful in 1m41s
repod / release (push) Has been skipped
2024-03-05 11:55:32 +01:00
9e3043f0c8 docs: 📝 forgot link to issue
All checks were successful
repod / xml (push) Successful in 54s
repod / php (push) Successful in 28s
repod / nodejs (push) Successful in 1m43s
repod / release (push) Successful in 2m53s
2024-03-05 11:52:12 +01:00
6b30b2b507 docs: 📝 update changelog
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 10s
repod / php (push) Successful in 29s
repod / nodejs (push) Has been cancelled
2024-03-05 11:50:14 +01:00
988069b6a6 fix: 🐛 little last fixes before release
All checks were successful
repod / xml (push) Successful in 9s
repod / php (push) Successful in 32s
repod / nodejs (push) Successful in 1m40s
repod / release (push) Has been skipped
2024-03-05 11:39:16 +01:00
ffe1335ce0 chore(l10n): 🌐 translate new strings to fr
All checks were successful
repod / xml (push) Successful in 11s
repod / php (push) Successful in 29s
repod / nodejs (push) Successful in 1m35s
repod / release (push) Has been skipped
2024-03-05 11:10:12 +01:00
3dd7bc372b fix: 🔖 forgot nextcloud xml
Some checks are pending
repod / release (push) Waiting to run
repod / xml (push) Successful in 7s
repod / php (push) Successful in 27s
repod / nodejs (push) Successful in 1m49s
2024-03-05 10:58:15 +01:00
a6d2d36f8d fix: 📌 typo in composer
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 33s
repod / php (push) Has been cancelled
2024-03-05 10:56:40 +01:00
185a8c8a7e chore: 🔖 update version number
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 12s
repod / php (push) Successful in 34s
repod / nodejs (push) Has been cancelled
2024-03-05 10:55:27 +01:00
6c406b5361 feat(filters): store filters state in cookie
All checks were successful
repod / xml (push) Successful in 21s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 2m29s
repod / release (push) Has been skipped
2024-03-05 10:50:50 +01:00
bdeb46a194 feat: 🚸 add event bus to player for auto update list
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 31s
repod / nodejs (push) Successful in 2m43s
repod / release (push) Has been skipped
2024-03-05 10:37:16 +01:00
2c1b95c6bb fix(player): 🚸 record action when using keyboard media keys
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 29s
repod / nodejs (push) Successful in 3m0s
repod / release (push) Has been skipped
2024-03-05 10:31:08 +01:00
ce0e6e06bc feat: 🏗️ add event bus to manage updating episode list
All checks were successful
repod / xml (push) Successful in 24s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 2m44s
repod / release (push) Has been skipped
2024-03-05 10:25:01 +01:00
624c52c231 feat: 🚧 refacto action
All checks were successful
repod / xml (push) Successful in 19s
repod / php (push) Successful in 53s
repod / nodejs (push) Successful in 2m39s
repod / release (push) Has been skipped
2024-03-05 00:14:21 +01:00
e52d20ffbc feat: add actions to episodes view
All checks were successful
repod / xml (push) Successful in 1m42s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 2m51s
repod / release (push) Has been skipped
2024-03-04 16:55:16 +01:00
5a510016a7 fix(NcVue): 🦺 use new NcAppNavigationList
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 33s
repod / nodejs (push) Successful in 1m19s
repod / release (push) Has been skipped
2024-03-01 09:52:49 +01:00
9ccd237f80 chore(deps): ⬆️ update deps
All checks were successful
repod / xml (push) Successful in 12s
repod / php (push) Successful in 28s
repod / nodejs (push) Successful in 1m24s
repod / release (push) Has been skipped
2024-03-01 09:34:25 +01:00
ea62de33d0 feat(settings): 🧑‍💻 add cookie lib
All checks were successful
repod / xml (push) Successful in 16s
repod / php (push) Successful in 35s
repod / nodejs (push) Successful in 1m22s
repod / release (push) Has been skipped
2024-03-01 09:28:58 +01:00
746d39c775 Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.8.1' (#68) from renovate/nextcloud-vue-8.x-lockfile into main
Some checks failed
repod / release (push) Waiting to run
repod / xml (push) Successful in 9s
repod / php (push) Successful in 31s
repod / nodejs (push) Has been cancelled
Reviewed-on: #68
2024-03-01 08:26:49 +00:00
972b4ea207 Merge pull request 'chore(deps): update dependency nextcloud/ocp to v28.0.3' (#67) from renovate/nextcloud-ocp-28.x-lockfile into main
Some checks failed
repod / php (push) Waiting to run
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Has been cancelled
Reviewed-on: #67
2024-03-01 08:26:04 +00:00
Renovate Bot
9a00971ce1 chore(deps): update dependency @nextcloud/vue to v8.8.1
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 29s
repod / nodejs (push) Successful in 2m1s
repod / release (push) Has been skipped
2024-03-01 06:59:02 +00:00
Renovate Bot
109d1087a4 chore(deps): update dependency nextcloud/ocp to v28.0.3
All checks were successful
repod / xml (push) Successful in 1m50s
repod / php (push) Successful in 37s
repod / nodejs (push) Successful in 2m11s
repod / release (push) Has been skipped
2024-03-01 06:57:56 +00:00
209fffc305 chore: ⬆️ update version and deps
All checks were successful
repod / xml (push) Successful in 17s
repod / php (push) Successful in 40s
repod / nodejs (push) Successful in 2m59s
repod / release (push) Has been skipped
2024-02-25 18:42:36 +01:00
9e216ca96f Merge pull request 'chore(deps): update dependency psalm/phar to v5.22.2' (#65) from renovate/psalm-phar-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 8s
repod / php (push) Successful in 33s
repod / nodejs (push) Successful in 1m41s
repod / release (push) Has been skipped
Reviewed-on: #65
2024-02-23 09:31:30 +00:00
11e0abec67 Merge pull request 'chore(deps): update dependency @nextcloud/dialogs to v5.1.2' (#64) from renovate/nextcloud-dialogs-5.x-lockfile into main
Some checks failed
repod / nodejs (push) Waiting to run
repod / release (push) Waiting to run
repod / xml (push) Successful in 12s
repod / php (push) Has been cancelled
Reviewed-on: #64
2024-02-23 09:31:13 +00:00
Renovate Bot
57bd010ed0 chore(deps): update dependency psalm/phar to v5.22.2
All checks were successful
repod / xml (push) Successful in 43s
repod / php (push) Successful in 33s
repod / nodejs (push) Successful in 1m40s
repod / release (push) Has been skipped
2024-02-23 06:49:00 +00:00
Renovate Bot
8f68aa1485 chore(deps): update dependency @nextcloud/dialogs to v5.1.2
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 47s
repod / nodejs (push) Successful in 1m39s
repod / release (push) Has been skipped
2024-02-23 06:48:47 +00:00
26aeefa70d Merge pull request 'chore(deps): update dependency @nextcloud/vue to v8.7.1' (#63) from renovate/nextcloud-vue-8.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 2m37s
repod / php (push) Successful in 1m4s
repod / nodejs (push) Successful in 3m40s
repod / release (push) Has been skipped
Reviewed-on: #63
2024-02-22 11:00:47 +00:00
Renovate Bot
c31074457e chore(deps): update dependency @nextcloud/vue to v8.7.1
All checks were successful
repod / xml (push) Successful in 58s
repod / php (push) Successful in 1m27s
repod / nodejs (push) Successful in 4m50s
repod / release (push) Has been skipped
2024-02-22 06:40:02 +00:00
243ae7a7ef 📝 doc: Update changelog
All checks were successful
repod / xml (push) Successful in 14s
repod / php (push) Successful in 49s
repod / nodejs (push) Successful in 2m15s
repod / release (push) Successful in 3m14s
2024-02-20 22:08:15 +01:00
9a411358ca 🧑‍💻 feat: Modify some endpoints to match gPodder.net ones
All checks were successful
repod / xml (push) Successful in 18s
repod / php (push) Successful in 1m25s
repod / nodejs (push) Successful in 2m12s
repod / release (push) Has been skipped
2024-02-20 21:31:38 +01:00
33fee28c02 ⬆️ chore: update @nextcloud/vue to 8.7.0 2024-02-20 21:30:32 +01:00
21760276cd Merge pull request 'chore(deps): update dependency psalm/phar to v5.22.1' (#61) from renovate/psalm-phar-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 17s
repod / php (push) Successful in 54s
repod / nodejs (push) Successful in 2m3s
repod / release (push) Has been skipped
Reviewed-on: #61
2024-02-16 08:17:25 +00:00
Renovate Bot
7c5b542125 chore(deps): update dependency psalm/phar to v5.22.1
All checks were successful
repod / xml (push) Successful in 32s
repod / php (push) Successful in 51s
repod / nodejs (push) Successful in 1m58s
repod / release (push) Has been skipped
2024-02-16 06:33:23 +00:00
4909870d30 Merge pull request 'chore(deps): update dependency psalm/phar to v5.22.0' (#60) from renovate/psalm-phar-5.x-lockfile into main
All checks were successful
repod / xml (push) Successful in 22s
repod / php (push) Successful in 52s
repod / nodejs (push) Successful in 2m41s
repod / release (push) Has been skipped
Reviewed-on: #60
2024-02-14 09:33:24 +00:00
Renovate Bot
0d72ef82a2 chore(deps): update dependency psalm/phar to v5.22.0
All checks were successful
repod / xml (push) Successful in 31s
repod / php (push) Successful in 47s
repod / nodejs (push) Successful in 2m41s
repod / release (push) Has been skipped
2024-02-14 06:53:12 +00:00
89 changed files with 10455 additions and 12788 deletions

View File

@ -1,8 +1,13 @@
*.iml
.idea
/.php-cs-fixer.cache
/.php_cs.cache
/build/
/.idea/
/*.iml
/vendor/
js/
node_modules/
/vendor-bin/*/vendor/
/.php-cs-fixer.cache
/tests/.phpunit.cache
/node_modules/
/js/
/build/

View File

@ -1,9 +0,0 @@
*.iml
.idea
/.php-cs-fixer.cache
/.php_cs.cache
/build/
/vendor/
js/
node_modules/
l10n/

View File

@ -1,8 +1,12 @@
module.exports = {
extends: [
'@nextcloud',
'plugin:pinia/recommended',
'plugin:prettier/recommended',
],
rules: {
'jsdoc/require-jsdoc': 'off',
'vue/first-attribute-linebreak': 'off',
'sort-imports': 'error',
'vue/attributes-order': ['error', { alphabetical: true }],
},

1
.gitattributes vendored
View File

@ -1 +0,0 @@
/js/* binary

View File

@ -14,7 +14,7 @@ jobs:
php:
runs-on: ubuntu-latest
container: nextcloud:28
container: nextcloud:29
steps:
- run: apt-get update
- run: apt-get install -y git nodejs
@ -24,7 +24,7 @@ jobs:
- run: composer install
- run: composer run lint
- run: composer run cs:check
- run: composer run psalm:check
- run: composer run psalm
nodejs:
runs-on: ubuntu-latest
@ -33,8 +33,8 @@ jobs:
- uses: skjnldsv/read-package-engines-version-actions@v3
id: versions
with:
fallbackNode: '^20.0.0'
fallbackNpm: '^9.0.0'
fallbackNode: '^20'
fallbackNpm: '^10'
- uses: actions/setup-node@v4
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@ -47,7 +47,7 @@ jobs:
release:
if: gitea.ref_type == 'tag'
runs-on: ubuntu-latest
container: nextcloud:28
container: nextcloud:29
steps:
- run: apt-get update
- run: apt-get install -y git nodejs
@ -57,8 +57,8 @@ jobs:
- uses: skjnldsv/read-package-engines-version-actions@v3
id: versions
with:
fallbackNode: '^20.0.0'
fallbackNpm: '^9.0.0'
fallbackNode: '^20'
fallbackNpm: '^10'
- uses: actions/setup-node@v4
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

19
.gitignore vendored
View File

@ -1,8 +1,13 @@
*.iml
.idea
/.php-cs-fixer.cache
/.php_cs.cache
/build/
/.idea/
/*.iml
/vendor/
js/
node_modules/
/vendor-bin/*/vendor/
/.php-cs-fixer.cache
/tests/.phpunit.cache
/node_modules/
/js/
/build/

View File

@ -1,8 +1,13 @@
.idea/
*.iml
.idea
/.php-cs-fixer.cache
/.php_cs.cache
build/
vendor/
js/
vendor-bin/*/vendor/
.php-cs-fixer.cache
tests/.phpunit.cache
node_modules/
js/
build/

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
20

View File

@ -23,10 +23,11 @@ class MyConfig extends Config
$config = new MyConfig();
$config
->getFinder()
->ignoreVCSIgnored(true)
->notPath('build')
->notPath('l10n')
->notPath('node_modules')
->notPath('src')
->notPath('vendor')
->in(__DIR__);
return $config;

View File

@ -1,3 +1,127 @@
## 3.1.0 - 2024-09-02
### Added
- ⭐ You can now add favorites subscriptions !
It will show's up on the homepage instead of the recommendations witch appear only when you add a new subscription.
[#59](https://git.crystalyx.net/Xefir/repod/issues/59) suggested by @W_LL_M, @Jaunty and @Satalink
### Changed
- 💥 Use html5 routing instead of hashes. All the URLs has changed removing the `#/` part.
### Fixed
- 🐛 Regression on 3.0 that prevent seeking player to episode last listened position
[#136](https://git.crystalyx.net/Xefir/repod/issues/136) reported by @randomuser1967
- ⚡ Improve the detection off mis-installed or mis-enabled gpodder app
## 3.0.0 - 2024-08-17
### Added
- 🌐 Add german translation
Thanks to @OiledAmoeba [#120](https://git.crystalyx.net/Xefir/repod/issues/120)
### Changed
- 🎉 Migrate to Vue 3
- 🔖 Support Nextcloud 30
- 🏗️ Switch from Vuex to Pinia
### Fixed
- 💄 Use iTunes image first for episode if available
- 💄 Displaying styles and proper HTML on episode's modal descriptions
### Removed
- 🗑️ Temporary replacing @nextcloud/dialogs to toastyjs
## 2.3.3 - 2024-06-14
### Changed
- ⬆️ Update @nextcloud/dialogs to 5.3.2
### Fixed
- 🐛 App crashed when no cache system available
[#107](https://git.crystalyx.net/Xefir/repod/issues/107) reported by @skvaller and @PhilTraere
## 2.3.2 - 2024-05-31
### Fixed
- 🐛 New subscribe button on search not disapearing if subscribed
- ♿ Missing accessibility label on this button as well
## 2.3.1 - 2024-05-29
### Changed
- ⚡ Reduce app size by not shipping sourcemap
## 2.3.0 - 2024-05-29
### Added
- Ability to subscribe to podcast from search list
[#105](https://git.crystalyx.net/Xefir/repod/issues/105) suggested by @crystalyz
### Changed
- 🔖 Full support for Nextcloud 29
- ⬆️ Update @nextcloud/vue to 8.12.0
- 📄 Use only AGPL licence
- ♻️ Refacto based on the new app template from Nextcloud devs
### Removed
- 💀 Drop support for Nextcloud 26
- ⚰️ Drop support for PHP 8.0
- 🌐 Removed babel
## 2.2.1 - 2024-05-18
### Removed
- ♻️ Rollback: Hide unreadable episodes because of insecure sources
## 2.2.0 - 2024-05-18
### Added
- 🚨 Linting the code with ESLint
- 🎨 Prettierify the code
### Changed
- ⬆️ Update all dependancies
### Fixed
- 🔓 Hide unreadable episodes because of insecure sources
## 2.1.0 - 2024-03-16
### Added
- 🔍 Add CTA for rating the app on the store
### Changed
- ⬆️ Update @nextcloud/dialogs to 5.2.0
- ⬆️ Update @nextcloud/vue to 8.11.0
- 🔖 Set compatibility with Nextcloud 29
### Fixed
- 🔒 App wasn't working for non admin users
[#76](https://git.crystalyx.net/Xefir/repod/issues/76) reported by @devasservice
## 2.0.0 - 2024-03-05
### Added
- 🍪 Saving filters preference
[#66](https://git.crystalyx.net/Xefir/repod/issues/66) suggested by @jeef
- 📋 Add several options on each episode :
- Mark as read
- Open the webpage of the episode
- Download the episode
- ↪️ Any actions will be reflected on the episode's list
### Changed
- ⬆️ Update @nextcloud/vue to 8.8.1
### Fixed
- ❤️‍🔥 Better handling ended episodes
## 1.5.9 - 2024-02-21
### Changed
- 🧑‍💻 Change some endpoints to match gPodder.net "specifications"
- ⬆️ Update @nextcloud/vue to 8.7.0
## 1.5.8 - 2024-02-11
### Fixed

View File

@ -1,10 +1,10 @@
FROM nextcloud:28
FROM nextcloud:29
ENV NEXTCLOUD_UPDATE 1
ENV NEXTCLOUD_ADMIN_USER repod
ENV NEXTCLOUD_ADMIN_PASSWORD repod
ENV NEXTCLOUD_INIT_HTACCESS 1
ENV SQLITE_DATABASE repod
ENV NEXTCLOUD_UPDATE=1
ENV NEXTCLOUD_ADMIN_USER=repod
ENV NEXTCLOUD_ADMIN_PASSWORD=repod
ENV NEXTCLOUD_INIT_HTACCESS=1
ENV SQLITE_DATABASE=repod
RUN apt-get update && \
apt-get install -y nodejs npm sqlite3 && \

661
LICENSE Normal file
View File

@ -0,0 +1,661 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

View File

@ -1,235 +0,0 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, our General Public Licenses are intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License which gives you legal permission to copy, distribute and/or modify the software.
A secondary benefit of defending all users' freedom is that improvements made in alternate versions of the program, if they receive widespread use, become available for other developers to incorporate. Many developers of free software are heartened and encouraged by the resulting cooperation. However, in the case of software used on network servers, this result may fail to come about. The GNU General Public License permits making a modified version and letting the public access it on a server without ever releasing its source code to the public.
The GNU Affero General Public License is designed specifically to ensure that, in such cases, the modified source code becomes available to the community. It requires the operator of a network server to provide the source code of the modified version running there to the users of that server. Therefore, public use of a modified version, on a publicly accessible server, gives the public access to the source code of the modified version.
An older license, called the Affero General Public License and published by Affero, was designed to accomplish similar goals. This is a different license, not a version of the Affero GPL, but Affero has released a new version of the Affero GPL which permits relicensing under this license.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based on the Program.
To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work.
A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices".
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the Program, your modified version must prominently offer all users interacting with it remotely through a computer network (if your version supports such interaction) an opportunity to receive the Corresponding Source of your version by providing access to the Corresponding Source from a network server at no charge, through some standard or customary means of facilitating copying of software. This Corresponding Source shall include the Corresponding Source for any work covered by version 3 of the GNU General Public License that is incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the work with which it is combined will remain governed by version 3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU Affero General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU Affero General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU Affero General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU Affero General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer network, you should also make sure that it provides a way for users to get its source. For example, if your program is a web application, its interface could display a "Source" link that leads users to an archive of the code. There are many ways you could offer source, and different solutions will be better for different programs; see section 13 for the specific requirements.
You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see <http://www.gnu.org/licenses/>.

View File

@ -1,121 +0,0 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

View File

@ -1,3 +1,4 @@
# https://github.com/nextcloud/appstore/blob/fixed-templates/nextcloudappstore/scaffolding/app-templates/26/app/Makefile
# Generic Makefile for building and packaging a Nextcloud app which uses npm and
# Composer.
#
@ -102,14 +103,14 @@ dist: build
source:
rm -rf $(source_build_directory)
mkdir -p $(source_build_directory)
tar cvzf $(source_package_name).tar.gz \
tar -C .. -cvzf $(source_package_name).tar.gz \
--exclude-vcs \
--exclude="../$(app_name)/build" \
--exclude="../$(app_name)/js/node_modules" \
--exclude="../$(app_name)/node_modules" \
--exclude="../$(app_name)/*.log" \
--exclude="../$(app_name)/js/*.log" \
../$(app_name)
--exclude="$(app_name)/build" \
--exclude="$(app_name)/js/node_modules" \
--exclude="$(app_name)/node_modules" \
--exclude="$(app_name)/*.log" \
--exclude="$(app_name)/js/*.log" \
$(app_name)
# Builds the source package for the app store, ignores php tests, js tests
# and build related folders that are unnecessary for an appstore release
@ -117,43 +118,43 @@ source:
appstore:
rm -rf $(appstore_build_directory)
mkdir -p $(appstore_build_directory)
tar cvzf $(appstore_package_name).tar.gz \
--exclude="../$(app_name)/build" \
--exclude="../$(app_name)/tests" \
--exclude="../$(app_name)/Makefile" \
--exclude="../$(app_name)/*.log" \
--exclude="../$(app_name)/phpunit*xml" \
--exclude="../$(app_name)/composer.*" \
--exclude="../$(app_name)/node_modules" \
--exclude="../$(app_name)/js/node_modules" \
--exclude="../$(app_name)/js/tests" \
--exclude="../$(app_name)/js/test" \
--exclude="../$(app_name)/js/*.log" \
--exclude="../$(app_name)/js/package.json" \
--exclude="../$(app_name)/js/bower.json" \
--exclude="../$(app_name)/js/karma.*" \
--exclude="../$(app_name)/js/protractor.*" \
--exclude="../$(app_name)/package.json" \
--exclude="../$(app_name)/bower.json" \
--exclude="../$(app_name)/karma.*" \
--exclude="../$(app_name)/protractor\.*" \
--exclude="../$(app_name)/.*" \
--exclude="../$(app_name)/js/.*" \
--exclude="../$(app_name)/webpack.config.js" \
--exclude="../$(app_name)/stylelint.config.js" \
--exclude="../$(app_name)/README.md" \
--exclude="../$(app_name)/package-lock.json" \
--exclude="../$(app_name)/LICENSES" \
--exclude="../$(app_name)/src" \
--exclude="../$(app_name)/stubs" \
--exclude="../$(app_name)/screens" \
--exclude="../$(app_name)/vendor" \
--exclude="../$(app_name)/translationfiles" \
--exclude="../$(app_name)/babel.config.js" \
--exclude="../$(app_name)/Dockerfile" \
--exclude="../$(app_name)/psalm.xml" \
--exclude="../$(app_name)/renovate.json" \
../$(app_name)
tar -C .. -cvzf $(appstore_package_name).tar.gz \
--exclude="$(app_name)/build" \
--exclude="$(app_name)/tests" \
--exclude="$(app_name)/Makefile" \
--exclude="$(app_name)/*.log" \
--exclude="$(app_name)/phpunit*xml" \
--exclude="$(app_name)/composer.*" \
--exclude="$(app_name)/node_modules" \
--exclude="$(app_name)/js/node_modules" \
--exclude="$(app_name)/js/tests" \
--exclude="$(app_name)/js/test" \
--exclude="$(app_name)/js/*.log" \
--exclude="$(app_name)/js/package.json" \
--exclude="$(app_name)/js/bower.json" \
--exclude="$(app_name)/js/karma.*" \
--exclude="$(app_name)/js/protractor.*" \
--exclude="$(app_name)/package.json" \
--exclude="$(app_name)/bower.json" \
--exclude="$(app_name)/karma.*" \
--exclude="$(app_name)/protractor\.*" \
--exclude="$(app_name)/.*" \
--exclude="$(app_name)/js/.*" \
--exclude="$(app_name)/webpack.js" \
--exclude="$(app_name)/stylelint.config.js" \
--exclude="$(app_name)/README.md" \
--exclude="$(app_name)/package-lock.json" \
--exclude="$(app_name)/LICENSE" \
--exclude="$(app_name)/src" \
--exclude="$(app_name)/stubs" \
--exclude="$(app_name)/screens" \
--exclude="$(app_name)/vendor" \
--exclude="$(app_name)/translationfiles" \
--exclude="$(app_name)/Dockerfile" \
--exclude="$(app_name)/psalm.xml" \
--exclude="$(app_name)/renovate.json" \
--exclude="$(app_name)/vite.config.mjs" \
$(app_name)
# Start a nextcloud server on Docker to kickstart developement
.PHONY: dev

View File

@ -12,7 +12,27 @@ You need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) inst
- Import and export subscriptions
- Mobile friendly interface
- Unified search integration
- Interface in multiple languages
## Comparaison with similar apps for Nextcloud
| | [RePod](https://apps.nextcloud.com/apps/repod) | [NextPod](https://apps.nextcloud.com/apps/nextpod) | [Music](https://apps.nextcloud.com/apps/music) | [Podcast](https://apps.nextcloud.com/apps/podcast) |
| --- | --- | --- | --- | --- |
| Actively maintened | ✅ | ✅ | ✅ | ❌ |
| Play your local music files | ❌ | ❌ | ✅ | ❌ |
| Sync with [GPodder clients](#clients-supporting-sync-of-gpoddersync) | ✅ | ✅ | ❌ | ❌ |
| Add and manage subscriptions | ✅ | ❌ | ✅ | ✅ |
| Listen synced episodes by another clients | ✅ | ✅ | ❌ | ❌ |
| Fetch and listen new epidodes | ✅ | ❌ | ✅ | ✅ |
| Keep track of listened episodes | ✅ | ✅ | ❌ | ✅ |
| Download epidodes | ✅ | ✅ | ❌ | ✅ |
| Import and export subscriptions | ✅ | ❌ | ❌ | ❌ |
| Search and discover new podcasts | ✅ | ❌ | ❌ | ✅ |
| Open episode website and RSS feed | ✅ | ✅ | ❌ | ✅ |
| Integrate with Nextcloud search engine | ✅ | ❌ | ❌ | ✅ |
| Integrate with [Nextcloud Notes](https://apps.nextcloud.com/apps/notes) | ❌ | ✅ | ❌ | ❌ |
| Mobile friendly interface | ✅ | ❌ | ✅ | ✅ |
| Support chapters | ❌ | ❌ | ❌ | ✅ |
| Available in multiple languages | ⭕ (en/fr/de) | ❌ | ✅ | ⭕ (en/de) |
## Screenshots

View File

@ -11,7 +11,7 @@
## Requirements
You need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installed to use this app!]]></description>
<version>1.5.8</version>
<version>3.1.0</version>
<licence>agpl</licence>
<author mail="xefir@crystalyx.net" homepage="https://crystalyx.net">Michel Roux</author>
<namespace>RePod</namespace>
@ -24,8 +24,8 @@ You need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) inst
<screenshot>https://git.crystalyx.net/Xefir/repod/raw/branch/main/screens/episodes.png</screenshot>
<screenshot>https://git.crystalyx.net/Xefir/repod/raw/branch/main/screens/modal.png</screenshot>
<dependencies>
<php min-version="8.0"/>
<nextcloud min-version="26" max-version="28"/>
<php min-version="8.1"/>
<nextcloud min-version="27" max-version="30"/>
</dependencies>
<navigations>
<navigation>

View File

@ -13,13 +13,15 @@ declare(strict_types=1);
return [
'routes' => [
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#feed', 'url' => '/feed/{path}', 'verb' => 'GET', 'requirements' => ['path' => '.+']],
['name' => 'page#discover', 'url' => '/discover', 'verb' => 'GET'],
['name' => 'episodes#action', 'url' => '/episodes/action', 'verb' => 'GET'],
['name' => 'episodes#list', 'url' => '/episodes/list', 'verb' => 'GET'],
['name' => 'opml#export', 'url' => '/opml/export', 'verb' => 'GET'],
['name' => 'opml#import', 'url' => '/opml/import', 'verb' => 'POST'],
['name' => 'podcast#index', 'url' => '/podcast', 'verb' => 'GET'],
['name' => 'search#index', 'url' => '/search', 'verb' => 'GET'],
['name' => 'tops#hot', 'url' => '/tops/hot', 'verb' => 'GET'],
['name' => 'tops#new', 'url' => '/tops/new', 'verb' => 'GET'],
['name' => 'toplist#hot', 'url' => '/toplist/hot', 'verb' => 'GET'],
['name' => 'toplist#new', 'url' => '/toplist/new', 'verb' => 'GET'],
],
];

View File

@ -1,3 +0,0 @@
const babelConfig = require('@nextcloud/babel-config')
module.exports = babelConfig

View File

@ -1,30 +1,30 @@
{
"name": "nextcloud/repod",
"description": "🔊 Browse, manage and listen to podcasts",
"type": "project",
"license": "AGPL-3.0-or-later",
"version": "1.5.8",
"require-dev": {
"nextcloud/ocp": "^28.0.2",
"psalm/phar": "^5.21.1",
"nextcloud/coding-standard": "^1.2.1"
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm:check": "psalm.phar --threads=1 --no-cache --show-info=true",
"psalm:fix": "psalm.phar --no-cache --alter --issues=InvalidReturnType,InvalidNullableReturnType,MissingParamType,InvalidFalsableReturnType"
},
"autoload": {
"psr-4": {
"OCA\\RePod\\": "lib/",
"OCA\\GPodderSync\\": "stubs/OCA/GPodderSync/"
}
},
"scripts": {
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './vendor-bin/*' -not -path './build/*' -print0 | xargs -0 -n1 php -l",
"cs:check": "php-cs-fixer fix --dry-run --diff",
"cs:fix": "php-cs-fixer fix",
"psalm": "psalm --threads=1 --no-cache --show-info=true"
},
"require-dev": {
"nextcloud/ocp": "^29.0.6",
"roave/security-advisories": "dev-latest",
"nextcloud/coding-standard": "^1.2.3",
"vimeo/psalm": "^5.25.0"
},
"config": {
"optimize-autoloader": true,
"sort-packages": true,
"platform": {
"php": "8.0"
"php": "8.1"
}
}
}

2853
composer.lock generated

File diff suppressed because it is too large Load Diff

48
l10n/de.js Normal file
View File

@ -0,0 +1,48 @@
OC.L10N.register(
"repod",
{
"RePod Subscriptions" : "RePod Abonnements",
"Podcast" : "Podcast",
"RePod" : "RePod",
"🔊 Browse, manage and listen to podcasts" : "🔊 Suchen, Verwalten und Anhören von Podcasts",
"## Features\n- 🔍 Browse and subscribe huge collection of podcasts\n- 🔊 Listen to episodes directly in Nextcloud\n- 🌐 Sync your activity with [AntennaPod](https://antennapod.org/)\n\n## Requirements\nYou need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installed to use this app!" : "## Funktionen\n- 🔍 Durchsuchen und abonnieren einer großen Sammlung von Podcasts\n- 🔊 Episoden direkt in Nextcloud anhören\n- 🌐 Synchronisiere deine Aktivität mit [AntennaPod](https://antennapod.org/)\n\n## Voraussetzungen\nDu musst [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installiert haben, um diese App zu benutzen!",
"Download" : "Herunterladen",
"Add a RSS link" : "Einen RSS-Link hinzufügen",
"Subscribe" : "Abonnieren",
"Error while adding the feed" : "Fehler beim Hinzufügen des Feeds",
"Could not fetch search results" : "Suchergebnisse können nicht geladen werden",
"New podcasts" : "Neue Podcasts",
"Hot podcasts" : "Beliebte Podcasts",
"Could not fetch tops" : "Titel können nicht abgerufen werden",
"Copy feed" : "Feed kopieren",
"Link copied to the clipboard" : "Der Link des Feeds wurde in die Zwischenablage kopiert",
"Play" : "Abspielen",
"Stop" : "Stopp",
"Read" : "Gelesen",
"Open website" : "Webseite aufrufen",
"Could not change the status of the episode" : "Kann den Status der Folge nicht ändern",
"Could not fetch episodes" : "Folgen können nicht abgerufen werden",
"Export subscriptions" : "Abonnements exportieren",
"Filtering episodes" : "Folgen filtern",
"Show all" : "Zeige alles",
"Listened" : "Gehört",
"Listening" : "Läuft",
"Unlistened" : "Nicht angehört",
"Import subscriptions" : "Importiere Abonnements",
"Import OPML file" : "Importiere OPML-Datei",
"Rate RePod ❤️" : "Bewerte RePod ❤️",
"Playback speed" : "Wiedergabegeschwindigkeit",
"Favorite" : "Favorit",
"Are you sure you want to delete this subscription?" : "Bist Du sicher, dass Du das Abonnement löschen möchtest?",
"Error while removing the feed" : "Fehler beim Löschen des Feeds",
"You can only have 10 favorites" : "Du kannst nur 10 Favoriten haben",
"Add a podcast" : "Einen Podcast hinzufügen",
"Could not fetch subscriptions" : "Abonnements können nicht abgerufen werden",
"Find a podcast" : "Finde einen Podcast",
"Error loading feed" : "Fehler beim Laden des Feeds",
"Missing required app" : "Benötigte App fehlt",
"Install GPodder Sync" : "Installiere GPodder Sync",
"Pin some subscriptions to see their latest updates" : "Pinne einige Abonnements, um ihre neuesten Updates zu sehen",
"No favorites" : "Keine Favoriten"
},
"");

46
l10n/de.json Normal file
View File

@ -0,0 +1,46 @@
{ "translations": {
"RePod Subscriptions" : "RePod Abonnements",
"Podcast" : "Podcast",
"RePod" : "RePod",
"🔊 Browse, manage and listen to podcasts" : "🔊 Suchen, Verwalten und Anhören von Podcasts",
"## Features\n- 🔍 Browse and subscribe huge collection of podcasts\n- 🔊 Listen to episodes directly in Nextcloud\n- 🌐 Sync your activity with [AntennaPod](https://antennapod.org/)\n\n## Requirements\nYou need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installed to use this app!" : "## Funktionen\n- 🔍 Durchsuchen und abonnieren einer großen Sammlung von Podcasts\n- 🔊 Episoden direkt in Nextcloud anhören\n- 🌐 Synchronisiere deine Aktivität mit [AntennaPod](https://antennapod.org/)\n\n## Voraussetzungen\nDu musst [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installiert haben, um diese App zu benutzen!",
"Download" : "Herunterladen",
"Add a RSS link" : "Einen RSS-Link hinzufügen",
"Subscribe" : "Abonnieren",
"Error while adding the feed" : "Fehler beim Hinzufügen des Feeds",
"Could not fetch search results" : "Suchergebnisse können nicht geladen werden",
"New podcasts" : "Neue Podcasts",
"Hot podcasts" : "Beliebte Podcasts",
"Could not fetch tops" : "Titel können nicht abgerufen werden",
"Copy feed" : "Feed kopieren",
"Link copied to the clipboard" : "Der Link des Feeds wurde in die Zwischenablage kopiert",
"Play" : "Abspielen",
"Stop" : "Stopp",
"Read" : "Gelesen",
"Open website" : "Webseite aufrufen",
"Could not change the status of the episode" : "Kann den Status der Folge nicht ändern",
"Could not fetch episodes" : "Folgen können nicht abgerufen werden",
"Export subscriptions" : "Abonnements exportieren",
"Filtering episodes" : "Folgen filtern",
"Show all" : "Zeige alles",
"Listened" : "Gehört",
"Listening" : "Läuft",
"Unlistened" : "Nicht angehört",
"Import subscriptions" : "Importiere Abonnements",
"Import OPML file" : "Importiere OPML-Datei",
"Rate RePod ❤️" : "Bewerte RePod ❤️",
"Playback speed" : "Wiedergabegeschwindigkeit",
"Favorite" : "Favorit",
"Are you sure you want to delete this subscription?" : "Bist Du sicher, dass Du das Abonnement löschen möchtest?",
"Error while removing the feed" : "Fehler beim Löschen des Feeds",
"You can only have 10 favorites" : "Du kannst nur 10 Favoriten haben",
"Add a podcast" : "Einen Podcast hinzufügen",
"Could not fetch subscriptions" : "Abonnements können nicht abgerufen werden",
"Find a podcast" : "Finde einen Podcast",
"Error loading feed" : "Fehler beim Laden des Feeds",
"Missing required app" : "Benötigte App fehlt",
"Install GPodder Sync" : "Installiere GPodder Sync",
"Pin some subscriptions to see their latest updates" : "Pinne einige Abonnements, um ihre neuesten Updates zu sehen",
"No favorites" : "Keine Favoriten"
},"pluralForm" :""
}

View File

@ -8,16 +8,19 @@ OC.L10N.register(
"## Features\n- 🔍 Browse and subscribe huge collection of podcasts\n- 🔊 Listen to episodes directly in Nextcloud\n- 🌐 Sync your activity with [AntennaPod](https://antennapod.org/)\n\n## Requirements\nYou need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installed to use this app!" : "## Fonctionnalités\n- 🔍 Parcourir et s'abonner à une grande collections de podcasts\n- 🔊 Écouter vos épisodes directement sur Nextcloud\n- 🌐 Synchroniser son activité avec [AntennaPod](https://antennapod.org/)\n\n## Pré-requis\nVous devez avoir [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installé pour utiliser cette application !",
"Download" : "Télécharger",
"Add a RSS link" : "Ajouter un lien RSS",
"Subscribe" : "S'abonner",
"Error while adding the feed" : "Erreur lors de l'ajout du flux",
"Could not fetch search results" : "Impossible de récupérer les resultats de la recherche",
"New podcasts" : "Nouveautés",
"Hot podcasts" : "Tendances",
"Could not fetch tops" : "Impossible de récupérer les tops",
"Copy feed" : "Copier le flux",
"Subscribe" : "S'abonner",
"Error while adding the feed" : "Erreur lors de l'ajout du flux",
"Feed's link copied to the clipboard" : "Lien vers le flux copié dans le presse-papiers",
"Link copied to the clipboard" : "Lien vers le flux copié dans le presse-papiers",
"Play" : "Lecture",
"Stop" : "Arrêter",
"Read" : "Lu",
"Open website" : "Ouvrir le site web",
"Could not change the status of the episode" : "Impossible de changer le status de l'épisode",
"Could not fetch episodes" : "Impossible de récuprer les épisodes",
"Export subscriptions" : "Exporter les abonnements",
"Filtering episodes" : "Filtrage des épisodes",
@ -27,14 +30,19 @@ OC.L10N.register(
"Unlistened" : "Non lus",
"Import subscriptions" : "Importer les abonnements",
"Import OPML file" : "Importer un fichier OPML",
"Rate RePod ❤️" : "Donnez votre avis ❤️",
"Playback speed" : "Vitesse de lecture",
"Favorite" : "Favori",
"Are you sure you want to delete this subscription?" : "Êtes-vous sûr de vouloir supprimer ce flux ?",
"Error while removing the feed" : "Erreur lors de la suppression du flux",
"You can only have 10 favorites" : "Vous ne pouvez avoir que 10 favoris",
"Add a podcast" : "Ajouter un podcast",
"Could not fetch subscriptions" : "Impossible de récupérer les flux",
"Find a podcast" : "Chercher un podcast",
"Error loading feed" : "Erreur lors du chargement du flux",
"Missing required app" : "Une application requise est manquante",
"Install GPodder Sync" : "Installer GPodder Sync"
"Install GPodder Sync" : "Installer GPodder Sync",
"Pin some subscriptions to see their latest updates" : "Ajoutez des abonnements en favoris pour obtenir les dernières nouvelles ici",
"No favorites" : "Aucun favoris"
},
"");

View File

@ -6,16 +6,19 @@
"## Features\n- 🔍 Browse and subscribe huge collection of podcasts\n- 🔊 Listen to episodes directly in Nextcloud\n- 🌐 Sync your activity with [AntennaPod](https://antennapod.org/)\n\n## Requirements\nYou need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installed to use this app!" : "## Fonctionnalités\n- 🔍 Parcourir et s'abonner à une grande collections de podcasts\n- 🔊 Écouter vos épisodes directement sur Nextcloud\n- 🌐 Synchroniser son activité avec [AntennaPod](https://antennapod.org/)\n\n## Pré-requis\nVous devez avoir [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) installé pour utiliser cette application !",
"Download" : "Télécharger",
"Add a RSS link" : "Ajouter un lien RSS",
"Subscribe" : "S'abonner",
"Error while adding the feed" : "Erreur lors de l'ajout du flux",
"Could not fetch search results" : "Impossible de récupérer les resultats de la recherche",
"New podcasts" : "Nouveautés",
"Hot podcasts" : "Tendances",
"Could not fetch tops" : "Impossible de récupérer les tops",
"Copy feed" : "Copier le flux",
"Subscribe" : "S'abonner",
"Error while adding the feed" : "Erreur lors de l'ajout du flux",
"Feed's link copied to the clipboard" : "Lien vers le flux copié dans le presse-papiers",
"Link copied to the clipboard" : "Lien vers le flux copié dans le presse-papiers",
"Play" : "Lecture",
"Stop" : "Arrêter",
"Read" : "Lu",
"Open website" : "Ouvrir le site web",
"Could not change the status of the episode" : "Impossible de changer le status de l'épisode",
"Could not fetch episodes" : "Impossible de récuprer les épisodes",
"Export subscriptions" : "Exporter les abonnements",
"Filtering episodes" : "Filtrage des épisodes",
@ -25,14 +28,19 @@
"Unlistened" : "Non lus",
"Import subscriptions" : "Importer les abonnements",
"Import OPML file" : "Importer un fichier OPML",
"Rate RePod ❤️" : "Donnez votre avis ❤️",
"Playback speed" : "Vitesse de lecture",
"Favorite" : "Favori",
"Are you sure you want to delete this subscription?" : "Êtes-vous sûr de vouloir supprimer ce flux ?",
"Error while removing the feed" : "Erreur lors de la suppression du flux",
"You can only have 10 favorites" : "Vous ne pouvez avoir que 10 favoris",
"Add a podcast" : "Ajouter un podcast",
"Could not fetch subscriptions" : "Impossible de récupérer les flux",
"Find a podcast" : "Chercher un podcast",
"Error loading feed" : "Erreur lors du chargement du flux",
"Missing required app" : "Une application requise est manquante",
"Install GPodder Sync" : "Installer GPodder Sync"
"Install GPodder Sync" : "Installer GPodder Sync",
"Pin some subscriptions to see their latest updates" : "Ajoutez des abonnements en favoris pour obtenir les dernières nouvelles ici",
"No favorites" : "Aucun favoris"
},"pluralForm" :""
}

View File

@ -32,6 +32,10 @@ class Application extends App implements IBootstrap
/** @var IInitialState $initialState */
$initialState = $appContainer->get(IInitialState::class);
if (null === $appManager->getAppInfo(self::GPODDERSYNC_ID)) {
$appManager->disableApp(self::GPODDERSYNC_ID);
}
$gpoddersync = $appManager->isEnabledForUser(self::GPODDERSYNC_ID);
if (!$gpoddersync) {
try {

View File

@ -27,6 +27,10 @@ class EpisodesController extends Controller
parent::__construct(Application::APP_ID, $request);
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function list(string $url): JSONResponse {
$client = $this->clientService->newClient();
$feed = $client->get($url);
@ -37,6 +41,10 @@ class EpisodesController extends Controller
return new JSONResponse($episodes, $feed->getStatusCode());
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function action(string $url): JSONResponse {
$action = $this->episodeActionRepository->findByEpisodeUrl($url, $this->userService->getUserUID());

View File

@ -26,15 +26,38 @@ class PageController extends Controller
* @NoCSRFRequired
*/
public function index(): TemplateResponse {
Util::addScript(Application::APP_ID, 'repod-main');
Util::addScript(Application::APP_ID, 'main');
$csp = new ContentSecurityPolicy();
$csp->addAllowedImageDomain('*');
$csp->addAllowedMediaDomain('*');
if ($this->config->getSystemValueBool('debug', false)) {
/** @psalm-suppress DeprecatedMethod */
$csp->allowEvalScript();
$csp->addAllowedConnectDomain('*');
$csp->addAllowedScriptDomain('*');
}
$response = new TemplateResponse(Application::APP_ID, 'main');
$response->setContentSecurityPolicy($csp);
return $response;
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function discover(): TemplateResponse {
return $this->index();
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function feed(): TemplateResponse {
return $this->index();
}
}

View File

@ -10,23 +10,32 @@ use OCA\RePod\AppInfo\Application;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\JSONResponse;
use OCP\Http\Client\IClientService;
use OCP\ICacheFactory;
use OCP\IRequest;
class PodcastController extends Controller
{
public function __construct(
IRequest $request,
private ICacheFactory $cacheFactory,
private IClientService $clientService,
private PodcastDataReader $podcastDataReader
) {
parent::__construct(Application::APP_ID, $request);
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function index(string $url): JSONResponse {
try {
$podcast = $this->podcastDataReader->tryGetCachedPodcastData($url);
} catch (\Exception $e) {
$podcast = null;
$podcast = null;
if ($this->cacheFactory->isLocalCacheAvailable()) {
try {
$podcast = $this->podcastDataReader->tryGetCachedPodcastData($url);
} catch (\Exception $e) {
}
}
if ($podcast) {
@ -37,9 +46,11 @@ class PodcastController extends Controller
$feed = $client->get($url);
$podcast = PodcastData::parseRssXml((string) $feed->getBody());
try {
$this->podcastDataReader->trySetCachedPodcastData($url, $podcast);
} catch (\Exception $e) {
if ($this->cacheFactory->isLocalCacheAvailable()) {
try {
$this->podcastDataReader->trySetCachedPodcastData($url, $podcast);
} catch (\Exception $e) {
}
}
return new JSONResponse($podcast, $feed->getStatusCode());

View File

@ -19,7 +19,11 @@ class SearchController extends Controller
parent::__construct(Application::APP_ID, $request);
}
public function index(string $value): JSONResponse {
return new JSONResponse($this->multiPodService->search($value));
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function index(string $q): JSONResponse {
return new JSONResponse($this->multiPodService->search($q));
}
}

View File

@ -10,7 +10,7 @@ use OCP\AppFramework\Controller;
use OCP\AppFramework\Http\JSONResponse;
use OCP\IRequest;
class TopsController extends Controller
class ToplistController extends Controller
{
public function __construct(
IRequest $request,
@ -19,10 +19,18 @@ class TopsController extends Controller
parent::__construct(Application::APP_ID, $request);
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function hot(): JSONResponse {
return new JSONResponse($this->fyydService->hot());
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function new(): JSONResponse {
return new JSONResponse($this->fyydService->latest());
}

View File

@ -55,22 +55,24 @@ class EpisodeActionReader extends CoreEpisodeActionReader
$link = $this->stringOrNull($item->link);
// Get episode image
$image = $this->stringOrNull($item->image->url);
if (!isset($image) && isset($iTunesItemChildren)) {
if (isset($iTunesItemChildren)) {
$imageAttributes = $iTunesItemChildren->image->attributes();
$image = $this->stringOrNull(isset($imageAttributes) ? (string) $imageAttributes->href : '');
}
if (!isset($image)) {
$image = $this->stringOrNull($channel->image->url);
}
if (!isset($image) && isset($iTunesChannelChildren)) {
$imageAttributes = $iTunesChannelChildren->image->attributes();
$image = $this->stringOrNull(isset($imageAttributes) ? (string) $imageAttributes->href : '');
}
if (!isset($image)) {
$image = $this->stringOrNull($item->image->url);
}
if (!isset($image)) {
$image = $this->stringOrNull($channel->image->url);
}
if (!isset($image)) {
preg_match('/<itunes:image\s+href="([^"]+)"/', $xmlString, $matches);
if (count($matches) > 1) {

15890
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,46 +1,44 @@
{
"name": "repod",
"description": "🔊 Browse, manage and listen to podcasts",
"version": "1.5.8",
"bugs": {
"url": "https://git.crystalyx.net/Xefir/repod/issues"
},
"license": "agpl",
"private": true,
"license": "AGPL-3.0-or-later",
"scripts": {
"build": "webpack --node-env production --progress",
"dev": "webpack --node-env development --progress",
"watch": "webpack --node-env development --progress --watch",
"serve": "webpack --node-env development serve --progress",
"lint": "eslint --ext .js,.vue src",
"lint:fix": "eslint --ext .js,.vue src --fix",
"stylelint": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue",
"stylelint:fix": "stylelint css/*.css css/*.scss src/**/*.scss src/**/*.vue --fix"
},
"dependencies": {
"@nextcloud/axios": "^2.4.0",
"@nextcloud/dialogs": "^5.1.1",
"@nextcloud/initial-state": "^2.1.0",
"@nextcloud/l10n": "^2.2.0",
"@nextcloud/router": "^3.0.0",
"@nextcloud/vue": "^8.6.2",
"vue": "^2",
"vue-material-design-icons": "^5.3.0",
"vue-router": "^3",
"vuex": "^3"
"build": "vite build --mode production",
"dev": "vite build --mode development",
"dev:watch": "vite build --mode development --watch",
"watch": "npm run dev:watch",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"stylelint": "stylelint src/**/*.vue src/**/*.scss src/**/*.css",
"stylelint:fix": "stylelint src/**/*.vue src/**/*.scss src/**/*.css --fix"
},
"browserslist": [
"extends @nextcloud/browserslist-config"
],
"engines": {
"node": "^20.0.0",
"npm": "^9.0.0"
"prettier": "@nextcloud/prettier-config",
"dependencies": {
"@nextcloud/axios": "^2.5.0",
"@nextcloud/initial-state": "^2.2.0",
"@nextcloud/l10n": "^3.1.0",
"@nextcloud/router": "^3.0.1",
"@nextcloud/vite-config": "^2.2.2",
"@nextcloud/vue": "9.0.0-alpha.5",
"dompurify": "^3.1.6",
"linkify-html": "^4.1.3",
"pinia": "^2.2.2",
"toastify-js": "^1.12.0",
"vite": "^5.4.3",
"vite-plugin-vue-devtools": "^7.4.3",
"vue": "^3.5.0",
"vue-material-design-icons": "^5.3.0",
"vue-router": "^4.4.3"
},
"devDependencies": {
"@nextcloud/babel-config": "^1.0.0",
"@nextcloud/browserslist-config": "^3.0.0",
"@nextcloud/eslint-config": "^8.3.0",
"@nextcloud/stylelint-config": "^2.4.0",
"@nextcloud/webpack-vue-config": "^6.0.1"
"@nextcloud/browserslist-config": "^3.0.1",
"@nextcloud/eslint-config": "^8.4.1",
"@nextcloud/prettier-config": "^1.1.0",
"@nextcloud/stylelint-config": "^3.0.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-pinia": "^0.4.1",
"eslint-plugin-prettier": "^5.2.1"
}
}

View File

@ -2,11 +2,12 @@
<psalm
errorLevel="1"
resolveFromConfigFile="true"
findUnusedBaselineEntry="true"
findUnusedCode="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config https://raw.githubusercontent.com/vimeo/psalm/master/config.xsd"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"
findUnusedBaselineEntry="true"
findUnusedCode="false"
phpVersion="8.1"
>
<projectFiles>
<directory name="lib" />
@ -17,20 +18,8 @@
</projectFiles>
<extraFiles>
<directory name="vendor" />
<ignoreFiles>
<directory name="vendor/psalm" />
</ignoreFiles>
</extraFiles>
<issueHandlers>
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="OC\AppFramework\OCS\BaseResponse"/>
<referencedClass name="Doctrine\DBAL\Schema\Schema" />
<referencedClass name="Doctrine\DBAL\Schema\SchemaException" />
<referencedClass name="Doctrine\DBAL\Driver\Statement" />
<referencedClass name="Doctrine\DBAL\Schema\Table" />
</errorLevel>
</UndefinedDocblockClass>
<InvalidReturnType>
<errorLevel type="suppress">
<directory name="stubs" />

View File

@ -8,12 +8,14 @@
</template>
<script>
import '@nextcloud/dialogs/style.css'
import 'toastify-js/src/toastify.css'
import { mapActions, mapState } from 'pinia'
import Bar from './components/Player/Bar.vue'
import GPodder from './views/GPodder.vue'
import { NcContent } from '@nextcloud/vue'
import Subscriptions from './components/Sidebar/Subscriptions.vue'
import { loadState } from '@nextcloud/initial-state'
import { usePlayer } from './store/player.js'
export default {
name: 'App',
@ -24,9 +26,22 @@ export default {
Subscriptions,
},
computed: {
...mapState(usePlayer, ['paused']),
gpodder() {
return loadState('repod', 'gpodder', false)
},
},
mounted() {
this.init()
setInterval(this.loop, 40000)
},
methods: {
...mapActions(usePlayer, ['init', 'time']),
loop() {
if (this.paused === false) {
this.time()
}
},
},
}
</script>

View File

@ -1,11 +1,13 @@
<template>
<NcAppContent :class="episode ? 'padding' : ''">
<NcAppContent :class="{ episode }">
<slot />
</NcAppContent>
</template>
<script>
import { NcAppContent } from '@nextcloud/vue'
import { mapState } from 'pinia'
import { usePlayer } from '../../store/player.js'
export default {
name: 'AppContent',
@ -13,15 +15,13 @@ export default {
NcAppContent,
},
computed: {
episode() {
return this.$store.state.player.episode
},
...mapState(usePlayer, ['episode']),
},
}
</script>
<style scoped>
.padding {
padding-bottom: 6rem;
}
.episode {
padding-bottom: 6rem;
}
</style>

View File

@ -1,5 +1,5 @@
<template>
<NcAppNavigation :class="episode ? 'padding' : ''">
<NcAppNavigation :class="{ episode }">
<slot />
<template #list>
<slot name="list" />
@ -12,6 +12,8 @@
<script>
import { NcAppNavigation } from '@nextcloud/vue'
import { mapState } from 'pinia'
import { usePlayer } from '../../store/player.js'
export default {
name: 'AppNavigation',
@ -19,15 +21,13 @@ export default {
NcAppNavigation,
},
computed: {
episode() {
return this.$store.state.player.episode
},
...mapState(usePlayer, ['episode']),
},
}
</script>
<style scoped>
.padding {
padding-bottom: 6rem;
}
.episode {
padding-bottom: 6rem;
}
</style>

View File

@ -0,0 +1,34 @@
<template>
<NcEmptyContent class="empty">
<slot />
<template #icon>
<slot name="icon" />
</template>
<template #name>
<slot name="name" />
</template>
<template #description>
<slot name="description" />
</template>
<template #action>
<slot name="action" />
</template>
</NcEmptyContent>
</template>
<script>
import { NcEmptyContent } from '@nextcloud/vue'
export default {
name: 'EmptyContent',
components: {
NcEmptyContent,
},
}
</script>
<style scoped>
.empty {
height: 100%;
}
</style>

View File

@ -14,7 +14,7 @@ export default {
</script>
<style scoped>
.loading {
margin: 2rem 0;
}
.loading {
margin: 2rem 0;
}
</style>

View File

@ -1,28 +1,29 @@
<!-- eslint-disable vue/no-v-html -->
<template>
<div>
<NcAvatar :display-name="name"
<div class="flex">
<NcAvatar
:display-name="episode.name"
:is-no-user="true"
:size="256"
:url="image" />
<h2>{{ name }}</h2>
<p v-html="strippedDescription" />
<div>
<NcButton v-if="link"
:href="link"
target="_blank">
:url="episode.image" />
<h2>{{ episode.name }}</h2>
<SafeHtml :source="episode.description" />
<div class="flex">
<NcButton v-if="episode.link" :href="episode.link" target="_blank">
<template #icon>
<OpenInNew :size="20" />
<OpenInNewIcon :size="20" />
</template>
{{ title }}
{{ episode.title }}
</NcButton>
<NcButton v-if="url"
:href="url"
<NcButton
v-if="episode.url"
:download="filenameFromUrl(episode.url)"
:href="episode.url"
target="_blank">
<template #icon>
<Download :size="20" />
<DownloadIcon :size="20" />
</template>
{{ t('repod', 'Download') }} {{ size ? `(${episodeFileSize})` : '' }}
{{ t('repod', 'Download') }}
{{ episode.size ? `(${humanFileSize(episode.size)})` : '' }}
</NcButton>
</div>
</div>
@ -30,66 +31,40 @@
<script>
import { NcAvatar, NcButton } from '@nextcloud/vue'
import Download from 'vue-material-design-icons/Download.vue'
import OpenInNew from 'vue-material-design-icons/OpenInNew.vue'
import { cleanHtml } from '../../utils/text.js'
import DownloadIcon from 'vue-material-design-icons/Download.vue'
import OpenInNewIcon from 'vue-material-design-icons/OpenInNew.vue'
import SafeHtml from './SafeHtml.vue'
import { filenameFromUrl } from '../../utils/url.js'
import { humanFileSize } from '../../utils/size.js'
export default {
name: 'Modal',
components: {
Download,
DownloadIcon,
NcAvatar,
NcButton,
OpenInNew,
OpenInNewIcon,
SafeHtml,
},
props: {
description: {
type: String,
default: '',
},
image: {
type: String,
required: true,
},
link: {
type: String,
default: null,
},
name: {
type: String,
required: true,
},
size: {
type: Number,
default: null,
},
title: {
type: String,
required: true,
},
url: {
type: String,
episode: {
type: Object,
required: true,
},
},
computed: {
episodeFileSize() {
return humanFileSize(this.size)
},
strippedDescription() {
return cleanHtml(this.description)
},
methods: {
filenameFromUrl,
humanFileSize,
},
}
</script>
<style scoped>
div {
align-items: center;
display: flex;
flex-direction: column;
gap: 1rem;
margin: 2rem;
}
.flex {
align-items: center;
display: flex;
flex-direction: column;
gap: 1rem;
margin: 2rem;
}
</style>

View File

@ -0,0 +1,36 @@
<template>
<div v-sanitize="source" class="html" />
</template>
<script>
import dompurify from 'dompurify'
import linkifyHtml from 'linkify-html'
export default {
name: 'SafeHtml',
directives: {
sanitize: {
mounted(el, binding) {
el.innerHTML = dompurify.sanitize(
linkifyHtml(binding.value, {
nl2br: true,
target: '_blank',
}),
)
},
},
},
props: {
source: {
type: String,
required: true,
},
},
}
</script>
<style>
.html a {
text-decoration: underline;
}
</style>

View File

@ -1,34 +1,35 @@
<template>
<ul>
<NcAppNavigationNewItem :name="t('repod', 'Add a RSS link')" @new-item="addSubscription">
<NcAppNavigationList class="list">
<NcAppNavigationNewItem
:name="t('repod', 'Add a RSS link')"
@new-item="(url) => $router.push(toFeedUrl(url))">
<template #icon>
<Plus :size="20" />
<PlusIcon :size="20" />
</template>
</NcAppNavigationNewItem>
</ul>
</NcAppNavigationList>
</template>
<script>
import { NcAppNavigationNewItem } from '@nextcloud/vue'
import Plus from 'vue-material-design-icons/Plus.vue'
import { encodeUrl } from '../../utils/url.js'
import { NcAppNavigationList, NcAppNavigationNewItem } from '@nextcloud/vue'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import { toFeedUrl } from '../../utils/url.js'
export default {
name: 'AddRss',
components: {
NcAppNavigationList,
NcAppNavigationNewItem,
Plus,
PlusIcon,
},
methods: {
addSubscription(feedUrl) {
this.$router.push(encodeUrl(feedUrl))
},
toFeedUrl,
},
}
</script>
<style scoped>
ul {
margin-top: 2rem;
}
.list {
margin-top: 2rem;
}
</style>

View File

@ -2,40 +2,59 @@
<div>
<Loading v-if="loading" />
<ul v-if="!loading">
<NcListItem v-for="feed in feeds"
<NcListItem
v-for="feed in feeds"
:key="feed.link"
:details="formatLocaleDate(new Date(feed.fetchedAtUnix*1000))"
:details="formatLocaleDate(new Date(feed.fetchedAtUnix * 1000))"
:name="feed.title"
:to="toUrl(feed.link)">
:to="toFeedUrl(feed.link)">
<template #icon>
<NcAvatar :display-name="feed.author"
<NcAvatar
:display-name="feed.author"
:is-no-user="true"
:url="feed.imageUrl" />
</template>
<template #subname>
{{ feed.author }}
</template>
<template #actions>
<NcActionButton
v-if="!getSubscriptions.includes(feed.link)"
:aria-label="t('repod', 'Subscribe')"
:name="t('repod', 'Subscribe')"
:title="t('repod', 'Subscribe')"
@click="addSubscription(feed.link)">
<template #icon>
<PlusIcon :size="20" />
</template>
</NcActionButton>
</template>
</NcListItem>
</ul>
</div>
</template>
<script>
import { NcAvatar, NcListItem } from '@nextcloud/vue'
import { NcActionButton, NcAvatar, NcListItem } from '@nextcloud/vue'
import { mapActions, mapState } from 'pinia'
import Loading from '../Atoms/Loading.vue'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import axios from '@nextcloud/axios'
import { debounce } from '../../utils/debounce.js'
import { formatLocaleDate } from '../../utils/time.js'
import { generateUrl } from '@nextcloud/router'
import { showError } from '@nextcloud/dialogs'
import { toUrl } from '../../utils/url.js'
import { showError } from '../../utils/toast.js'
import { toFeedUrl } from '../../utils/url.js'
import { useSubscriptions } from '../../store/subscriptions.js'
export default {
name: 'Search',
components: {
Loading,
NcActionButton,
NcAvatar,
NcListItem,
PlusIcon,
},
props: {
value: {
@ -43,11 +62,12 @@ export default {
required: true,
},
},
data() {
return {
feeds: [],
loading: false,
}
data: () => ({
feeds: [],
loading: false,
}),
computed: {
...mapState(useSubscriptions, ['getSubscriptions']),
},
watch: {
value() {
@ -55,15 +75,38 @@ export default {
},
},
methods: {
...mapActions(useSubscriptions, ['fetch']),
formatLocaleDate,
toUrl,
toFeedUrl,
async addSubscription(url) {
try {
await axios.post(
generateUrl('/apps/gpoddersync/subscription_change/create'),
{
add: [url],
remove: [],
},
)
} catch (e) {
console.error(e)
showError(t('repod', 'Error while adding the feed'))
}
this.fetch()
},
search: debounce(async function value() {
try {
this.loading = true
const currentSearch = this.value
const feeds = await axios.get(generateUrl('/apps/repod/search?value={value}', { value: currentSearch }))
const feeds = await axios.get(
generateUrl('/apps/repod/search?q={value}', {
value: currentSearch,
}),
)
if (currentSearch === this.value) {
this.feeds = [...feeds.data].sort((a, b) => b.fetchedAtUnix - a.fetchedAtUnix)
this.feeds = [...feeds.data].sort(
(a, b) => b.fetchedAtUnix - a.fetchedAtUnix,
)
}
} catch (e) {
console.error(e)

View File

@ -4,8 +4,8 @@
<Loading v-if="loading" />
<ul v-if="!loading">
<li v-for="top in tops" :key="top.link">
<router-link :to="toUrl(top.link)">
<img :src="top.imageUrl" :title="top.author">
<router-link :to="toFeedUrl(top.link)">
<img :src="top.imageUrl" :title="top.author" />
</router-link>
</li>
</ul>
@ -16,11 +16,11 @@
import Loading from '../Atoms/Loading.vue'
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import { showError } from '@nextcloud/dialogs'
import { toUrl } from '../../utils/url.js'
import { showError } from '../../utils/toast.js'
import { toFeedUrl } from '../../utils/url.js'
export default {
name: 'Tops',
name: 'Toplist',
components: {
Loading,
},
@ -30,28 +30,28 @@ export default {
required: true,
},
},
data() {
return {
loading: true,
tops: [],
}
},
data: () => ({
loading: true,
tops: [],
}),
computed: {
title() {
switch (this.type) {
case 'new':
return t('repod', 'New podcasts')
case 'hot':
return t('repod', 'Hot podcasts')
default:
return this.type
case 'new':
return t('repod', 'New podcasts')
case 'hot':
return t('repod', 'Hot podcasts')
default:
return this.type
}
},
},
async mounted() {
try {
this.loading = true
const tops = await axios.get(generateUrl(`/apps/repod/tops/${this.type}`))
const tops = await axios.get(
generateUrl(`/apps/repod/toplist/${this.type}`),
)
this.tops = tops.data
} catch (e) {
console.error(e)
@ -61,30 +61,30 @@ export default {
}
},
methods: {
toUrl,
toFeedUrl,
},
}
</script>
<style scoped>
h2 {
margin: 1rem 0;
}
h2 {
margin: 1rem 0;
}
img {
height: 100%;
width: 100%;
}
img {
height: 100%;
width: 100%;
}
li {
flex-basis: 10rem;
flex-shrink: 0;
}
li {
flex-basis: 10rem;
flex-shrink: 0;
}
ul {
display: flex;
gap: 2rem;
overflow: scroll hidden;
padding-bottom: .5rem;
}
ul {
display: flex;
gap: 2rem;
overflow: scroll hidden;
padding-bottom: 0.5rem;
}
</style>

View File

@ -1,15 +1,15 @@
<!-- eslint-disable vue/no-v-html -->
<template>
<div class="header">
<img class="background" :src="imageUrl">
<img class="background" :src="imageUrl" />
<div class="content">
<div>
<NcAvatar :display-name="author || title"
<NcAvatar
:display-name="author || title"
:is-no-user="true"
:size="128"
:url="imageUrl" />
<a class="feed" :href="url" @click.prevent="copyFeed">
<Rss :size="20" />
<RssIcon :size="20" />
<i>{{ t('repod', 'Copy feed') }}</i>
</a>
</div>
@ -19,16 +19,15 @@
<a :href="link" target="_blank">
<i>{{ author }}</i>
</a>
<br><br>
<p>
<small v-html="strippedDescription" />
</p>
<br /><br />
<SafeHtml :source="description" />
</div>
<NcAppNavigationNew v-if="!isSubscribed"
<NcAppNavigationNew
v-if="!getSubscriptions.includes(url)"
:text="t('repod', 'Subscribe')"
@click="addSubscription">
<template #icon>
<Plus :size="20" />
<PlusIcon :size="20" />
</template>
</NcAppNavigationNew>
</div>
@ -38,21 +37,24 @@
<script>
import { NcAppNavigationNew, NcAvatar } from '@nextcloud/vue'
import { showError, showSuccess } from '@nextcloud/dialogs'
import Plus from 'vue-material-design-icons/Plus.vue'
import Rss from 'vue-material-design-icons/Rss.vue'
import { mapActions, mapState } from 'pinia'
import { showError, showSuccess } from '../../utils/toast.js'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import RssIcon from 'vue-material-design-icons/Rss.vue'
import SafeHtml from '../Atoms/SafeHtml.vue'
import axios from '@nextcloud/axios'
import { cleanHtml } from '../../utils/text.js'
import { decodeUrl } from '../../utils/url.js'
import { generateUrl } from '@nextcloud/router'
import { useSubscriptions } from '../../store/subscriptions.js'
export default {
name: 'Banner',
components: {
NcAvatar,
NcAppNavigationNew,
Plus,
Rss,
PlusIcon,
RssIcon,
SafeHtml,
},
props: {
author: {
@ -77,78 +79,80 @@ export default {
},
},
computed: {
...mapState(useSubscriptions, ['getSubscriptions']),
url() {
return decodeUrl(this.$route.params.url)
},
isSubscribed() {
return this.$store.state.subscriptions.subscriptions.includes(this.url)
},
strippedDescription() {
return cleanHtml(this.description)
},
},
methods: {
...mapActions(useSubscriptions, ['fetch']),
async addSubscription() {
try {
await axios.post(generateUrl('/apps/gpoddersync/subscription_change/create'), { add: [this.url], remove: [] })
await axios.post(
generateUrl('/apps/gpoddersync/subscription_change/create'),
{
add: [this.url],
remove: [],
},
)
} catch (e) {
console.error(e)
showError(t('repod', 'Error while adding the feed'))
}
this.$store.dispatch('subscriptions/fetch')
this.fetch()
},
copyFeed() {
window.navigator.clipboard.writeText(this.url)
showSuccess(t('repod', 'Feed\'s link copied to the clipboard'))
showSuccess(t('repod', 'Link copied to the clipboard'))
},
},
}
</script>
<style scoped>
.background {
filter: blur(1rem) brightness(50%);
height: auto;
left: 0;
opacity: .4;
position: absolute;
top: 0;
width: 100%;
z-index: -1;
}
.background {
filter: blur(1rem) brightness(50%);
height: auto;
left: 0;
opacity: 0.4;
position: absolute;
top: 0;
width: 100%;
z-index: -1;
}
.content {
display: flex;
gap: 1rem;
height: 10rem;
position: relative;
}
.content {
display: flex;
gap: 1rem;
height: 10rem;
position: relative;
}
.feed {
display: flex;
gap: .2rem;
margin: .5rem;
}
.feed {
display: flex;
gap: 0.2rem;
margin: 0.5rem;
}
.header {
height: 14rem;
overflow: hidden;
padding: 2rem;
position: relative;
}
.header {
height: 14rem;
overflow: hidden;
padding: 2rem;
position: relative;
}
.infos {
overflow: auto;
}
.infos {
overflow: auto;
}
.inner {
display: flex;
}
@media only screen and (max-width: 768px) {
.inner {
display: flex;
}
@media only screen and (max-width: 768px) {
.inner {
flex-direction: column;
}
flex-direction: column;
}
}
</style>

View File

@ -0,0 +1,215 @@
<template>
<NcListItem
:active="isCurrentEpisode(episode)"
class="episode"
:details="!oneLine ? formatLocaleDate(new Date(episode.pubDate?.date)) : ''"
:force-display-actions="true"
:name="episode.name"
:one-line="oneLine"
:style="{ opacity: hasEnded(episode) ? 0.4 : 1 }"
:title="episode.description"
@click="modalEpisode = episode">
<template #actions>
<NcActionButton
v-if="!isCurrentEpisode(episode)"
:aria-label="t('repod', 'Play')"
:title="t('repod', 'Play')"
@click="load(episode, url)">
<template #icon>
<PlayIcon :size="20" />
</template>
</NcActionButton>
<NcActionButton
v-if="isCurrentEpisode(episode)"
:aria-label="t('repod', 'Stop')"
:title="t('repod', 'Stop')"
@click="load(null)">
<template #icon>
<StopIcon :size="20" />
</template>
</NcActionButton>
</template>
<template #extra>
<NcActions>
<NcActionButton
v-if="episode.duration"
:aria-label="t('repod', 'Read')"
:disabled="loading"
:model-value="hasEnded(episode)"
:name="t('repod', 'Read')"
:title="t('repod', 'Read')"
@click="markAs(episode, !hasEnded(episode))">
<template #icon>
<PlaylistPlayIcon v-if="!hasEnded(episode)" :size="20" />
<PlaylistRemoveIcon v-if="hasEnded(episode)" :size="20" />
</template>
</NcActionButton>
<NcActionLink
v-if="episode.link"
:href="episode.link"
:name="t('repod', 'Open website')"
target="_blank"
:title="t('repod', 'Open website')">
<template #icon>
<OpenInNewIcon :size="20" />
</template>
</NcActionLink>
<NcActionLink
v-if="episode.url"
:download="filenameFromUrl(episode.url)"
:href="episode.url"
:name="t('repod', 'Download')"
target="_blank"
:title="t('repod', 'Download')">
<template #icon>
<DownloadIcon :size="20" />
</template>
</NcActionLink>
</NcActions>
<NcModal v-if="modalEpisode" @close="modalEpisode = null">
<Modal :episode="episode" />
</NcModal>
</template>
<template #icon>
<NcAvatar
:display-name="episode.name"
:is-no-user="true"
:url="episode.image" />
</template>
<template #indicator>
<NcProgressBar
v-if="isListening(episode) && !oneLine"
class="progress"
:value="(episode.action.position * 100) / episode.action.total" />
</template>
<template #subname>
{{ episode.duration }}
</template>
</NcListItem>
</template>
<script>
import {
NcActionButton,
NcActionLink,
NcActions,
NcAvatar,
NcListItem,
NcModal,
NcProgressBar,
} from '@nextcloud/vue'
import {
durationToSeconds,
formatEpisodeTimestamp,
formatLocaleDate,
} from '../../utils/time.js'
import { hasEnded, isListening } from '../../utils/status.js'
import { mapActions, mapState } from 'pinia'
import DownloadIcon from 'vue-material-design-icons/Download.vue'
import Modal from '../Atoms/Modal.vue'
import OpenInNewIcon from 'vue-material-design-icons/OpenInNew.vue'
import PlayIcon from 'vue-material-design-icons/Play.vue'
import PlaylistPlayIcon from 'vue-material-design-icons/PlaylistPlay.vue'
import PlaylistRemoveIcon from 'vue-material-design-icons/PlaylistRemove.vue'
import StopIcon from 'vue-material-design-icons/Stop.vue'
import axios from '@nextcloud/axios'
import { filenameFromUrl } from '../../utils/url.js'
import { generateUrl } from '@nextcloud/router'
import { showError } from '../../utils/toast.js'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Episode',
components: {
DownloadIcon,
Modal,
NcActionButton,
NcActionLink,
NcActions,
NcAvatar,
NcListItem,
NcModal,
NcProgressBar,
OpenInNewIcon,
PlayIcon,
PlaylistPlayIcon,
PlaylistRemoveIcon,
StopIcon,
},
props: {
episode: {
type: Object,
required: true,
},
oneLine: {
type: Boolean,
default: false,
},
url: {
type: String,
required: true,
},
},
data: () => ({
loading: false,
modalEpisode: null,
}),
computed: {
...mapState(usePlayer, { playerEpisode: 'episode' }),
},
methods: {
...mapActions(usePlayer, ['load']),
formatLocaleDate,
hasEnded,
isListening,
filenameFromUrl,
isCurrentEpisode(episode) {
return this.playerEpisode?.url === episode.url
},
async markAs(episode, read) {
try {
this.loading = true
episode.action = {
podcast: this.url,
episode: episode.url,
guid: episode.guid,
action: 'play',
timestamp: formatEpisodeTimestamp(new Date()),
started: episode.action?.started || 0,
position: read ? durationToSeconds(episode.duration) : 0,
total: durationToSeconds(episode.duration),
}
await axios.post(
generateUrl('/apps/gpoddersync/episode_action/create'),
[episode.action],
)
if (read && this.isCurrentEpisode(episode)) {
this.load(null)
}
} catch (e) {
console.error(e)
showError(t('repod', 'Could not change the status of the episode'))
} finally {
this.loading = false
}
},
},
}
</script>
<style scoped>
.progress {
margin-top: 0.4rem;
}
</style>
<style>
.episode .list-item-content__name {
max-width: 100%;
}
.episode .list-item-content__subname {
flex-basis: auto;
flex-grow: 0;
}
</style>

View File

@ -2,95 +2,40 @@
<div>
<Loading v-if="loading" />
<ul v-if="!loading">
<NcListItem v-for="episode in filteredEpisodes"
<Episode
v-for="episode in filteredEpisodes"
:key="episode.guid"
:active="isCurrentEpisode(episode)"
:class="hasEnded(episode) ? 'ended': ''"
:details="formatLocaleDate(new Date(episode.pubDate?.date))"
:force-display-actions="true"
:name="episode.name"
:title="episode.description"
@click="modalEpisode = episode">
<template #actions>
<NcActionButton v-if="!isCurrentEpisode(episode)" @click="load(episode)">
<template #icon>
<PlayButton :size="20" />
</template>
{{ t('repod', 'Play') }}
</NcActionButton>
<NcActionButton v-if="isCurrentEpisode(episode)" @click="load(null)">
<template #icon>
<StopButton :size="20" />
</template>
{{ t('repod', 'Stop') }}
</NcActionButton>
</template>
<template #icon>
<NcAvatar :display-name="episode.name"
:is-no-user="true"
:url="episode.image" />
</template>
<template #indicator>
<NcProgressBar v-if="isListening(episode)"
class="progress"
:value="episode.action.position * 100 / episode.action.total" />
</template>
<template #subname>
{{ episode.duration }}
</template>
</NcListItem>
:episode="episode"
:url="url" />
</ul>
<NcModal v-if="modalEpisode" @close="modalEpisode = null">
<Modal :description="modalEpisode.description"
:image="modalEpisode.image"
:link="modalEpisode.link"
:name="modalEpisode.name"
:size="modalEpisode.size"
:title="modalEpisode.title"
:url="modalEpisode.url" />
</NcModal>
</div>
</template>
<script>
import { NcActionButton, NcAvatar, NcListItem, NcModal, NcProgressBar } from '@nextcloud/vue'
import { hasEnded, isListening } from '../../utils/status.js'
import Episode from './Episode.vue'
import Loading from '../Atoms/Loading.vue'
import Modal from '../Atoms/Modal.vue'
import PlayButton from 'vue-material-design-icons/Play.vue'
import StopButton from 'vue-material-design-icons/Stop.vue'
import axios from '@nextcloud/axios'
import { decodeUrl } from '../../utils/url.js'
import { formatLocaleDate } from '../../utils/time.js'
import { generateUrl } from '@nextcloud/router'
import { showError } from '@nextcloud/dialogs'
import { mapState } from 'pinia'
import { showError } from '../../utils/toast.js'
import { usePlayer } from '../../store/player.js'
import { useSettings } from '../../store/settings.js'
export default {
name: 'Episodes',
components: {
Episode,
Loading,
Modal,
NcActionButton,
NcAvatar,
NcListItem,
NcModal,
NcProgressBar,
PlayButton,
StopButton,
},
data() {
return {
episodes: [],
loading: true,
modalEpisode: null,
}
},
data: () => ({
episodes: [],
loading: true,
}),
computed: {
currentEpisode() {
return this.$store.state.player.episode
},
filters() {
return this.$store.state.settings.filters
},
...mapState(usePlayer, ['episode']),
...mapState(useSettings, ['filters']),
filteredEpisodes() {
return this.episodes.filter((episode) => {
if (!this.filters.listened && this.hasEnded(episode)) {
@ -112,11 +57,26 @@ export default {
return decodeUrl(this.$route.params.url)
},
},
watch: {
episode() {
if (this.episode) {
this.episodes = this.episodes.map((e) =>
e.url === this.episode.url ? this.episode : e,
)
}
},
},
async mounted() {
try {
this.loading = true
const episodes = await axios.get(generateUrl('/apps/repod/episodes/list?url={url}', { url: this.url }))
this.episodes = [...episodes.data].sort((a, b) => new Date(b.pubDate?.date) - new Date(a.pubDate?.date))
const episodes = await axios.get(
generateUrl('/apps/repod/episodes/list?url={url}', {
url: this.url,
}),
)
this.episodes = [...episodes.data].sort(
(a, b) => new Date(b.pubDate?.date) - new Date(a.pubDate?.date),
)
} catch (e) {
console.error(e)
showError(t('repod', 'Could not fetch episodes'))
@ -125,33 +85,8 @@ export default {
}
},
methods: {
formatLocaleDate,
hasEnded(episode) {
return episode.action && (episode.action.action === 'DELETE' || (
episode.action.position > 0
&& episode.action.total > 0
&& episode.action.position >= episode.action.total
))
},
isCurrentEpisode(episode) {
return this.currentEpisode && this.currentEpisode.url === episode.url
},
isListening(episode) {
return episode.action && episode.action.action === 'PLAY' && !this.hasEnded(episode)
},
load(episode) {
this.$store.dispatch('player/load', episode)
},
hasEnded,
isListening,
},
}
</script>
<style scoped>
.ended {
opacity: .4;
}
.progress {
margin-top: .4rem;
}
</style>

View File

@ -0,0 +1,108 @@
<template>
<NcGuestContent class="guest">
<Loading v-if="!currentFavoriteData" />
<NcAvatar
v-if="currentFavoriteData"
class="avatar"
:display-name="currentFavoriteData.author || currentFavoriteData.title"
:is-no-user="true"
:size="222"
:url="currentFavoriteData.imageUrl" />
<div class="list">
<h2 class="title">{{ currentFavoriteData.title }}</h2>
<Loading v-if="loading" />
<ul v-if="!loading">
<Episode
v-for="episode in episodes"
:key="episode.guid"
:episode="episode"
:one-line="true"
:url="url" />
</ul>
</div>
</NcGuestContent>
</template>
<script>
import { NcAvatar, NcGuestContent } from '@nextcloud/vue'
import Episode from './Episode.vue'
import Loading from '../Atoms/Loading.vue'
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import { hasEnded } from '../../utils/status.js'
import { mapState } from 'pinia'
import { showError } from '../../utils/toast.js'
import { useSubscriptions } from '../../store/subscriptions.js'
export default {
name: 'Favorite',
components: {
Episode,
Loading,
NcAvatar,
NcGuestContent,
},
props: {
url: {
type: String,
required: true,
},
},
data: () => ({
episodes: [],
loading: true,
}),
computed: {
...mapState(useSubscriptions, ['getFavorites']),
currentFavoriteData() {
return this.getFavorites.find((fav) => fav.url === this.url)
},
},
async mounted() {
try {
this.loading = true
const episodes = await axios.get(
generateUrl('/apps/repod/episodes/list?url={url}', {
url: this.url,
}),
)
this.episodes = [...episodes.data]
.sort(
(a, b) => new Date(b.pubDate?.date) - new Date(a.pubDate?.date),
)
.filter((episode) => !this.hasEnded(episode))
.slice(0, 4)
} catch (e) {
console.error(e)
showError(t('repod', 'Could not fetch episodes'))
} finally {
this.loading = false
}
},
methods: {
hasEnded,
},
}
</script>
<style scoped>
.guest {
display: flex;
flex-wrap: wrap;
gap: 1rem;
}
.list {
flex: 1;
}
.title {
text-align: center;
}
@media only screen and (max-width: 768px) {
.avatar {
display: none;
}
}
</style>

View File

@ -1,10 +1,10 @@
<template>
<div v-if="player.episode" class="footer">
<img class="background" :src="player.episode.image">
<Loading v-if="!player.loaded" />
<ProgressBar v-if="player.loaded" />
<div v-if="player.loaded" class="player">
<img :src="player.episode.image">
<div v-if="episode" class="footer">
<img class="background" :src="episode.image" />
<Loading v-if="!loaded" />
<ProgressBar v-if="loaded" />
<div v-if="loaded" class="player">
<img :src="episode.image" />
<Infos class="infos" />
<Controls class="controls" />
<Timer class="timer" />
@ -20,6 +20,8 @@ import Loading from '../Atoms/Loading.vue'
import ProgressBar from './ProgressBar.vue'
import Timer from './Timer.vue'
import Volume from './Volume.vue'
import { mapState } from 'pinia'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Bar',
@ -32,57 +34,56 @@ export default {
Volume,
},
computed: {
player() {
return this.$store.state.player
},
...mapState(usePlayer, ['episode', 'loaded']),
},
}
</script>
<style scoped>
.background {
filter: blur(1rem) brightness(50%);
height: auto;
left: 0;
opacity: .4;
position: absolute;
top: 0;
width: 100%;
z-index: -1;
}
.footer {
background-color: var(--color-main-background);
bottom: 0;
height: 6rem;
right: 0;
position: absolute;
width: 100%;
z-index: 2000;
}
.player {
display: flex;
gap: 1rem;
height: 6rem;
justify-content: space-between;
}
.timer {
width: 30%;
.background {
filter: blur(1rem) brightness(50%);
height: auto;
left: 0;
opacity: 0.4;
position: absolute;
top: 0;
width: 100%;
z-index: -1;
}
.footer {
background-color: var(--color-main-background);
bottom: 0;
height: 6rem;
right: 0;
position: absolute;
width: 100%;
z-index: 2000;
}
.player {
display: flex;
gap: 1rem;
height: 6rem;
justify-content: space-between;
}
.timer {
width: 30%;
}
.volume {
width: 10%;
}
@media only screen and (max-width: 768px) {
.infos {
flex: 1;
}
.timer,
.volume {
width: 10%;
}
@media only screen and (max-width: 768px) {
.infos {
flex: 2;
}
.timer, .volume {
display: none;
}
display: none;
}
}
</style>

View File

@ -1,40 +1,37 @@
<template>
<div class="controls">
<PauseButton v-if="!player.paused"
class="pointer"
:size="50"
@click="$store.dispatch('player/pause')" />
<PlayButton v-if="player.paused"
class="pointer"
:size="50"
@click="$store.dispatch('player/play')" />
<PauseIcon v-if="!paused" class="pointer" :size="50" @click="pause" />
<PlayIcon v-if="paused" class="pointer" :size="50" @click="play" />
</div>
</template>
<script>
import PauseButton from 'vue-material-design-icons/Pause.vue'
import PlayButton from 'vue-material-design-icons/Play.vue'
import { mapActions, mapState } from 'pinia'
import PauseIcon from 'vue-material-design-icons/Pause.vue'
import PlayIcon from 'vue-material-design-icons/Play.vue'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Controls',
components: {
PauseButton,
PlayButton,
PauseIcon,
PlayIcon,
},
computed: {
player() {
return this.$store.state.player
},
...mapState(usePlayer, ['paused']),
},
methods: {
...mapActions(usePlayer, ['play', 'pause']),
},
}
</script>
<style scoped>
.controls {
display: flex;
}
.controls {
display: flex;
}
.pointer {
cursor: pointer;
}
.pointer {
cursor: pointer;
}
</style>

View File

@ -1,19 +1,13 @@
<template>
<div class="root">
<strong class="pointer" @click="modal = true">
{{ player.episode.name }}
{{ episode.name }}
</strong>
<router-link :to="hash">
<i>{{ player.episode.title }}</i>
<router-link :to="toFeedUrl(podcastUrl)">
<i>{{ episode.title }}</i>
</router-link>
<NcModal v-if="modal" @close="modal = false">
<Modal :description="player.episode.description"
:image="player.episode.image"
:link="player.episode.link"
:name="player.episode.name"
:size="player.episode.size"
:title="player.episode.title"
:url="player.episode.url" />
<Modal :episode="episode" />
</NcModal>
</div>
</template>
@ -21,7 +15,9 @@
<script>
import Modal from '../Atoms/Modal.vue'
import { NcModal } from '@nextcloud/vue'
import { toUrl } from '../../utils/url.js'
import { mapState } from 'pinia'
import { toFeedUrl } from '../../utils/url.js'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Infos',
@ -29,31 +25,27 @@ export default {
Modal,
NcModal,
},
data() {
return {
modal: false,
}
},
data: () => ({
modal: false,
}),
computed: {
player() {
return this.$store.state.player
},
hash() {
return toUrl(this.player.podcastUrl)
},
...mapState(usePlayer, ['episode', 'podcastUrl']),
},
methods: {
toFeedUrl,
},
}
</script>
<style scoped>
.pointer {
cursor: pointer;
}
.pointer {
cursor: pointer;
}
.root {
display: flex;
flex-direction: column;
justify-content: center;
width: 40%;
}
.root {
display: flex;
flex-direction: column;
justify-content: center;
width: 40%;
}
</style>

View File

@ -1,29 +1,34 @@
<template>
<input class="progress"
:max="player.duration"
<input
class="progress"
:max="duration"
min="0"
type="range"
:value="player.currentTime"
@change="(event) => $store.dispatch('player/seek', event.target.value)">
:value="currentTime"
@change="(event) => seek(event.target.value)" />
</template>
<script>
import { mapActions, mapState } from 'pinia'
import { usePlayer } from '../../store/player.js'
export default {
name: 'ProgressBar',
computed: {
player() {
return this.$store.state.player
},
...mapState(usePlayer, ['duration', 'currentTime']),
},
methods: {
...mapActions(usePlayer, ['seek']),
},
}
</script>
<style scoped>
.progress {
height: 4px;
min-height: 4px;
position: absolute;
top: -2px;
width: 99%;
}
.progress {
height: 4px;
min-height: 4px;
position: absolute;
top: -2px;
width: 99%;
}
</style>

View File

@ -1,20 +1,20 @@
<template>
<div>
<span>{{ formatTimer(new Date(player.currentTime*1000)) }}</span>
<div class="root">
<span>{{ formatTimer(new Date(currentTime * 1000)) }}</span>
<span>/</span>
<span>{{ formatTimer(new Date(player.duration*1000)) }}</span>
<span>{{ formatTimer(new Date(duration * 1000)) }}</span>
</div>
</template>
<script>
import { formatTimer } from '../../utils/time.js'
import { mapState } from 'pinia'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Timer',
computed: {
player() {
return this.$store.state.player
},
...mapState(usePlayer, ['duration', 'currentTime']),
},
methods: {
formatTimer,
@ -23,10 +23,10 @@ export default {
</script>
<style scoped>
div {
align-items: center;
display: flex;
gap: 5px;
justify-content: center;
}
.root {
align-items: center;
display: flex;
gap: 5px;
justify-content: center;
}
</style>

View File

@ -1,77 +1,81 @@
<template>
<div>
<VolumeHigh v-if="player.volume > 0.7"
<VolumeHighIcon
v-if="volume > 0.7"
class="pointer"
:size="30"
@click="mute" />
<VolumeLow v-if="player.volume > 0 && player.volume <= 0.3"
<VolumeLowIcon
v-if="volume > 0 && volume <= 0.3"
class="pointer"
:size="30"
@click="mute" />
<VolumeMedium v-if="player.volume > 0.3 && player.volume <= 0.7"
<VolumeMediumIcon
v-if="volume > 0.3 && volume <= 0.7"
class="pointer"
:size="30"
@click="mute" />
<VolumeMute v-if="player.volume === 0"
<VolumeMuteIcon
v-if="volume === 0"
class="pointer"
:size="30"
@click="$store.dispatch('player/volume', volumeMuted)" />
<input max="1"
@click="setVolume(volumeMuted)" />
<input
max="1"
min="0"
step="0.1"
type="range"
:value="player.volume"
@change="(event) => $store.dispatch('player/volume', event.target.value)">
:value="volume"
@change="(event) => setVolume(event.target.value)" />
</div>
</template>
<script>
import VolumeHigh from 'vue-material-design-icons/VolumeHigh.vue'
import VolumeLow from 'vue-material-design-icons/VolumeLow.vue'
import VolumeMedium from 'vue-material-design-icons/VolumeMedium.vue'
import VolumeMute from 'vue-material-design-icons/VolumeMute.vue'
import { mapActions, mapState } from 'pinia'
import VolumeHighIcon from 'vue-material-design-icons/VolumeHigh.vue'
import VolumeLowIcon from 'vue-material-design-icons/VolumeLow.vue'
import VolumeMediumIcon from 'vue-material-design-icons/VolumeMedium.vue'
import VolumeMuteIcon from 'vue-material-design-icons/VolumeMute.vue'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Volume',
components: {
VolumeHigh,
VolumeLow,
VolumeMedium,
VolumeMute,
},
data() {
return {
volumeMuted: 0,
}
VolumeHighIcon,
VolumeLowIcon,
VolumeMediumIcon,
VolumeMuteIcon,
},
data: () => ({
volumeMuted: 0,
}),
computed: {
player() {
return this.$store.state.player
},
...mapState(usePlayer, ['volume']),
},
methods: {
...mapActions(usePlayer, ['setVolume']),
mute() {
this.volumeMuted = this.player.volume
this.$store.dispatch('player/volume', 0)
this.volumeMuted = this.volume
this.setVolume(0)
},
},
}
</script>
<style scoped>
div {
align-items: center;
display: flex;
gap: 5px;
justify-content: flex-end;
}
div {
align-items: center;
display: flex;
gap: 5px;
justify-content: flex-end;
}
input {
transform: rotate(270deg);
width: 4rem;
}
input {
transform: rotate(270deg);
width: 4rem;
}
.pointer {
cursor: pointer;
}
.pointer {
cursor: pointer;
}
</style>

View File

@ -1,5 +1,6 @@
<template>
<NcAppNavigationItem :href="generateUrl('/apps/repod/opml/export')"
<NcAppNavigationItem
:href="generateUrl('/apps/repod/opml/export')"
:name="t('repod', 'Export subscriptions')">
<template #icon>
<ExportIcon :size="20" />

View File

@ -1,53 +1,71 @@
<template>
<NcAppNavigationItem :allow-collapse="true"
<NcAppNavigationItem
:allow-collapse="true"
menu-placement="top"
:name="t('repod', 'Filtering episodes')">
<template #actions>
<NcActionCheckbox :checked="all"
<NcActionCheckbox
:disabled="all"
@update:checked="(checked) => $store.commit('settings/filters', { listened: checked, listening: checked, unlistened: checked })">
:model-value="all"
@change="
setFilters({
listened: true,
listening: true,
unlistened: true,
})
">
{{ t('repod', 'Show all') }}
</NcActionCheckbox>
<NcActionCheckbox :checked="filters.listened"
@update:checked="(checked) => $store.commit('settings/filters', { listened: checked })">
<NcActionCheckbox
:model-value="filters.listened"
@change="setFilters({ listened: !filters.listened })">
{{ t('repod', 'Listened') }}
</NcActionCheckbox>
<NcActionCheckbox :checked="filters.listening"
@update:checked="(checked) => $store.commit('settings/filters', { listening: checked })">
<NcActionCheckbox
:model-value="filters.listening"
@change="setFilters({ listening: !filters.listening })">
{{ t('repod', 'Listening') }}
</NcActionCheckbox>
<NcActionCheckbox :checked="filters.unlistened"
@update:checked="(checked) => $store.commit('settings/filters', { unlistened: checked })">
<NcActionCheckbox
:model-value="filters.unlistened"
@change="setFilters({ unlistened: !filters.unlistened })">
{{ t('repod', 'Unlistened') }}
</NcActionCheckbox>
</template>
<template #icon>
<FilterIcon v-if="all" :size="20" />
<FilterSettings v-if="!all" :size="20" />
<FilterSettingsIcon v-if="!all" :size="20" />
</template>
</NcAppNavigationItem>
</template>
<script>
import { NcActionCheckbox, NcAppNavigationItem } from '@nextcloud/vue'
import { mapActions, mapState } from 'pinia'
import FilterIcon from 'vue-material-design-icons/Filter.vue'
import FilterSettings from 'vue-material-design-icons/FilterSettings.vue'
import FilterSettingsIcon from 'vue-material-design-icons/FilterSettings.vue'
import { useSettings } from '../../store/settings.js'
export default {
name: 'Filters',
components: {
FilterIcon,
FilterSettings,
FilterSettingsIcon,
NcAppNavigationItem,
NcActionCheckbox,
},
computed: {
...mapState(useSettings, ['filters']),
all() {
return this.filters.listened && this.filters.listening && this.filters.unlistened
},
filters() {
return this.$store.state.settings.filters
return (
this.filters.listened &&
this.filters.listening &&
this.filters.unlistened
)
},
},
methods: {
...mapActions(useSettings, ['setFilters']),
},
}
</script>

View File

@ -1,19 +1,23 @@
<template>
<NcAppNavigationItem :name="t('repod', 'Import subscriptions')" @click="modal = true">
<NcAppNavigationItem
:name="t('repod', 'Import subscriptions')"
@click="modal = true">
<template #extra>
<NcModal v-if="modal" @close="modal = false">
<div class="modal">
<h2>{{ t('repod', 'Import OPML file') }}</h2>
<form v-if="!loading"
<form
v-if="!loading"
:action="generateUrl('/apps/repod/opml/import')"
enctype="multipart/form-data"
method="post"
@submit.prevent="importOpml">
<input accept="application/xml,.opml"
<input
accept="application/xml,.opml"
name="import"
required
type="file">
<input type="submit">
type="file" />
<input type="submit" />
</form>
<Loading v-if="loading" />
</div>
@ -40,12 +44,10 @@ export default {
NcAppNavigationItem,
NcModal,
},
data() {
return {
loading: false,
modal: false,
}
},
data: () => ({
loading: false,
modal: false,
}),
methods: {
generateUrl,
async importOpml(event) {
@ -64,10 +66,10 @@ export default {
</script>
<style scoped>
.modal {
align-items: center;
display: flex;
flex-direction: column;
margin: 2rem;
}
.modal {
align-items: center;
display: flex;
flex-direction: column;
margin: 2rem;
}
</style>

View File

@ -0,0 +1,22 @@
<template>
<NcAppNavigationItem
href="https://apps.nextcloud.com/apps/repod#comments"
:name="t('repod', 'Rate RePod ❤️')">
<template #icon>
<StarIcon :size="20" />
</template>
</NcAppNavigationItem>
</template>
<script>
import { NcAppNavigationItem } from '@nextcloud/vue'
import StarIcon from 'vue-material-design-icons/Star.vue'
export default {
name: 'Rate',
components: {
NcAppNavigationItem,
StarIcon,
},
}
</script>

View File

@ -0,0 +1,30 @@
<template>
<NcAppNavigationSettings>
<Filters />
<Speed />
<Import />
<Export />
<Rate />
</NcAppNavigationSettings>
</template>
<script>
import Export from './Export.vue'
import Filters from './Filters.vue'
import Import from './Import.vue'
import { NcAppNavigationSettings } from '@nextcloud/vue'
import Rate from './Rate.vue'
import Speed from './Speed.vue'
export default {
name: 'Settings',
components: {
Export,
Filters,
Import,
NcAppNavigationSettings,
Rate,
Speed,
},
}
</script>

View File

@ -2,70 +2,65 @@
<NcAppNavigationItem :name="t('repod', 'Playback speed')">
<template #extra>
<div class="extra">
<Minus class="pointer"
:size="20"
@click="changeRate(-.1)" />
<NcCounterBubble class="counter">
x{{ player.rate }}
</NcCounterBubble>
<Plus class="pointer"
:size="20"
@click="changeRate(.1)" />
<MinusIcon class="pointer" :size="20" @click="changeRate(-0.1)" />
<NcCounterBubble class="counter">x{{ rate }}</NcCounterBubble>
<PlusIcon class="pointer" :size="20" @click="changeRate(0.1)" />
</div>
</template>
<template #icon>
<SpeedometerSlow v-if="player.rate < 1" :size="20" />
<SpeedometerMedium v-if="player.rate === 1" :size="20" />
<Speedometer v-if="player.rate > 1" :size="20" />
<SpeedometerSlowIcon v-if="rate < 1" :size="20" />
<SpeedometerMediumIcon v-if="rate === 1" :size="20" />
<SpeedometerIcon v-if="rate > 1" :size="20" />
</template>
</NcAppNavigationItem>
</template>
<script>
import { NcAppNavigationItem, NcCounterBubble } from '@nextcloud/vue'
import Minus from 'vue-material-design-icons/Minus.vue'
import Plus from 'vue-material-design-icons/Plus.vue'
import Speedometer from 'vue-material-design-icons/Speedometer.vue'
import SpeedometerMedium from 'vue-material-design-icons/SpeedometerMedium.vue'
import SpeedometerSlow from 'vue-material-design-icons/SpeedometerSlow.vue'
import { mapActions, mapState } from 'pinia'
import MinusIcon from 'vue-material-design-icons/Minus.vue'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import SpeedometerIcon from 'vue-material-design-icons/Speedometer.vue'
import SpeedometerMediumIcon from 'vue-material-design-icons/SpeedometerMedium.vue'
import SpeedometerSlowIcon from 'vue-material-design-icons/SpeedometerSlow.vue'
import { usePlayer } from '../../store/player.js'
export default {
name: 'Speed',
components: {
NcAppNavigationItem,
NcCounterBubble,
Minus,
Plus,
Speedometer,
SpeedometerMedium,
SpeedometerSlow,
MinusIcon,
PlusIcon,
SpeedometerIcon,
SpeedometerMediumIcon,
SpeedometerSlowIcon,
},
computed: {
player() {
return this.$store.state.player
},
...mapState(usePlayer, ['rate']),
},
methods: {
...mapActions(usePlayer, ['setRate']),
changeRate(diff) {
const newRate = (this.player.rate + diff).toPrecision(2)
this.$store.dispatch('player/rate', newRate > 0 ? newRate : this.player.rate)
const newRate = (this.rate + diff).toPrecision(2)
this.setRate(newRate > 0 ? newRate : this.rate)
},
},
}
</script>
<style scoped>
.counter {
height: 20px;
}
.counter {
height: 20px;
}
.extra {
align-items: center;
display: flex;
gap: .5rem;
}
.extra {
align-items: center;
display: flex;
gap: 0.5rem;
}
.pointer {
cursor: pointer;
}
.pointer {
cursor: pointer;
}
</style>

View File

@ -1,87 +0,0 @@
<template>
<NcAppNavigationItem :loading="loading"
:name="feed ? feed.title : url"
:to="hash">
<template #actions>
<NcActionButton @click="deleteSubscription">
<template #icon>
<Delete :size="20" />
</template>
{{ t(`core`, 'Delete') }}
</NcActionButton>
</template>
<template #icon>
<NcAvatar v-if="feed"
:display-name="feed.author || feed.title"
:is-no-user="true"
:url="feed.imageUrl" />
<Alert v-if="failed" />
</template>
</NcAppNavigationItem>
</template>
<script>
import { NcActionButton, NcAppNavigationItem, NcAvatar } from '@nextcloud/vue'
import Alert from 'vue-material-design-icons/Alert.vue'
import Delete from 'vue-material-design-icons/Delete.vue'
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import { showError } from '@nextcloud/dialogs'
import { toUrl } from '../../utils/url.js'
export default {
name: 'Item',
components: {
Alert,
Delete,
NcActionButton,
NcAppNavigationItem,
NcAvatar,
},
props: {
url: {
type: String,
required: true,
},
},
data() {
return {
failed: false,
loading: true,
feed: null,
}
},
computed: {
hash() {
return toUrl(this.url)
},
},
async mounted() {
try {
const podcastData = await axios.get(generateUrl('/apps/gpoddersync/personal_settings/podcast_data?url={url}', { url: this.url }))
this.feed = podcastData.data.data
} catch (e) {
this.failed = true
console.error(e)
} finally {
this.loading = false
}
},
methods: {
async deleteSubscription() {
if (confirm(t('repod', 'Are you sure you want to delete this subscription?'))) {
try {
this.loading = true
await axios.post(generateUrl('/apps/gpoddersync/subscription_change/create'), { add: [], remove: [this.url] })
} catch (e) {
console.error(e)
showError(t('repod', 'Error while removing the feed'))
} finally {
this.loading = false
this.$store.dispatch('subscriptions/fetch')
}
}
},
},
}
</script>

View File

@ -0,0 +1,155 @@
<template>
<NcAppNavigationItem
:loading="loading"
:name="feed ? feed.title : url"
:to="toFeedUrl(url)">
<template #actions>
<NcActionButton
:aria-label="t('repod', 'Favorite')"
:model-value="isFavorite"
:name="t('repod', 'Favorite')"
:title="t('repod', 'Favorite')"
@update:modelValue="switchFavorite($event)">
<template #icon>
<StarPlusIcon v-if="!isFavorite" :size="20" />
<StarRemoveIcon v-if="isFavorite" :size="20" />
</template>
</NcActionButton>
<NcActionButton
:aria-label="t(`core`, 'Delete')"
:name="t(`core`, 'Delete')"
:title="t(`core`, 'Delete')"
@click="deleteSubscription">
<template #icon>
<DeleteIcon :size="20" />
</template>
</NcActionButton>
</template>
<template #icon>
<NcAvatar
v-if="feed"
:display-name="feed.author || feed.title"
:is-no-user="true"
:url="feed.imageUrl" />
<StarIcon v-if="feed && isFavorite" class="star" :size="20" />
<AlertIcon v-if="failed" />
</template>
</NcAppNavigationItem>
</template>
<script>
import { NcActionButton, NcAppNavigationItem, NcAvatar } from '@nextcloud/vue'
import { mapActions, mapState } from 'pinia'
import AlertIcon from 'vue-material-design-icons/Alert.vue'
import DeleteIcon from 'vue-material-design-icons/Delete.vue'
import StarIcon from 'vue-material-design-icons/Star.vue'
import StarPlusIcon from 'vue-material-design-icons/StarPlus.vue'
import StarRemoveIcon from 'vue-material-design-icons/StarRemove.vue'
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import { showError } from '../../utils/toast.js'
import { toFeedUrl } from '../../utils/url.js'
import { useSubscriptions } from '../../store/subscriptions.js'
export default {
name: 'Subscription',
components: {
AlertIcon,
DeleteIcon,
NcActionButton,
NcAppNavigationItem,
NcAvatar,
StarIcon,
StarPlusIcon,
StarRemoveIcon,
},
props: {
url: {
type: String,
required: true,
},
},
data: () => ({
failed: false,
loading: true,
feed: null,
}),
computed: {
...mapState(useSubscriptions, ['getFavorites']),
isFavorite() {
return this.getFavorites.map((fav) => fav.url).includes(this.url)
},
},
async mounted() {
try {
const podcastData = await axios.get(
generateUrl(
'/apps/gpoddersync/personal_settings/podcast_data?url={url}',
{
url: this.url,
},
),
)
this.feed = podcastData.data.data
this.editFavoriteData(this.url, podcastData.data.data)
} catch (e) {
this.failed = true
console.error(e)
} finally {
this.loading = false
}
},
methods: {
...mapActions(useSubscriptions, [
'fetch',
'addFavorite',
'editFavoriteData',
'removeFavorite',
]),
toFeedUrl,
async deleteSubscription() {
if (
confirm(
t('repod', 'Are you sure you want to delete this subscription?'),
)
) {
try {
this.loading = true
await axios.post(
generateUrl('/apps/gpoddersync/subscription_change/create'),
{ add: [], remove: [this.url] },
)
} catch (e) {
console.error(e)
showError(t('repod', 'Error while removing the feed'))
} finally {
this.removeFavorite(this.url)
this.loading = false
this.fetch()
}
}
},
switchFavorite(value) {
if (value) {
if (this.getFavorites.length >= 10) {
showError(t('repod', 'You can only have 10 favorites'))
return
}
this.addFavorite(this.url)
} else {
this.removeFavorite(this.url)
}
},
},
}
</script>
<style scoped>
.star {
bottom: 2px;
color: yellow;
left: 22px;
position: absolute;
}
</style>

View File

@ -2,72 +2,71 @@
<AppNavigation>
<template #list>
<NcAppContentList>
<router-link to="/">
<router-link to="/discover">
<NcAppNavigationNew :text="t('repod', 'Add a podcast')">
<template #icon>
<Plus :size="20" />
<PlusIcon :size="20" />
</template>
</NcAppNavigationNew>
</router-link>
<Loading v-if="loading" />
<ul v-if="!loading">
<Item v-for="subscriptionUrl of subscriptions"
:key="subscriptionUrl"
:url="subscriptionUrl" />
</ul>
<NcAppNavigationList v-if="!loading">
<Subscription
v-for="url of getFavorites.map((fav) => fav.url)"
:key="url"
:url="url" />
<Subscription
v-for="url of getSubscriptions.filter(
(sub) =>
!getFavorites.map((fav) => fav.url).includes(sub),
)"
:key="url"
:url="url" />
</NcAppNavigationList>
</NcAppContentList>
</template>
<template #footer>
<NcAppNavigationSettings>
<Filters />
<Speed />
<Import />
<Export />
</NcAppNavigationSettings>
<Settings />
</template>
</AppNavigation>
</template>
<script>
import { NcAppContentList, NcAppNavigationNew, NcAppNavigationSettings } from '@nextcloud/vue'
import {
NcAppContentList,
NcAppNavigationList,
NcAppNavigationNew,
} from '@nextcloud/vue'
import { mapActions, mapState } from 'pinia'
import AppNavigation from '../Atoms/AppNavigation.vue'
import Export from '../Settings/Export.vue'
import Filters from '../Settings/Filters.vue'
import Import from '../Settings/Import.vue'
import Item from './Item.vue'
import Loading from '../Atoms/Loading.vue'
import Plus from 'vue-material-design-icons/Plus.vue'
import Speed from '../Settings/Speed.vue'
import { showError } from '@nextcloud/dialogs'
import PlusIcon from 'vue-material-design-icons/Plus.vue'
import Settings from '../Settings/Settings.vue'
import Subscription from './Subscription.vue'
import { showError } from '../../utils/toast.js'
import { useSubscriptions } from '../../store/subscriptions.js'
export default {
name: 'Subscriptions',
components: {
AppNavigation,
Export,
Filters,
Import,
Item,
Loading,
NcAppContentList,
NcAppNavigationList,
NcAppNavigationNew,
NcAppNavigationSettings,
Plus,
Speed,
},
data() {
return {
loading: true,
}
PlusIcon,
Settings,
Subscription,
},
data: () => ({
loading: true,
}),
computed: {
subscriptions() {
return this.$store.state.subscriptions.subscriptions
},
...mapState(useSubscriptions, ['getSubscriptions', 'getFavorites']),
},
async mounted() {
try {
await this.$store.dispatch('subscriptions/fetch')
await this.fetch()
} catch (e) {
console.error(e)
showError(t('repod', 'Could not fetch subscriptions'))
@ -75,5 +74,8 @@ export default {
this.loading = false
}
},
methods: {
...mapActions(useSubscriptions, ['fetch']),
},
}
</script>

View File

@ -1,18 +1,13 @@
import { translatePlural as n, translate as t } from '@nextcloud/l10n'
import { n, t } from '@nextcloud/l10n'
import App from './App.vue'
import Vue from 'vue'
import { generateFilePath } from '@nextcloud/router'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import router from './router.js'
import store from './store/main.js'
// eslint-disable-next-line
__webpack_public_path__ = generateFilePath(appName, '', 'js/')
const Vue = createApp(App)
const pinia = createPinia()
Vue.mixin({ methods: { t, n } })
export default new Vue({
el: '#content',
router,
store,
render: h => h(App),
})
Vue.use(pinia)
Vue.use(router)
Vue.mount('#content')

View File

@ -1,20 +1,22 @@
import { createRouter, createWebHistory } from 'vue-router'
import Discover from './views/Discover.vue'
import Feed from './views/Feed.vue'
import Router from 'vue-router'
import Vue from 'vue'
import Home from './views/Home.vue'
import { generateUrl } from '@nextcloud/router'
Vue.use(Router)
const router = new Router({
base: generateUrl('apps/repod'),
const router = createRouter({
history: createWebHistory(generateUrl('apps/repod')),
routes: [
{
path: '/',
component: Home,
},
{
path: '/discover',
component: Discover,
},
{
path: '/:url',
path: '/feed/:url',
component: Feed,
},
],

View File

@ -1,17 +0,0 @@
import Vuex, { Store } from 'vuex'
import Vue from 'vue'
import { player } from './player.js'
import { settings } from './settings.js'
import { subscriptions } from './subscriptions.js'
Vue.use(Vuex)
const store = new Store({
modules: {
player,
settings,
subscriptions,
},
})
export default store

View File

@ -1,24 +1,12 @@
import axios from '@nextcloud/axios'
import { decodeUrl } from '../utils/url.js'
import { defineStore } from 'pinia'
import { formatEpisodeTimestamp } from '../utils/time.js'
import { generateUrl } from '@nextcloud/router'
import router from '../router.js'
import store from './main.js'
const audio = new Audio()
audio.ondurationchange = () => store.commit('player/duration', audio.duration)
audio.onended = () => store.dispatch('player/stop')
audio.onloadeddata = () => store.commit('player/loaded', true)
audio.onplay = () => store.commit('player/paused', false)
audio.onpause = () => store.commit('player/paused', true)
audio.onratechange = () => store.commit('player/rate', audio.playbackRate)
audio.onseeked = () => store.commit('player/currentTime', audio.currentTime)
audio.ontimeupdate = () => store.commit('player/currentTime', audio.currentTime)
audio.onvolumechange = () => store.commit('player/volume', audio.volume)
export const player = {
namespaced: true,
state: {
export const usePlayer = defineStore('player', {
state: () => ({
currentTime: null,
duration: null,
episode: null,
@ -28,102 +16,90 @@ export const player = {
volume: 1,
rate: 1,
started: 0,
},
mutations: {
action: (state, action) => {
state.episode.action = action
}),
actions: {
init() {
audio.ondurationchange = () => (this.duration = audio.duration)
audio.onended = () => this.stop()
audio.onloadeddata = () => (this.loaded = true)
audio.onpause = () => this.pause()
audio.onplay = () => this.play()
audio.onratechange = () => (this.rate = audio.playbackRate)
audio.onseeked = () => (this.currentTime = audio.currentTime)
audio.ontimeupdate = () => (this.currentTime = audio.currentTime)
audio.onvolumechange = () => (this.volume = audio.volume)
},
async load(episode, podcastUrl) {
this.episode = episode
this.podcastUrl = podcastUrl
if (action && action.position && action.position < action.total) {
audio.currentTime = action.position
state.started = audio.currentTime
}
},
currentTime: (state, currentTime) => {
state.currentTime = currentTime
},
duration: (state, duration) => {
state.duration = duration
},
episode: (state, episode) => {
state.episode = episode
if (episode) {
state.podcastUrl = decodeUrl(router.currentRoute.params.url)
audio.src = episode.url
if (this.episode) {
audio.src = this.episode.url
audio.load()
audio.play()
if (episode.action && episode.action.position && episode.action.position < episode.action.total) {
audio.currentTime = episode.action.position
state.started = audio.currentTime
try {
const action = await axios.get(
generateUrl('/apps/repod/episodes/action?url={url}', {
url: this.episode.url,
}),
)
this.episode.action = action.data
} catch {}
if (
this.episode.action &&
this.episode.action.position < this.episode.action.total
) {
audio.currentTime = this.episode.action.position
this.started = audio.currentTime
}
audio.play()
} else {
state.loaded = false
state.podcastUrl = null
this.loaded = false
this.podcastUrl = null
audio.src = ''
}
},
loaded: (state, loaded) => {
state.loaded = loaded
},
paused: (state, paused) => {
state.paused = paused
},
volume: (state, volume) => {
state.volume = volume
},
rate: (state, rate) => {
state.rate = rate
},
started: (state, started) => {
state.started = started
},
},
actions: {
load: async (context, episode) => {
context.commit('episode', episode)
try {
const action = await axios.get(generateUrl('/apps/repod/episodes/action?url={url}', { url: episode.url }))
context.commit('action', action.data)
} catch {}
},
pause: (context) => {
pause() {
audio.pause()
context.dispatch('time')
this.paused = true
this.time()
},
play: (context) => {
play() {
audio.play()
context.commit('started', audio.currentTime)
this.paused = false
this.started = audio.currentTime
},
seek: (context, currentTime) => {
seek(currentTime) {
audio.currentTime = currentTime
context.dispatch('time')
this.time()
},
stop: (context) => {
context.dispatch('pause')
context.commit('episode', null)
stop() {
this.pause()
this.episode = null
},
time: async (context) => axios.post(generateUrl('/apps/gpoddersync/episode_action/create'), [{
podcast: context.state.podcastUrl,
episode: context.state.episode.url,
guid: context.state.episode.guid,
action: 'play',
timestamp: formatEpisodeTimestamp(new Date()),
started: Math.round(context.state.started),
position: Math.round(audio.currentTime),
total: Math.round(audio.duration),
}]),
volume: (_, volume) => {
time() {
this.episode.action = {
podcast: this.podcastUrl,
episode: this.episode.url,
guid: this.episode.guid,
action: 'play',
timestamp: formatEpisodeTimestamp(new Date()),
started: Math.round(this.started),
position: Math.round(audio.currentTime),
total: Math.round(audio.duration),
}
axios.post(generateUrl('/apps/gpoddersync/episode_action/create'), [
this.episode.action,
])
},
setVolume(volume) {
audio.volume = volume
},
rate: (_, rate) => {
setRate(rate) {
audio.playbackRate = rate
},
},
}
setInterval(() => {
if (player.state.paused === false) {
store.dispatch('player/time')
}
}, 40000)
})

View File

@ -1,15 +1,31 @@
export const settings = {
namespaced: true,
state: {
filters: {
listened: true,
listening: true,
unlistened: true,
import { getCookie, setCookie } from '../utils/cookies.js'
import { defineStore } from 'pinia'
export const useSettings = defineStore('settings', {
state: () => {
try {
const filters = JSON.parse(getCookie('repod.filters'))
return {
filters: {
listened: filters.listened,
listening: filters.listening,
unlistened: filters.unlistened,
},
}
} catch {
return {
filters: {
listened: true,
listening: true,
unlistened: true,
},
}
}
},
actions: {
setFilters(filters) {
this.filters = { ...this.filters, ...filters }
setCookie('repod.filters', JSON.stringify(this.filters), 365)
},
},
mutations: {
filters: (state, filters) => {
state.filters = { ...state.filters, ...filters }
},
},
}
})

View File

@ -1,21 +1,58 @@
import { getCookie, setCookie } from '../utils/cookies.js'
import axios from '@nextcloud/axios'
import { defineStore } from 'pinia'
import { generateUrl } from '@nextcloud/router'
export const subscriptions = {
namespaced: true,
state: {
subscriptions: [],
},
mutations: {
set: (state, subscriptions) => {
state.subscriptions = subscriptions
export const useSubscriptions = defineStore('subscriptions', {
state: () => ({
subs: [],
favs: [],
}),
getters: {
getSubscriptions: (state) => {
return state.subs
},
getFavorites: (state) => {
return state.favs
.filter((fav) => state.subs.includes(fav.url))
.sort((fav) => fav.lastPub)
},
},
actions: {
fetch: async (context) => {
const metrics = await axios.get(generateUrl('/apps/gpoddersync/personal_settings/metrics'))
const subs = [...metrics.data.subscriptions].sort((a, b) => b.listenedSeconds - a.listenedSeconds)
context.commit('set', subs.map(sub => sub.url))
async fetch() {
const metrics = await axios.get(
generateUrl('/apps/gpoddersync/personal_settings/metrics'),
)
const subs = [...metrics.data.subscriptions].sort(
(a, b) => b.listenedSeconds - a.listenedSeconds,
)
this.subs = subs.map((sub) => sub.url)
try {
const favs = JSON.parse(getCookie('repod.favorites')) || []
this.favs = favs.map((url) => ({ url }))
} catch {}
},
addFavorite(url) {
this.favs.push({ url })
setCookie(
'repod.favorites',
JSON.stringify(this.favs.map((fav) => fav.url)),
365,
)
},
editFavoriteData(url, data) {
this.favs = this.favs.map((fav) =>
fav.url === url ? { ...fav, ...data } : fav,
)
},
removeFavorite(url) {
this.favs = this.favs.filter((fav) => fav.url !== url)
setCookie(
'repod.favorites',
JSON.stringify(this.favs.map((fav) => fav.url)),
365,
)
},
},
}
})

26
src/utils/cookies.js Normal file
View File

@ -0,0 +1,26 @@
// https://grafikart.fr/tutoriels/javascript-cookies-2079
/**
* Récupère les données associées à un cookie
* @param {string} name Nom du cookie à récupérer
* @return {string|null}
*/
export const getCookie = (name) => {
const cookies = document.cookie.split('; ')
const value = cookies.find((c) => c.startsWith(name + '='))?.split('=')[1]
if (value === undefined) {
return null
}
return decodeURIComponent(value)
}
/**
* Créer ou modifie la valeur d'un cookie avec une durée spécifique
* @param {string} name Nom du cookie
* @param {string} value Value du cookie
* @param {number} days Durée de vie du cookie (en jours)
*/
export const setCookie = (name, value, days) => {
const date = new Date()
date.setDate(date.getDate() + days)
document.cookie = `${name}=${encodeURIComponent(value)}; expires=${date.toUTCString()}; SameSite=Strict;`
}

View File

@ -1,11 +1,11 @@
// https://stackoverflow.com/a/53486112
export const debounce = (fn, delay) => {
let timeoutID = null
return function() {
return function () {
clearTimeout(timeoutID)
const args = arguments
const that = this
timeoutID = setTimeout(function() {
timeoutID = setTimeout(function () {
fn.apply(that, args)
}, delay)
}

View File

@ -1,5 +1,9 @@
// https://stackoverflow.com/a/20732091
export const humanFileSize = (size) => {
const i = size === 0 ? 0 : Math.floor(Math.log(size) / Math.log(1024))
return (size / Math.pow(1024, i)).toFixed(2) * 1 + ' ' + ['B', 'kB', 'MB', 'GB', 'TB'][i]
return (
(size / Math.pow(1024, i)).toFixed(2) * 1 +
' ' +
['B', 'kB', 'MB', 'GB', 'TB'][i]
)
}

14
src/utils/status.js Normal file
View File

@ -0,0 +1,14 @@
export const hasEnded = (episode) =>
episode.action &&
episode.action.action &&
(episode.action.action.toLowerCase() === 'delete' ||
(episode.action.position > 0 &&
episode.action.total > 0 &&
episode.action.position >= episode.action.total))
export const isListening = (episode) =>
episode.action &&
episode.action.action &&
episode.action.action.toLowerCase() === 'play' &&
episode.action.position > 0 &&
!hasEnded(episode)

View File

@ -1,7 +0,0 @@
// https://stackoverflow.com/a/5002618
export const cleanHtml = (text) => {
const pre = document.createElement('pre')
pre.innerHTML = text.replace(/<br\s*\/?>/mg, '\n')
const strippedText = pre.textContent || pre.innerText || ''
return strippedText.replace(/\n/mg, '<br>')
}

View File

@ -36,4 +36,18 @@ export const formatEpisodeTimestamp = (date) => {
* @param {Date} date The date
* @return {string}
*/
export const formatLocaleDate = (date) => date.toLocaleDateString(undefined, { dateStyle: 'medium' })
export const formatLocaleDate = (date) =>
date.toLocaleDateString(undefined, { dateStyle: 'medium' })
/**
* Returns the number of seconds from a duration feed's entry
* @param {string} duration The duration feed's entry
* @return {number}
*/
export const durationToSeconds = (duration) => {
const splitDuration = duration.split(':').reverse()
let seconds = parseInt(splitDuration[0])
seconds += splitDuration.length > 1 ? parseInt(splitDuration[1]) * 60 : 0
seconds += splitDuration.length > 2 ? parseInt(splitDuration[2]) * 60 * 60 : 0
return seconds
}

12
src/utils/toast.js Normal file
View File

@ -0,0 +1,12 @@
import toastify from 'toastify-js'
export const showMessage = (text, backgroundColor) =>
toastify({
text,
backgroundColor,
}).showToast()
export const showError = (text) => showMessage(text, 'var(--color-error)')
export const showWarning = (text) => showMessage(text, 'var(--color-warning)')
export const showInfo = (text) => showMessage(text, 'var(--color-primary)')
export const showSuccess = (text) => showMessage(text, 'var(--color-success)')

View File

@ -1,3 +1,4 @@
export const encodeUrl = (url) => encodeURIComponent(btoa(url))
export const decodeUrl = (url) => atob(decodeURIComponent(url))
export const toUrl = (url) => `/${encodeUrl(url)}`
export const toFeedUrl = (url) => `/feed/${encodeUrl(url)}`
export const filenameFromUrl = (url) => new URL(url).pathname.split('/').pop()

View File

@ -1,11 +1,13 @@
<template>
<AppContent class="main">
<NcTextField :label="t('repod', 'Find a podcast')" :value.sync="search">
<Magnify :size="20" />
<AppContent class="padding">
<NcTextField v-model="search" :label="t('repod', 'Find a podcast')">
<template #icon>
<Magnify :size="20" />
</template>
</NcTextField>
<Search v-if="search" :value="search" />
<Tops v-if="!search" type="hot" />
<Tops v-if="!search" type="new" />
<Toplist v-if="!search" type="hot" />
<Toplist v-if="!search" type="new" />
<AddRss v-if="!search" />
</AppContent>
</template>
@ -16,7 +18,7 @@ import AppContent from '../components/Atoms/AppContent.vue'
import Magnify from 'vue-material-design-icons/Magnify.vue'
import { NcTextField } from '@nextcloud/vue'
import Search from '../components/Discover/Search.vue'
import Tops from '../components/Discover/Tops.vue'
import Toplist from '../components/Discover/Toplist.vue'
export default {
name: 'Discover',
@ -26,18 +28,16 @@ export default {
Magnify,
NcTextField,
Search,
Tops,
},
data() {
return {
search: '',
}
Toplist,
},
data: () => ({
search: '',
}),
}
</script>
<style scoped>
.main {
padding: 15px 51px;
}
.padding {
padding: 15px 51px;
}
</style>

View File

@ -1,14 +1,13 @@
<template>
<AppContent>
<Loading v-if="loading" />
<NcEmptyContent v-if="failed"
class="error"
:name="t('repod', 'Error loading feed')">
<EmptyContent v-if="failed" :name="t('repod', 'Error loading feed')">
<template #icon>
<Alert />
</template>
</NcEmptyContent>
<Banner v-if="feed"
</EmptyContent>
<Banner
v-if="feed"
:author="feed.author"
:description="feed.description"
:image-url="feed.imageUrl"
@ -22,9 +21,9 @@
import Alert from 'vue-material-design-icons/Alert.vue'
import AppContent from '../components/Atoms/AppContent.vue'
import Banner from '../components/Feed/Banner.vue'
import EmptyContent from '../components/Atoms/EmptyContent.vue'
import Episodes from '../components/Feed/Episodes.vue'
import Loading from '../components/Atoms/Loading.vue'
import { NcEmptyContent } from '@nextcloud/vue'
import axios from '@nextcloud/axios'
import { decodeUrl } from '../utils/url.js'
import { generateUrl } from '@nextcloud/router'
@ -35,17 +34,15 @@ export default {
Alert,
AppContent,
Banner,
EmptyContent,
Episodes,
Loading,
NcEmptyContent,
},
data() {
return {
failed: false,
loading: true,
feed: null,
}
},
data: () => ({
failed: false,
loading: true,
feed: null,
}),
computed: {
url() {
return decodeUrl(this.$route.params.url)
@ -53,7 +50,9 @@ export default {
},
async mounted() {
try {
const podcastData = await axios.get(generateUrl('/apps/repod/podcast?url={url}', { url: this.url }))
const podcastData = await axios.get(
generateUrl('/apps/repod/podcast?url={url}', { url: this.url }),
)
this.feed = podcastData.data
} catch (e) {
this.failed = true
@ -64,9 +63,3 @@ export default {
},
}
</script>
<style scoped>
.error {
margin: 2rem;
}
</style>

View File

@ -1,6 +1,6 @@
<template>
<NcAppContent class="content">
<NcEmptyContent :name="t('repod', 'Missing required app')">
<AppContent>
<EmptyContent :name="t('repod', 'Missing required app')">
<template #action>
<NcButton :href="gPodderSyncUrl">
{{ t('repod', 'Install GPodder Sync') }}
@ -9,26 +9,24 @@
<template #icon>
<Alert />
</template>
</NcEmptyContent>
</NcAppContent>
</EmptyContent>
</AppContent>
</template>
<script>
import {
NcAppContent,
NcButton,
NcEmptyContent,
} from '@nextcloud/vue'
import Alert from 'vue-material-design-icons/Alert.vue'
import AppContent from '../components/Atoms/AppContent.vue'
import EmptyContent from '../components/Atoms/EmptyContent.vue'
import { NcButton } from '@nextcloud/vue'
import { generateUrl } from '@nextcloud/router'
export default {
name: 'GPodder',
components: {
Alert,
NcAppContent,
AppContent,
EmptyContent,
NcButton,
NcEmptyContent,
},
computed: {
gPodderSyncUrl() {

41
src/views/Home.vue Normal file
View File

@ -0,0 +1,41 @@
<template>
<AppContent>
<EmptyContent
v-if="!getFavorites.length"
:description="
t('repod', 'Pin some subscriptions to see their latest updates')
"
:name="t('repod', 'No favorites')">
<template #icon>
<StarOffIcon />
</template>
</EmptyContent>
<ul v-if="getFavorites.length">
<li v-for="url in getFavorites.map((fav) => fav.url)" :key="url">
<Favorite :url="url" />
</li>
</ul>
</AppContent>
</template>
<script>
import AppContent from '../components/Atoms/AppContent.vue'
import EmptyContent from '../components/Atoms/EmptyContent.vue'
import Favorite from '../components/Feed/Favorite.vue'
import StarOffIcon from 'vue-material-design-icons/StarOff.vue'
import { mapState } from 'pinia'
import { useSubscriptions } from '../store/subscriptions.js'
export default {
name: 'Home',
components: {
AppContent,
EmptyContent,
Favorite,
StarOffIcon,
},
computed: {
...mapState(useSubscriptions, ['getFavorites']),
},
}
</script>

View File

@ -1,3 +1,3 @@
const stylelintConfig = require('@nextcloud/stylelint-config')
module.exports = stylelintConfig
module.exports = {
extends: 'stylelint-config-recommended-vue',
}

View File

@ -1,4 +1 @@
<?php
declare(strict_types=1);
?>
<div id="content"></div>

View File

@ -0,0 +1,162 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the Nextcloud package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Nextcloud 3.14159\n"
"Report-Msgid-Bugs-To: translations\\@example.com\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: OiledAmoeba <florian+crystalyx@ruhnke.cloud>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
msgid "RePod Subscriptions"
msgstr "RePod Abonnements"
msgid "Podcast"
msgstr "Podcast"
msgid "RePod"
msgstr "RePod"
msgid "🔊 Browse, manage and listen to podcasts"
msgstr "🔊 Suchen, Verwalten und Anhören von Podcasts"
msgid ""
"## Features\n"
"- 🔍 Browse and subscribe huge collection of podcasts\n"
"- 🔊 Listen to episodes directly in Nextcloud\n"
"- 🌐 Sync your activity with [AntennaPod](https://antennapod.org/)\n"
"\n"
"## Requirements\n"
"You need to have [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) "
"installed to use this app!"
msgstr ""
"## Funktionen\n"
"- 🔍 Durchsuchen und abonnieren einer großen Sammlung von Podcasts\n"
"- 🔊 Episoden direkt in Nextcloud anhören\n"
"- 🌐 Synchronisiere deine Aktivität mit [AntennaPod](https://antennapod.org/)\n"
"\n"
"## Voraussetzungen\n"
"Du musst [GPodderSync](https://apps.nextcloud.com/apps/gpoddersync) "
"installiert haben, um diese App zu benutzen!"
msgid "Download"
msgstr "Herunterladen"
msgid "Add a RSS link"
msgstr "Einen RSS-Link hinzufügen"
msgid "Subscribe"
msgstr "Abonnieren"
msgid "Error while adding the feed"
msgstr "Fehler beim Hinzufügen des Feeds"
msgid "Could not fetch search results"
msgstr "Suchergebnisse können nicht geladen werden"
msgid "New podcasts"
msgstr "Neue Podcasts"
msgid "Hot podcasts"
msgstr "Beliebte Podcasts"
msgid "Could not fetch tops"
msgstr "Titel können nicht abgerufen werden"
msgid "Copy feed"
msgstr "Feed kopieren"
msgid "Link copied to the clipboard"
msgstr "Der Link des Feeds wurde in die Zwischenablage kopiert"
msgid "Play"
msgstr "Abspielen"
msgid "Stop"
msgstr "Stopp"
msgid "Read"
msgstr "Gelesen"
msgid "Open website"
msgstr "Webseite aufrufen"
msgid "Could not change the status of the episode"
msgstr "Kann den Status der Folge nicht ändern"
msgid "Could not fetch episodes"
msgstr "Folgen können nicht abgerufen werden"
msgid "Export subscriptions"
msgstr "Abonnements exportieren"
msgid "Filtering episodes"
msgstr "Folgen filtern"
msgid "Show all"
msgstr "Zeige alles"
msgid "Listened"
msgstr "Gehört"
msgid "Listening"
msgstr "Läuft"
msgid "Unlistened"
msgstr "Nicht angehört"
msgid "Import subscriptions"
msgstr "Importiere Abonnements"
msgid "Import OPML file"
msgstr "Importiere OPML-Datei"
msgid "Rate RePod ❤️"
msgstr "Bewerte RePod ❤️"
msgid "Playback speed"
msgstr "Wiedergabegeschwindigkeit"
msgid "Favorite"
msgstr "Favorit"
msgid "Are you sure you want to delete this subscription?"
msgstr "Bist Du sicher, dass Du das Abonnement löschen möchtest?"
msgid "Error while removing the feed"
msgstr "Fehler beim Löschen des Feeds"
msgid "You can only have 10 favorites"
msgstr "Du kannst nur 10 Favoriten haben"
msgid "Add a podcast"
msgstr "Einen Podcast hinzufügen"
msgid "Could not fetch subscriptions"
msgstr "Abonnements können nicht abgerufen werden"
msgid "Find a podcast"
msgstr "Finde einen Podcast"
msgid "Error loading feed"
msgstr "Fehler beim Laden des Feeds"
msgid "Missing required app"
msgstr "Benötigte App fehlt"
msgid "Install GPodder Sync"
msgstr "Installiere GPodder Sync"
msgid "Pin some subscriptions to see their latest updates"
msgstr "Pinne einige Abonnements, um ihre neuesten Updates zu sehen"
msgid "No favorites"
msgstr "Keine Favoriten"

View File

@ -9,9 +9,9 @@ msgstr ""
"Project-Id-Version: Nextcloud 3.14159\n"
"Report-Msgid-Bugs-To: translations\\@example.com\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Last-Translator: Michel Roux <xefir@crystalyx.net>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
@ -53,6 +53,12 @@ msgstr "Télécharger"
msgid "Add a RSS link"
msgstr "Ajouter un lien RSS"
msgid "Subscribe"
msgstr "S'abonner"
msgid "Error while adding the feed"
msgstr "Erreur lors de l'ajout du flux"
msgid "Could not fetch search results"
msgstr "Impossible de récupérer les resultats de la recherche"
@ -68,13 +74,7 @@ msgstr "Impossible de récupérer les tops"
msgid "Copy feed"
msgstr "Copier le flux"
msgid "Subscribe"
msgstr "S'abonner"
msgid "Error while adding the feed"
msgstr "Erreur lors de l'ajout du flux"
msgid "Feed's link copied to the clipboard"
msgid "Link copied to the clipboard"
msgstr "Lien vers le flux copié dans le presse-papiers"
msgid "Play"
@ -83,6 +83,15 @@ msgstr "Lecture"
msgid "Stop"
msgstr "Arrêter"
msgid "Read"
msgstr "Lu"
msgid "Open website"
msgstr "Ouvrir le site web"
msgid "Could not change the status of the episode"
msgstr "Impossible de changer le status de l'épisode"
msgid "Could not fetch episodes"
msgstr "Impossible de récuprer les épisodes"
@ -110,15 +119,24 @@ msgstr "Importer les abonnements"
msgid "Import OPML file"
msgstr "Importer un fichier OPML"
msgid "Rate RePod ❤️"
msgstr "Donnez votre avis ❤️"
msgid "Playback speed"
msgstr "Vitesse de lecture"
msgid "Favorite"
msgstr "Favori"
msgid "Are you sure you want to delete this subscription?"
msgstr "Êtes-vous sûr de vouloir supprimer ce flux ?"
msgid "Error while removing the feed"
msgstr "Erreur lors de la suppression du flux"
msgid "You can only have 10 favorites"
msgstr "Vous ne pouvez avoir que 10 favoris"
msgid "Add a podcast"
msgstr "Ajouter un podcast"
@ -136,3 +154,9 @@ msgstr "Une application requise est manquante"
msgid "Install GPodder Sync"
msgstr "Installer GPodder Sync"
msgid "Pin some subscriptions to see their latest updates"
msgstr "Ajoutez des abonnements en favoris pour obtenir les dernières nouvelles ici"
msgid "No favorites"
msgstr "Aucun favoris"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Nextcloud 3.14159\n"
"Report-Msgid-Bugs-To: translations\\@example.com\n"
"POT-Creation-Date: 2024-01-29 22:30+0000\n"
"POT-Creation-Date: 2024-09-02 09:08+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -48,6 +48,8 @@ msgid ""
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:1
#: /app/specialVueFakeDummyForL10nScript.js:24
#: /app/specialVueFakeDummyForL10nScript.js:25
msgid "Download"
msgstr ""
@ -56,113 +58,157 @@ msgid "Add a RSS link"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:3
msgid "Could not fetch search results"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:4
msgid "New podcasts"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:5
msgid "Hot podcasts"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:6
msgid "Could not fetch tops"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:7
msgid "Copy feed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:8
#: /app/specialVueFakeDummyForL10nScript.js:12
msgid "Subscribe"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:9
#: /app/specialVueFakeDummyForL10nScript.js:6
#: /app/specialVueFakeDummyForL10nScript.js:13
msgid "Error while adding the feed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:7
msgid "Could not fetch search results"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:8
msgid "New podcasts"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:9
msgid "Hot podcasts"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:10
msgid "Feed's link copied to the clipboard"
msgid "Could not fetch tops"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:11
msgid "Play"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:12
msgid "Stop"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:13
msgid "Could not fetch episodes"
msgid "Copy feed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:14
msgid "Export subscriptions"
msgid "Link copied to the clipboard"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:15
msgid "Filtering episodes"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:16
msgid "Show all"
msgid "Play"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:17
msgid "Listened"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:18
msgid "Listening"
msgid "Stop"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:19
msgid "Unlistened"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:20
msgid "Import subscriptions"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:21
msgid "Import OPML file"
msgid "Read"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:22
msgid "Playback speed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:23
msgid "Are you sure you want to delete this subscription?"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:24
msgid "Error while removing the feed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:25
msgid "Add a podcast"
msgid "Open website"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:26
msgid "Could not fetch subscriptions"
msgid "Could not change the status of the episode"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:27
msgid "Find a podcast"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:28
msgid "Error loading feed"
msgid "Could not fetch episodes"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:29
msgid "Missing required app"
msgid "Export subscriptions"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:30
msgid "Filtering episodes"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:31
msgid "Show all"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:32
msgid "Listened"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:33
msgid "Listening"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:34
msgid "Unlistened"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:35
msgid "Import subscriptions"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:36
msgid "Import OPML file"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:37
msgid "Rate RePod ❤️"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:38
msgid "Playback speed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:39
#: /app/specialVueFakeDummyForL10nScript.js:40
#: /app/specialVueFakeDummyForL10nScript.js:41
msgid "Favorite"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:42
msgid "Are you sure you want to delete this subscription?"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:43
msgid "Error while removing the feed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:44
msgid "You can only have 10 favorites"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:45
msgid "Add a podcast"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:46
msgid "Could not fetch subscriptions"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:47
msgid "Find a podcast"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:48
msgid "Error loading feed"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:49
msgid "Missing required app"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:50
msgid "Install GPodder Sync"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:51
msgid "Pin some subscriptions to see their latest updates"
msgstr ""
#: /app/specialVueFakeDummyForL10nScript.js:52
msgid "No favorites"
msgstr ""

27
vite.config.mjs Normal file
View File

@ -0,0 +1,27 @@
import { createAppConfig } from '@nextcloud/vite-config'
import { defineConfig } from 'vite'
import vueDevTools from 'vite-plugin-vue-devtools'
const config = defineConfig(({ mode }) => ({
build: {
rollupOptions: {
output: {
entryFileNames: 'js/[name].js',
format: 'iife',
manualChunks: false,
},
},
sourcemap: mode !== 'production',
},
define: {
__VUE_PROD_DEVTOOLS__: mode !== 'production',
},
plugins: [vueDevTools()],
}))
export default createAppConfig(
{
main: 'src/main.js',
},
{ config },
)

View File

@ -1,3 +0,0 @@
const webpackConfig = require('@nextcloud/webpack-vue-config')
module.exports = webpackConfig