Skip to content

Commit 1582505

Browse files
frozenbananaretrevorTake onemahiariraniJoaoSRaposo
authored
Release 20250514 (#129)
* Feature/795 setup notifications for upload (#77) * feat(#795): add user notification for upload to swarm - add: New file for application-wide Constants with AppName identifier * feat(#795): Add user notification - add: Notification for user when uploading to swarm --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature/onlyoffice (#76) * feat(onlyoffice): - add: service container - add: app installation * feat(docker): - update: merge all version Dockerfiles into one - update: create Dockerfile for rsycn - add: docker proxy internal setup - update: hooks orders and scripts * feat(nginx): - update: nginx.conf * Bug fix/#904 file actions reload fix unview fix two actions for visual (#78) * Chaging t('files to t('files_external_ethswarm Fixing unview file and folder message Adding hejbit overlay and swarmref action to all files and folders to "support" NC fileactions navigation bug * Option with two separate file actions (Overlay and CopySwarm Ref) * Improving reload logic * Fixing Exec Batch Error - Now it's possible to select the action from the top file menu * FIX - Improved Fileaction reload fix * Fixing Unview file on NC29 & NC30 Organizing TODOs in Fileaction * fix(904): previousPathHasSwarm to check with the first file available on index 0 instead --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Fix for appearing files_external_ethswarm settings backend menu on search (#84) * Feature/#833 disconnect reconnect storage (#82) * Migration for option of working with multiple tables (swarm_files & swarm_file_tokens) * Version using swarm file table adding token column fully functional * Adding token to directory * Everytime the test function is used all files from the tested storage are copied from swarm table to nc cache * Fixing index name to avoid colision from token_index hejbit_token_index * FIxing issue of root folder not found on cache * feat(#747): remove new file menu options (#85) - add: remove/restore menu options according to navigation to swarm storage Co-authored-by: Take one <rontrevor@hotmail.com> * Root (mount) folder $filename === "" doesn't exist on swarm table (#86) Approved. * fix: allow other plugin to handle request (#88) * FIX > Get the ethswarm-node property from the folders intead of from the files (#90) * Fix #1019 improving migrations (#89) * FIxing version 0005 migration * Improving query builder variables on previous migrations * implemented copy method (#93) * Change working from Unview to Hide (#92) * Feature/#1058 unhide (#94) * Hide action to not hiden files, unhide action to hidden files Unhide action implemented Change UI of hidden files +- * Fixing mistake * The perfect solution would be: - After hide or unhide action - reload view similiar when we toggle the show_hiden files option on config. Another solution would be: - After hide or unhide action - reload if we are with show_hiden folder file config on. What I could do: - After hide, I don't reload the screen, assuming that we are with the show_hiden folder config off - After unhide action - I reload the screen, assuming that we are with the show_hiden folder config on * Update lib/Sabre/PostPlugin.php Co-authored-by: Henry Bergström <henrybergstrom@protonmail.com> --------- Co-authored-by: Henry Bergström <henrybergstrom@protonmail.com> * feature/884-hejbit-api (#95) * feat(docker): enable multi NC versions setup - add: auto install plugin - add: hooks integration folders - add: fpm installation - add: redis for session caching - add: selfsign ssl for local development * feat(xdebug): - fix: xdebug setup - add: two targets for Dockerfile - add: debug mode in NC - fix: domain hook in NC config - update: docker networks * refactor(docker): compose file extension - update: yaml to yml * refactor(docker-compose): - remove: extra environments from compose - update: .env file * feat(redis): - add: redis server password - update: .env file - refactor: remove all passwords from .env * feat(cli): install and clean dev env setup - add: add script for linux/mac - add: bat for windows * feat(volumes): use specific volumes only - refactor: rename volumes - update: bind only nc volumes needed - fix: redis password - fix: extra env passed to all db containers * feat(docker): - add: caddy as proxy server - add: rsync for dev env - add: adminer default db server - update: nextcloud labels * feat(exceptions): - add: SwarmException for Swarm related errors * feat(Util): add Env - add: util to access ENV vars * feat(Util): update Curl - add: ssl check to curl options - update: default options calculation - add: response success check * feat(swarm): adapt to new API - update: all Exceptions - update: endpoints - add: success checks and proper errors - update: upload method and response - update: remove header from download requests * refactor(storage): - update: code docs and style - refactor: some if statements - add: missing parent calls - refactor: variable naming convention - update: upload call with new api - update: exceptions - add: some todos for later refactoring - update: imports * chore(npm): update lock file * refactor(docker): - update: docker networks - remove: proxy dockerfile * feat(docker): - add: db health checks - update: redis password env var * feat(docker): - add: dev profile - refactor: proxy network name * feat(api): - update: swarm connections - update: swarm storage - update: Curl requests - docs: clean code * chore(docker): - remove: extra dockerfiles * chore(docker): - remove: old hooks * bugfix(mkdir): create folder issue (#98) - add: missing import - fix: typo in entity name * Feature/1088-code-style-setup (#97) * feat(cs): update cs config * feat(cs): update composer deps * feat(cs): gitignore * feat(cs): add pipeline * feat(cs): code style * perf(cs): update pipeline - refactor: changed name to Lint - add: auto commit action - add: fast fail - update: install only cs-fixer dep * Apply automatic changes * feat(cs): update auto commit - update: commit message * feat(cs): enable PSR12 and PhpCsFixer rules - add: extend NC rules - chore: lint new rules - fix: OC PSR4 detection - add: global imports - add: trailing comma in arrays and etc * refactor(file): find_exists return value * chore: fix code style * refactor(swarm): ref check and param arg type * refactor(swarm): param arg type * chore: fix code style --------- Co-authored-by: mahiarirani <mahiarirani@users.noreply.github.com> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> * bugfix(mkdir): create folder issue (#99) - add: missing import - fix: typo in entity name * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improving github and NC app store documentation (#102) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Support-from-NC29-to-NC31 (#115) * Release 20250307 (#114) * Improving github and NC app store documentation (#102) * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * feat(curl): check url for protocol * bugfix(feedback): remove the removed script load * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * Feature/sentry integration (#110) * new setting page * unit tests * settings page * Unit test * chore: fix code style * update settingscontroller * chore: fix code style * add: sentry to composer.json * chore: fix code style * fix: sending to sentry * chore: fix code style * update(settings): new explain text and service status link * add sentry library in vendor-bin * chore: fix code style * adjusted autoload path for sentry * chore: fix code style * sentry ready * chore: fix code style * feat(sentry): remove vendor-bin from repo - update: makefile to install composer in release and appstore - update: move require of vendor-bin to register method - add: gitignore entry for vendor-bin * chore: fix code style * chore(sentry): remove test exception * style: better readability for settings page * enable telemetry by default * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * fix: ensure environment * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * use .env to get environment * chore: fix code style * remove debug line * fix: makefile include correct directories in vendor-bin * fix: telemetry to be autoenabled * chore: fix code style * fix: exclude changelog.md in build * chore: remove old admin page * Support-from-NC29-to-NC31 (#115) * Release 20250307 (#114) * Improving github and NC app store documentation (#102) * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * feat(curl): check url for protocol * bugfix(feedback): remove the removed script load * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> --------- Co-authored-by: frozenbanana <3958329+frozenbanana@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * feat(docker): fix env path (#119) * fix(types): follow parent storage class (#118) - fix: Etag return false not null - remove: unmodified extended codes - fix: verify path return type is void * Feature/docker stage (#121) * feat(docker): remove profile from dev - update: keep main docker compose to dev * feat(docker): add new stage docker compose * chore(docker): remove extra hosts for stage * Release 20250307 (#114) * Improving github and NC app store documentation (#102) * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * feat(curl): check url for protocol * bugfix(feedback): remove the removed script load * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * Release 20250313 (#117) * Support-from-NC29-to-NC31 (#115) * Feature/sentry integration (#110) * new setting page * unit tests * settings page * Unit test * chore: fix code style * update settingscontroller * chore: fix code style * add: sentry to composer.json * chore: fix code style * fix: sending to sentry * chore: fix code style * update(settings): new explain text and service status link * add sentry library in vendor-bin * chore: fix code style * adjusted autoload path for sentry * chore: fix code style * sentry ready * chore: fix code style * feat(sentry): remove vendor-bin from repo - update: makefile to install composer in release and appstore - update: move require of vendor-bin to register method - add: gitignore entry for vendor-bin * chore: fix code style * chore(sentry): remove test exception * style: better readability for settings page * enable telemetry by default * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * fix: ensure environment * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * use .env to get environment * chore: fix code style * remove debug line * fix: makefile include correct directories in vendor-bin * fix: telemetry to be autoenabled * chore: fix code style * fix: exclude changelog.md in build * chore: remove old admin page * Support-from-NC29-to-NC31 (#115) * Release 20250307 (#114) * Improving github and NC app store documentation (#102) * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * feat(curl): check url for protocol * bugfix(feedback): remove the removed script load * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> --------- Co-authored-by: frozenbanana <3958329+frozenbanana@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * update version deployed * bump version --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: frozenbanana <3958329+frozenbanana@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * Release 20250314 (#120) * feat(docker): fix env path (#119) * fix(types): follow parent storage class (#118) - fix: Etag return false not null - remove: unmodified extended codes - fix: verify path return type is void --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * fix: use built in Exception for type hint * fix: only enable sentry if NC version is supported * Release 20250307 (#114) * Improving github and NC app store documentation (#102) * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * feat(curl): check url for protocol * bugfix(feedback): remove the removed script load * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * Release 20250313 (#117) * Support-from-NC29-to-NC31 (#115) * Feature/sentry integration (#110) * new setting page * unit tests * settings page * Unit test * chore: fix code style * update settingscontroller * chore: fix code style * add: sentry to composer.json * chore: fix code style * fix: sending to sentry * chore: fix code style * update(settings): new explain text and service status link * add sentry library in vendor-bin * chore: fix code style * adjusted autoload path for sentry * chore: fix code style * sentry ready * chore: fix code style * feat(sentry): remove vendor-bin from repo - update: makefile to install composer in release and appstore - update: move require of vendor-bin to register method - add: gitignore entry for vendor-bin * chore: fix code style * chore(sentry): remove test exception * style: better readability for settings page * enable telemetry by default * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * fix: ensure environment * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * bugfix(feedback): remove the removed script load * feat(curl): check url for protocol * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * use .env to get environment * chore: fix code style * remove debug line * fix: makefile include correct directories in vendor-bin * fix: telemetry to be autoenabled * chore: fix code style * fix: exclude changelog.md in build * chore: remove old admin page * Support-from-NC29-to-NC31 (#115) * Release 20250307 (#114) * Improving github and NC app store documentation (#102) * fix(curl): upload SSL verification (#105) - remove: verify parameters to default to curl - add: only in dev env * feat(upload): add filename as meta param when uploading (#103) * Improve settings information (#104) * Improve settings information * feat(settings): add server host URL as default value * style(settings): remove extra wordings --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * Feature: secure API communication upgrade (#107) * feat(exception): throw separate exceptions * feat(api): separate token from api link - update: merge getLink into a single function - add: Dto for Links results - pass: token in authorization header - update: upload and download to use new api links - refactor: remove extra isVersion input * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * bugfix: exception handling to ensure the response is handled correctly (#109) * bugfix: correct exception handling to ensure the response is handled correclty by calling test() function. - update: do not assume an array (json) response from the api. The response is not always json which cause the json_decode() to return null; - add: use StorageNotAvailableException to ensure a user-friendly error message to be displayed on the front.end; - update: return value can be a string * chore: fix code style * feat(api): check status - update: response based on status code - add: specific error for invalid code * chore: fix code style --------- Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feat(docker): add install ocs api viewer app (#108) * bugfix/correct-install-docker-windows (#106) * - Correction to docker-compose for Windows installations. - Added README for known issues * Update README.md bugfix(correct-install-docker-windows): add supporting images * - add: formatting changes to README.md --------- Co-authored-by: Take one <rontrevor@hotmail.com> * Feature #1192 feedback form js (#111) * Adding Feedback form * Not working yet. Probably need to change strategy and send request to nc first * Feedback js working. Something might be improved: // TODO - Get API Url from beeswarmtrait or another place // TODO - Improve layout with css // TODO - Remove wiget when not is not in swarm folders * chore: fix code style * feat(env): upgrade get - update: return null if key is not found * feat(feedback): add api url - add: app const - add: env example * feat(curl): add post and get methods - update: swarm endpoints to use new methods * feat(feedback): update feedback request * refactor(curl): rename curl to request * feat(curl): add accept headers to getLink - refactor: use get for download instead of exec * style(feedback): improve feedback from ui * style(feedback): improve feedback from ui * feat(feedback): use custom exception * feat(feedback): add status code to exception * feat(feedback): return correct status code * feat(feedback): add feedback js as dependency - remove: manual added js file - add: npm package - update: the code usage --------- Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * feat(curl): check url for protocol * bugfix(feedback): remove the removed script load * feat(toast): add nextcloud dialogs (#112) - add: library package - update: fileactions.js usage - update: swarm logo remove xml * Fix/#1085 adding moodle to the documentation (#100) * Adding moodle documentation * FIxing link formating error --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> --------- Co-authored-by: frozenbanana <3958329+frozenbanana@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * update version deployed * bump version --------- Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: frozenbanana <3958329+frozenbanana@users.noreply.github.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> * Release 20250314 (#120) * feat(docker): fix env path (#119) * fix(types): follow parent storage class (#118) - fix: Etag return false not null - remove: unmodified extended codes - fix: verify path return type is void --------- Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> * fix: info.xml removed dublicated link * feat(feedback): allow user to input different email (#124) * feat(feedback): allow user to input different email * chore: fix code style * feat(feedback): allow email field * fix(feedback): default email parse * feat(feedback): allow anonymous feedbacks - remove: fetching user email from backend - add: observer to prefill the feedback form with user email - update: don't send email data if not provided * chore: fix code style * perf(feedback): add observer to the feedback root element --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * feature: file actions + archive + installation + bugfixes + dev env (#126) I tested the following features in the local development environment (NC 30): - Comments: Working properly. - Tags: Working properly. - Upload: Working properly. - Download: Working properly. - Archive Files and Folders: Working properly. - Unarchive Files and Folders: Working properly. - Rename: Working properly. However, there is one area of concern regarding the activation of the plug-in when external storage is not enabled. I encountered some issues in the local development environment, but I will assume (and hope) that these problems are specific to this environment and will not occur in production. * fix: archive + restore + move + rename (#127) * fix(hide): reload effect via FE channels * fix(move): avoid custom move for other storage type - add: interface for swarm storage - add: func to check is swarm - add: helper to avoid error on storages - update: use helper storage type check on webdav plugin * refactor(service): rename fileMapper * fix(service): get token method * feat(archive): init on first archive - update: create archive folder on first file archive - update: archive name to "Archive - Hejbit" - update: hide action FE to emit update for folder to appear on root - add: new archive path maker func on storage * fix(restore): restore storage by token - add: sort to keep tree structure - add: keep archive readonly permissions * chore: fix code style --------- Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> * fix(storage): remove type to support NC29+NC30 (#128) * Release 0.6.0: PRs 121, 123, 124, 126, 127, 128 --------- Co-authored-by: retrevor <75954541+retrevor@users.noreply.github.com> Co-authored-by: Take one <rontrevor@hotmail.com> Co-authored-by: Mahyar Iranibazaz <mahiarirani@pm.me> Co-authored-by: JoaoSRaposo <joaosraposo@gmail.com> Co-authored-by: mahiarirani <mahiarirani@users.noreply.github.com> Co-authored-by: mahiarirani <10583381+mahiarirani@users.noreply.github.com> Co-authored-by: JoaoSRaposo <1598265+JoaoSRaposo@users.noreply.github.com> Co-authored-by: frozenbanana <3958329+frozenbanana@users.noreply.github.com>
1 parent 093e21d commit 1582505

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+14358
-18304
lines changed

.env.example

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,9 @@ NC_VERSION=30
33
APP_URL=localhost
44
API_URL=https://hejbit.local
55

6-
MYSQL_DATABASE=nextcloud
7-
MYSQL_USER=nextcloud
8-
MYSQL_PASSWORD=secret
9-
MYSQL_ROOT_PASSWORD=secret
10-
11-
REDIS_HOST_PASSWORD=secret
6+
POSTGRES_DB=swarmbox
7+
POSTGRES_USER=swarmbox
8+
POSTGRES_PASSWORD=secret
129

1310
NEXTCLOUD_ADMIN_USER=swarmbox
1411
NEXTCLOUD_ADMIN_PASSWORD=swarmbox

appinfo/info.xml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,24 @@ This plugin integrates [Swarm](https://www.ethswarm.org/) (a decentralized, bloc
1919
- [Using Hejbit Swarm](https://apps.nextcloud.com/apps/files_external_ethswarm#using-hejbit-swarm)
2020
- [Additional Integration with Moodle](https://apps.nextcloud.com/apps/files_external_ethswarm#additional-integration-with-moodle)
2121
- [Get Hejbit License](https://apps.nextcloud.com/apps/files_external_ethswarm#get-hejbit-license)
22+
- [License](https://apps.nextcloud.com/apps/files_external_ethswarm#license)
23+
- [Using Hejbit Swarm](https://apps.nextcloud.com/apps/files_external_ethswarm#using-hejbit-swarm)
24+
- [Additional Integration with Moodle](https://apps.nextcloud.com/apps/files_external_ethswarm#additional-integration-with-moodle)
25+
- [Get Hejbit License](https://apps.nextcloud.com/apps/files_external_ethswarm#get-hejbit-license)
2226
- [License](https://apps.nextcloud.com/apps/files_external_ethswarm#license)
2327
28+
[](#dependencies)## **Dependencies**
2429
[](#dependencies)## **Dependencies**
2530
2631
Before using the plugin, ensure you have the following:
2732
2833
- An active Nextcloud instance (version 29,30 or 31)
2934
- A valid license and URL to activate the service
3035
- [Request Your Free Nextcloud Swarm Plugin Trial License](https://metaprovide.org/hejbit/start)
36+
- [Request Your Free Nextcloud Swarm Plugin Trial License](https://metaprovide.org/hejbit/start)
3137
3238
[](#setup-and-installation)## **Setup and Installation**
39+
[](#setup-and-installation)## **Setup and Installation**
3340
3441
Follow these steps to configure Hejbit Swarm in Nextcloud:
3542
@@ -38,6 +45,7 @@ Follow these steps to configure Hejbit Swarm in Nextcloud:
3845
3. Navigate to External Storage Administration: Profile menu -> Settings -> External Storage.
3946
4. Create a new external storage with a folder name of your choice and select *'Swarm'* as the storage type. Then, enter the license key and URL configuration.
4047
48+
[](#usage)## **Usage**
4149
[](#usage)## **Usage**
4250
4351
Once installed, Hejbit integrates Swarm directly with Nextcloud’s "Files" section, allowing seamless file operations:
@@ -46,10 +54,12 @@ Once installed, Hejbit integrates Swarm directly with Nextcloud’s "Files" sect
4654
- **Download:** Retrieve and view files from decentralized storage.
4755
- **Copy/Move:** Shift files between any external storage and decentralized storage
4856
57+
[](#settings)### **Settings**
4958
[](#settings)### **Settings**
5059
5160
Users with administrative credentials can configure the plugin through the standard External Storage settings. Here, you can input your license key and URL for Hejbit.
5261
62+
[](#using-hejbit-swarm)### **Using Hejbit Swarm**
5363
[](#using-hejbit-swarm)### **Using Hejbit Swarm**
5464
5565
Once setup and configured, the Decentralized Storage is ready to use.
@@ -59,19 +69,21 @@ Once setup and configured, the Decentralized Storage is ready to use.
5969
- Files from another Nextcloud storage can also be copied/moved to the decentralized storage. Choose the decentralized storage folder as the target Folder.
6070
- Right-click on a Swarm file to copy the Swarm reference (hash) to your clipboard. Alternatively, click the three dots in the Actions menu and select 'Copy Swarm Reference.' The Swarm reference is the unique address of the file on the Swarm network.
6171
72+
[](#additional-integration-with-moodle)### Additional Integration with Moodle
6273
[](#additional-integration-with-moodle)### Additional Integration with Moodle
6374
6475
You can also enhance your experience by integrating the Hejbit Swarm plugin with the **Moodle Nextcloud plugin**. This integration allows users to access decentralized storage directly within the Moodle environment, providing a seamless experience for educational content management. For more information on how to set up this integration, visit the [Moodle Nextcloud repository documentation](https://docs.moodle.org/405/en/Nextcloud_repository).
6576
6677
For detailed guidance on using the integrated features, please refer to the [Metaprovide Learning Platform](https://learning.metaprovide.org/login/index.php).
6778
79+
[](#get-hejbit-license)## **Get Hejbit Licence**
6880
[](#get-hejbit-license)## **Get Hejbit Licence**
6981
7082
Experience the future of data storage with 5GB of free, decentralized storage on the Ethereum Swarm network. Our plugin seamlessly integrates with your existing Nextcloud interface, providing true data sovereignty without the complexity.
7183
7284
[Get your free licence here!](https://metaprovide.org/hejbit/start)
7385
]]></description>
74-
<version>0.5.14</version>
86+
<version>0.6.0</version>
7587
<licence>agpl</licence>
7688
<author>MetaProvide</author>
7789
<namespace>Files_External_Ethswarm</namespace>
@@ -94,8 +106,7 @@ Experience the future of data storage with 5GB of free, decentralized storage on
94106
</settings>
95107
<sabre>
96108
<plugins>
97-
<plugin>OCA\Files_External_Ethswarm\Sabre\PropfindPlugin</plugin>
98-
<plugin>OCA\Files_External_Ethswarm\Sabre\PostPlugin</plugin>
109+
<plugin>OCA\Files_External_Ethswarm\Sabre\WebDavPlugin</plugin>
99110
</plugins>
100111
</sabre>
101112
</info>

appinfo/routes.php

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,6 @@
2828
'url' => '/settings',
2929
'verb' => 'POST',
3030
],
31-
[
32-
'name' => 'Bee#createPostageBatch',
33-
'url' => '/bee/createPostageBatch',
34-
'verb' => 'POST',
35-
],
36-
[
37-
'name' => 'Bee#verifyBeeNodeAccess',
38-
'url' => '/bee/verifyBeeNodeAccess',
39-
'verb' => 'POST',
40-
],
41-
[
42-
'name' => 'Bee#topUpBatch',
43-
'url' => '/bee/topUpBatch',
44-
'verb' => 'POST',
45-
],
4631
[
4732
'name' => 'Feedback#submit',
4833
'url' => '/feedback/submit',

cli/dev/linux/clean.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
# stop and remove the containers and volumes
55
echo "stopping and removing the containers and volumes";
6-
docker compose --profile dev down --volumes --remove-orphans
6+
docker compose down --volumes --remove-orphans
77

88
# done
99
echo "cleaned up the dev environment"

cli/dev/linux/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ set -euo pipefail
33

44
# start the containers
55
echo "starting the containers"
6-
docker compose --profile dev up -d --force-recreate --remove-orphans --build
6+
docker compose up -d --force-recreate --remove-orphans --build
77

88
# done
99
echo "started the dev environment"

cli/dev/windows/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ After running the \\cli\\dev\\windows\\clean.bat and start.bat files (which remo
2626

2727
- Note: After any changes to docker-compose, remember to rebuild the docker-compose:
2828

29-
`docker-compose --profile dev up -d --force-recreate --remove-orphans --build`
29+
`docker-compose up -d --force-recreate --remove-orphans --build`
3030

3131
##### Known issue: Local path containimng NC source code has folder(s) with special character.
3232

cli/dev/windows/clean.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ REM Clean Script for Windows
33

44
REM Stop and remove Docker containers and volumes
55
echo Stopping and removing the containers and volumes
6-
docker-compose --profile dev down --volumes --remove-orphans
6+
docker-compose down --volumes --remove-orphans
77

88
REM Done
99
echo Cleaned up the dev environment

cli/dev/windows/start.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ REM Install Script for Windows
33

44
REM Start the Docker containers
55
echo Starting the containers
6-
docker-compose --profile dev up -d --force-recreate --remove-orphans --build
6+
docker-compose up -d --force-recreate --remove-orphans --build
77

88
REM Done
99
echo Started the dev environment

css/app.css

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.hejbit-overlay {
2+
position: absolute;
3+
top: 30px;
4+
left: 75px;
5+
width: 16px;
6+
height: 16px;
7+
pointer-events: none;
8+
}
9+
10+
.hejbit-overlay svg {
11+
width: 16px;
12+
height: 16px;
13+
}
14+
15+
.hejbit-archive svg {
16+
filter: grayscale(100%);
17+
border: 1px dashed #f6c915;
18+
border-radius: 0.25rem;
19+
}
20+
21+
[data-section-id="files_external_ethswarm"] img {
22+
filter: none !important;
23+
}
24+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,10 @@
336336
transition: filter .4s ease;
337337
}
338338

339+
#feedback-btn img {
340+
margin-right: 0.5em;
341+
}
342+
339343
#feedback-btn:hover, #feedback-btn:focus {
340344
filter: brightness(105%);
341345
}

0 commit comments

Comments
 (0)