diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..2729a6b --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,55 @@ +--- +name: Bug report +about: When creating a bug report, please use the following template to provide all the relevant information and help debugging efficiently. + +--- + +**How to post a meaningful bug report** +1. *Read this whole template first.* +2. *Determine if you are on the right place:* + - *If you were performing an action on the app from the webadmin or the CLI (install, update, backup, restore, change_url...), you are on the right place!* + - *Otherwise, the issue may be due to the app itself. Refer to its documentation or repository for help.* + - *When in doubt, post here and we will figure it out together.* +3. *Delete the italic comments as you write over them below, and remove this guide.* +--- + +### Describe the bug + +*A clear and concise description of what the bug is.* + +### Context + +- Hardware: *VPS bought online / Old laptop or computer / Raspberry Pi at home / Internet Cube with VPN / Other ARM board / ...* +- YunoHost version: x.x.x +- I have access to my server: *Through SSH | through the webadmin | direct access via keyboard / screen | ...* +- Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: *no / yes* + - If yes, please explain: +- Using, or trying to install package version/branch: +- If upgrading, current package version: *can be found in the admin, or with `yunohost app info $app_id`* + +### Steps to reproduce + +- *If you performed a command from the CLI, the command itself is enough. For example:* + ```sh + sudo yunohost app install the_app + ``` +- *If you used the webadmin, please perform the equivalent command from the CLI first.* +- *If the error occurs in your browser, explain what you did:* + 1. *Go to '...'* + 2. *Click on '...'* + 3. *Scroll down to '...'* + 4. *See error* + +### Expected behavior + +*A clear and concise description of what you expected to happen. You can remove this section if the command above is enough to understand your intent.* + +### Logs + +*When an operation fails, YunoHost provides a simple way to share the logs.* +- *In the webadmin, the error message contains a link to the relevant log page. On that page, you will be able to 'Share with Yunopaste'. If you missed it, the logs of previous operations are also available under Tools > Logs.* +- *In command line, the command to share the logs is displayed at the end of the operation and looks like `yunohost log display [log name] --share`. If you missed it, you can find the log ID of a previous operation using `yunohost log list`.* + +*After sharing the log, please copypaste directly the link provided by YunoHost (to help readability, no need to copypaste the entire content of the log here, just the link is enough...)* + +*If applicable and useful, add screenshots to help explain your problem.* diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..ef70e18 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,16 @@ +## Problem + +- *Description of why you made this PR* + +## Solution + +- *And how do you fix that problem* + +## PR Status + +- [ ] Code finished and ready to be reviewed/tested +- [ ] The fix/enhancement were manually tested (if applicable) + +## Automatic tests + +Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ *after creating the PR*, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization) diff --git a/conf/nginx.conf b/conf/nginx.conf index b7dc034..723ac56 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,6 +8,8 @@ location __PATH__/ { index index.html ; # default_type text/html; + more_set_headers "Content-Security-Policy : default-src 'self'; font-src data:; script-src __DOMAIN__ 'unsafe-inline' 'unsafe-eval'; style-src 'unsafe-inline' __DOMAIN__ blob:; connect-src 'self' ws: https:; child-src 'self' blob:; worker-src 'self' blob:; img-src 'self' data: blob: https://services.keeweb.info/; object-src 'none'; form-action 'none';"; + # Include SSOWAT user panel. include conf.d/yunohost_panel.conf.inc; } diff --git a/manifest.json b/manifest.json index 51aaea6..5fbdfc4 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Password manager compatible with KeePass.", "fr": "Gestionnaire de mots de passe compatible avec KeePass." }, - "version": "1.7.7~ynh4", + "version": "1.18.7~ynh1", "url": "https://keeweb.info/", "license": "MIT", "maintainer": { diff --git a/sources/extra_files/app/404.html b/sources/extra_files/app/404.html new file mode 100644 index 0000000..dc38b79 --- /dev/null +++ b/sources/extra_files/app/404.html @@ -0,0 +1,28 @@ + + + + + Not Found + + + +

404 Not Found

+

Sorry, the page you're looking for was not found.

