summaryrefslogtreecommitdiff
path: root/Assistant/Alert.hs
Commit message (Collapse)AuthorAge
* show one alert when bulk adding filesGravatar Joey Hess2013-04-24
| | | | | | | | | | | | Turns out that a lot of the time spent in a bulk add was just updating the add alert to rotate through each file that was added. Showing one alert makes for a significant speedup. Also, when the webapp is open, this makes it take quite a lot less cpu during bulk adds. Also, it lets the user know when a bulk add happened, which is sorta nice..
* only show latest warning, rather than combining warning alertsGravatar Joey Hess2013-04-24
| | | | | | | In the case of the inotify limit warning, particularly, if it happens once it will be happening repeatedly, and so combining alerts resulted in a much too large alert message that took up a lot of memory and was too large for the webapp to display.
* display alert in webapp when assistant shuts downGravatar Joey Hess2013-04-10
| | | | and remove any activity alerts
* animate syncing and other activity iconsGravatar Joey Hess2013-04-08
|
* fix odd warningGravatar Joey Hess2013-04-04
|
* refactor alert button creation codeGravatar Joey Hess2013-04-04
|
* detect when unwanted remote is empty and remove itGravatar Joey Hess2013-04-03
| | | | Needs fixes to build when the webapp is disabled.
* move display of transfer scan in progress to transfers section of dashboardGravatar Joey Hess2013-03-19
| | | | | This way it's only visible when transfers are not running, which is about what a user would expect.
* new alert while scanningGravatar Joey Hess2013-03-18
| | | | | | | Like the old one, but does not mention which remotes are scanned. I think this is less confusing, as it does not imply the remotes were somehow accessed (which they are not; inaccessible remotes can be scanned.)
* add commas to remote listGravatar Joey Hess2013-03-18
|
* webapp: Improved alerts displayed when syncing with remotes, and when ↵Gravatar Joey Hess2013-03-18
| | | | syncing with a remote fails.
* unify two similar alertsGravatar Joey Hess2013-03-18
|
* webapp: Display an alert when there are XMPP remotes, and a cloud transfer ↵Gravatar Joey Hess2013-03-15
| | | | repository needs to be configured.
* fix pair complete alert combiningGravatar Joey Hess2013-03-05
| | | | | The pairing complete alert had been conbining with some other alert, fixed this and now it's displayed once xmpp pairing is complete on both sides.
* no template haskell here any longerGravatar Joey Hess2013-02-28
|
* write alerts to log in debug modeGravatar Joey Hess2013-01-15
|
* whitespace fixesGravatar Joey Hess2012-12-13
|
* Fix build of assistant without yesod.Gravatar Joey Hess2012-11-13
|
* reword alertGravatar Joey Hess2012-11-10
|
* finished XMPP pairing!Gravatar Joey Hess2012-11-05
| | | | | This includes keeping track of which buddies we're pairing with, to know which PairAck are legitimate.
* XMPP pair requests are now received, and an alert displayedGravatar Joey Hess2012-11-03
|
* avoid using Blaze directlyGravatar Joey Hess2012-10-31
| | | | | New 0.5 changes the api, rather gratuitously, so run away. I can juse use Hamlet here.
* where indentationGravatar Joey Hess2012-10-31
|
* add XMPP nudge alert, displayed after making a cloud repositoryGravatar Joey Hess2012-10-27
|
* add an icon for The CloudGravatar Joey Hess2012-10-27
| | | | | | | | | | | I am befuddled that Twitter Bootstrap has no built-in Icon for The Cloud, and also that Chromium's depiction of CLOUD (U+2601) has an uncanny resemblance to PILE OF POO (U+1F4A9) when rendered small, and looks like a looming Frankenstorm when rendered large, and not a sweet, sunny, nothing can go wrong The Cloud. <http://www.fileformat.info/info/unicode/char/2601/browsertest.htm> So, I must resort to irony in my choice of icons.
* hlintGravatar Joey Hess2012-09-13
|
* fixed all pairing alert issuesGravatar Joey Hess2012-09-11
|
* fix combining of pairing alertsGravatar Joey Hess2012-09-11
|
* pairing works!!Gravatar Joey Hess2012-09-11
| | | | | | | | | Finally. Last bug fixes here: Send PairResp with same UUID in the PairReq. Fix off-by-one in code that filters out our own pairing messages. Also reworked the pairing alerts, which are still slightly buggy.
* responding to pair requests *almost* worksGravatar Joey Hess2012-09-10
|
* add an alert while a locally initiated pairing request is in progressGravatar Joey Hess2012-09-09
| | | | Has a button to cancel the request.
* pair request alert tweaksGravatar Joey Hess2012-09-09
|
* unify bootstrap icon names in a data typeGravatar Joey Hess2012-09-09
|
* update pair request alert when button is pressedGravatar Joey Hess2012-09-09
|
* first pass at alert buttonsGravatar Joey Hess2012-09-08
| | | | | | | | | They work fine. But I had to go to a lot of trouble to get Yesod to render routes in a pure function. It may instead make more sense to have each alert have an assocated IO action, and a single route that runs the IO action of a given alert id. I just wish I'd realized that before the past several hours of struggling with something Yesod really doesn't want to allow.
* added pair listener threadGravatar Joey Hess2012-09-08
|
* display alert for inotify/kqueue errorsGravatar Joey Hess2012-09-06
|
* improve display of failed transfer alertGravatar Joey Hess2012-08-27
|
* scan multiple remotes in one passGravatar Joey Hess2012-08-26
| | | | | | | | | | | | | | | | | | | | | | | | | The expensive transfer scan now scans a whole set of remotes in one pass. So at startup, or when network comes up, it will run only once. Note that this can result in transfers from/to higher cost remotes being queued before other transfers of other content from/to lower cost remotes. Before, low cost remotes were scanned first and all their transfers came first. When multiple transfers are queued for a key, the lower cost ones are still queued first. However, this could result in transfers from slow remotes running for a long time while transfers of other data from faster remotes waits. I expect to make the transfer queue smarter about ordering and/or make it allow multiple transfers at a time, which should eliminate this annoyance. (Also, it was already possible to get into that situation, for example if the network was up, lots of transfers from slow remotes might be queued, and then a disk is mounted and its faster transfers have to wait.) Also note that this means I don't need to improve the code in Assistant.Sync that currently checks if any of the reconnected remotes have diverged, and if so, queues scans of all of them. That had been very innefficient, but now doesn't matter.
* remove slightly misleading extended messageGravatar Joey Hess2012-08-23
|
* fix display of icon in block alert headingGravatar Joey Hess2012-08-06
|
* added an alert after a file transferGravatar Joey Hess2012-08-06
|
* better alert message generationGravatar Joey Hess2012-08-06
|
* make alerts change tense when they finishGravatar Joey Hess2012-08-06
|
* add alert when committingGravatar Joey Hess2012-08-02
|
* refactorGravatar Joey Hess2012-08-02
|
* add some strictness annotationsGravatar Joey Hess2012-08-02
| | | | on general principles
* trim long filenames (have to fit on the sidebar)Gravatar Joey Hess2012-08-02
| | | | | | | | 30 characters would mostly work, but 20 is safer due to some wider letters like 'w'. Of course this is very heuristic based on filesize anyway. (Bootstrap does a surprisingly bad job at dealing with overlong words in the sidebar.)
* awesome alert combiningGravatar Joey Hess2012-08-02
| | | | | | | | | Now an alert tracks files that have recently been added. As a large file is added, it will have its own alert, that then combines with the tracker when dones. Also used for combining sanity checker alerts, as it could possibly want to display a lot.
* add iconsGravatar Joey Hess2012-07-31
|