Auto refreshment for the list
Bug report
Steps to reproduce
- Add some passwords on computer 1
- Want to use those passwords on computer 2 with the same account
- Click refresh-button on computer 2, now the passwords are available
Expected behaviour
Auto refresh one per day or hour
Actual behaviour
I had to manual refresh the list
Configuration
Operating system: Win 10, Arch Linux
Browser: Firefox 56.0.2
Passman version: 2.0.4
Server Operating system: Arch Linux
Web server: Apache
Database: Mariadb
PHP version: 7
cloud server: Nextcloud
cloud version: 12
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The list refreshes every 30 seconds.
Not at my system. I watched the access-log from Apache. If I restart the browser or manually press the sync-button I got the following lines in those log file:
christoph [02/Jan/2018:19:31:27 +0100] "GET /index.php/apps/passman/api/v2/vaults/.... HTTP/1.1" 200 christoph [02/Jan/2018:19:31:28 +0100] "GET /index.php/apps/passman/api/v2/sharing/vault/...../get HTTP/1.1" 200
But there is no GET-Request in the log if I am waiting a long time.
My mistake, once every 5 min: as from the code: 60000 * 5
I watched the log over half an hour and there was no refreshment.
Tested on demo and my own server
Make sure you are logged in to a vault
What did you mean with "logged in to a vault"?
My app symbol is showing a 1 on websites where I stored a password. And if there is a password form passman will automatically fill out the formular.
@brantje: I understand that it does make sense not to poll not to often for updates. However, it would be useful if the list auto-refreshes after you added or updated an entry in the vault.
For example:
- Click + to add a new entry
- Fill the fields
- Click save You see now the list of entries in the vault. However, the new entry you added is not visible, until you wait for the next refresh (which can take up to 5 mins - this works, by the way). When I tried Passman, I was always confused, why new are not visible or if I updated an entry, the changes do not appear and manually hit [F5] to refresh the page, which is anoying.
Please automatically refresh the list after the user hits the "Save" button. Thanks.
Version: Whatever is currently installed in your demo environment.
auto-refreshes after you added or updated an entry in the vault.
That would be possible with websockets, unfortunately we don't have those and i need to pull for changes.