+ + diff --git a/sources/extra_files/app/CNAME b/sources/extra_files/app/CNAME deleted file mode 100644 index f268389..0000000 --- a/sources/extra_files/app/CNAME +++ /dev/null @@ -1 +0,0 @@ -app.keeweb.info diff --git a/sources/extra_files/app/build.txt b/sources/extra_files/app/build.txt new file mode 100644 index 0000000..f7ebbf3 --- /dev/null +++ b/sources/extra_files/app/build.txt @@ -0,0 +1,2 @@ +dfc6201285ec1dfecd2e8f80363d82811e75bc6d +Sun Jul 18 14:53:18 UTC 2021 diff --git a/sources/extra_files/app/icons/android-chrome-192x192.png b/sources/extra_files/app/icons/android-chrome-192x192.png index b4887a6..c87012f 100644 Binary files a/sources/extra_files/app/icons/android-chrome-192x192.png and b/sources/extra_files/app/icons/android-chrome-192x192.png differ diff --git a/sources/extra_files/app/icons/android-chrome-512x512.png b/sources/extra_files/app/icons/android-chrome-512x512.png index aec9d2b..aa075ac 100644 Binary files a/sources/extra_files/app/icons/android-chrome-512x512.png and b/sources/extra_files/app/icons/android-chrome-512x512.png differ diff --git a/sources/extra_files/app/icons/apple-touch-icon.png b/sources/extra_files/app/icons/apple-touch-icon.png index b31afc2..589634e 100644 Binary files a/sources/extra_files/app/icons/apple-touch-icon.png and b/sources/extra_files/app/icons/apple-touch-icon.png differ diff --git a/sources/extra_files/app/icons/favicon-16x16.png b/sources/extra_files/app/icons/favicon-16x16.png index a8f0ad8..33a0828 100644 Binary files a/sources/extra_files/app/icons/favicon-16x16.png and b/sources/extra_files/app/icons/favicon-16x16.png differ diff --git a/sources/extra_files/app/icons/favicon-32x32.png b/sources/extra_files/app/icons/favicon-32x32.png index 2891222..e67e6cb 100644 Binary files a/sources/extra_files/app/icons/favicon-32x32.png and b/sources/extra_files/app/icons/favicon-32x32.png differ diff --git a/sources/extra_files/app/icons/mstile-150x150.png b/sources/extra_files/app/icons/mstile-150x150.png index 280ec04..86ee52d 100644 Binary files a/sources/extra_files/app/icons/mstile-150x150.png and b/sources/extra_files/app/icons/mstile-150x150.png differ diff --git a/sources/extra_files/app/icons/mstile-310x150.png b/sources/extra_files/app/icons/mstile-310x150.png index fe8c793..c3a1a39 100644 Binary files a/sources/extra_files/app/icons/mstile-310x150.png and b/sources/extra_files/app/icons/mstile-310x150.png differ diff --git a/sources/extra_files/app/icons/mstile-310x310.png b/sources/extra_files/app/icons/mstile-310x310.png index b096933..d347e6d 100644 Binary files a/sources/extra_files/app/icons/mstile-310x310.png and b/sources/extra_files/app/icons/mstile-310x310.png differ diff --git a/sources/extra_files/app/icons/mstile-70x70.png b/sources/extra_files/app/icons/mstile-70x70.png index bf89385..8bdcce5 100644 Binary files a/sources/extra_files/app/icons/mstile-70x70.png and b/sources/extra_files/app/icons/mstile-70x70.png differ diff --git a/sources/extra_files/app/icons/safari-pinned-tab.svg b/sources/extra_files/app/icons/safari-pinned-tab.svg index 15ee7a3..076d208 100644 --- a/sources/extra_files/app/icons/safari-pinned-tab.svg +++ b/sources/extra_files/app/icons/safari-pinned-tab.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/sources/extra_files/app/icons/splash-1125x2436.png b/sources/extra_files/app/icons/splash-1125x2436.png new file mode 100644 index 0000000..068c4be Binary files /dev/null and b/sources/extra_files/app/icons/splash-1125x2436.png differ diff --git a/sources/extra_files/app/icons/splash-1242x2148.png b/sources/extra_files/app/icons/splash-1242x2148.png new file mode 100644 index 0000000..a55d47d Binary files /dev/null and b/sources/extra_files/app/icons/splash-1242x2148.png differ diff --git a/sources/extra_files/app/icons/splash-1536x2048.png b/sources/extra_files/app/icons/splash-1536x2048.png new file mode 100644 index 0000000..c3cd073 Binary files /dev/null and b/sources/extra_files/app/icons/splash-1536x2048.png differ diff --git a/sources/extra_files/app/icons/splash-1668x2224.png b/sources/extra_files/app/icons/splash-1668x2224.png new file mode 100644 index 0000000..107bdcf Binary files /dev/null and b/sources/extra_files/app/icons/splash-1668x2224.png differ diff --git a/sources/extra_files/app/icons/splash-2048x2732.png b/sources/extra_files/app/icons/splash-2048x2732.png new file mode 100644 index 0000000..a300001 Binary files /dev/null and b/sources/extra_files/app/icons/splash-2048x2732.png differ diff --git a/sources/extra_files/app/icons/splash-640x1136.png b/sources/extra_files/app/icons/splash-640x1136.png new file mode 100644 index 0000000..cbb1abc Binary files /dev/null and b/sources/extra_files/app/icons/splash-640x1136.png differ diff --git a/sources/extra_files/app/icons/splash-750x1294.png b/sources/extra_files/app/icons/splash-750x1294.png new file mode 100644 index 0000000..9d87f0a Binary files /dev/null and b/sources/extra_files/app/icons/splash-750x1294.png differ diff --git a/sources/extra_files/app/index.html b/sources/extra_files/app/index.html index 80fe162..f34fc32 100644 --- a/sources/extra_files/app/index.html +++ b/sources/extra_files/app/index.html @@ -1,12 +1 @@ -KeeWeb \ No newline at end of file +KeeWeb \ No newline at end of file diff --git a/sources/extra_files/app/manifest.appcache b/sources/extra_files/app/manifest.appcache deleted file mode 100644 index 5af265a..0000000 --- a/sources/extra_files/app/manifest.appcache +++ /dev/null @@ -1,10 +0,0 @@ -CACHE MANIFEST - -# 2019-02-09:v1.7.7 -# updmin:v4.0.1 - -CACHE: -index.html - -NETWORK: -* diff --git a/sources/extra_files/app/manifest.json b/sources/extra_files/app/manifest.json index 1e1460f..c881196 100644 --- a/sources/extra_files/app/manifest.json +++ b/sources/extra_files/app/manifest.json @@ -1,21 +1,21 @@ { - "name": "KeeWeb", - "short_name": "KeeWeb", - "description": "Free cross-platform password manager compatible with KeePass", - "display": "standalone", - "orientation": "any", - "theme_color": "#6386ec", - "background_color": "#6386ec", - "icons": [ - { - "src": "icons/android-chrome-192x192.png", - "sizes": "192x192", - "type": "image/png" - }, - { - "src": "icons/android-chrome-512x512.png", - "sizes": "512x512", - "type": "image/png" - } - ] + "name": "KeeWeb", + "short_name": "KeeWeb", + "description": "Free cross-platform password manager compatible with KeePass", + "start_url": "./", + "display": "standalone", + "theme_color": "#6386ec", + "background_color": "#6386ec", + "icons": [ + { + "src": "icons/android-chrome-192x192.png", + "sizes": "192x192", + "type": "image/png" + }, + { + "src": "icons/android-chrome-512x512.png", + "sizes": "512x512", + "type": "image/png" + } + ] } diff --git a/sources/extra_files/app/oauth-result/dropbox.html b/sources/extra_files/app/oauth-result/dropbox.html new file mode 100644 index 0000000..5876caa --- /dev/null +++ b/sources/extra_files/app/oauth-result/dropbox.html @@ -0,0 +1,16 @@ + + + + + KeeWeb + + + + + diff --git a/sources/extra_files/app/oauth-result/gdrive.html b/sources/extra_files/app/oauth-result/gdrive.html new file mode 100644 index 0000000..80239ab --- /dev/null +++ b/sources/extra_files/app/oauth-result/gdrive.html @@ -0,0 +1,16 @@ + + + + + KeeWeb + + + + + diff --git a/sources/extra_files/app/oauth-result/onedrive.html b/sources/extra_files/app/oauth-result/onedrive.html new file mode 100644 index 0000000..e914c41 --- /dev/null +++ b/sources/extra_files/app/oauth-result/onedrive.html @@ -0,0 +1,16 @@ + + + + + KeeWeb + + + + + diff --git a/sources/extra_files/app/oauth-result/teams.html b/sources/extra_files/app/oauth-result/teams.html new file mode 100644 index 0000000..a07583e --- /dev/null +++ b/sources/extra_files/app/oauth-result/teams.html @@ -0,0 +1,16 @@ + + + + + KeeWeb + + + + + diff --git a/sources/extra_files/app/service-worker.js b/sources/extra_files/app/service-worker.js new file mode 100644 index 0000000..412b8bc --- /dev/null +++ b/sources/extra_files/app/service-worker.js @@ -0,0 +1,19 @@ +const VERSION = '1.18.7'; + +self.addEventListener('install', (event) => + event.waitUntil( + caches.open('v1').then((cache) => + fetch('.?v=' + VERSION).then((response) => { + if (response.ok) { + return cache.put('.', response); + } + }) + ) + ) +); + +self.addEventListener('fetch', (event) => { + event.respondWith( + caches.match(event.request.url).then((response) => response || fetch(event.request)) + ); +}); diff --git a/sources/extra_files/app/update.json b/sources/extra_files/app/update.json new file mode 100644 index 0000000..1854df7 --- /dev/null +++ b/sources/extra_files/app/update.json @@ -0,0 +1,4 @@ +{ + "version": "1.18.7", + "date": "2021-07-18" +}