Age | Commit message (Collapse) | Author |
|
|
|
- replaced "No filter" option text with "All", to avoid the "No filter
is not enabled" situation
- replace the "Filter" label on the button with "1 Filter"/"2 Filters"
when a filter is active, so a user can immediately see that without
having to open the filter pop-up
|
|
Fixes: #9367
|
|
|
|
|
|
The AccountManager creates AccountState objects, and stores them in a
shared pointer.
Previously, the raw pointer was given out, and stored in other objects.
That made removal very tricky: when an account gets removed, the
underlying object gets deleted, and then all classes that listen get
notified of the deletion. Those classes would sometimes put a nullptr
into the AccountState pointer they stored, and in each usage would
(hopefully) check for a nullptr. The problem was that a number of checks
were missing, which the clang static analyser pointed out.
This patch changes nearly all uses of a raw pointer into the shared
pointer, thereby making sure all usages have a valid reference, even
when account deletion happens. The two places where a raw pointer is
still used, now put it into a refcounted pointer as soon as possible.
|
|
|
|
|
|
We now hav proper headers and sortig capabilities
Fixes: #8158
|
|
|
|
|
|
|
|
And also replace all remaining Q_DECL_OVERRIDE to just override
|
|
With the 4.5sec timeout, it was very easy to accidently hit the wrong notification
when the previous one dissapeared so late.
|
|
|
|
* Add a more functional error view #5516
* Allow filtering of ignores and warnings to see only important bits.
* Navigate from the folder view to the error view by clicking on the
error list with the red background.
* Move the error list into its own ui file to allow easier extension.
* Fix issue around tab id handling in ActivitySettings.
* Rename "Action" column to "Issue".
* Change mouse cursor to hand over button and new error list area
Several OSX fixes provided by guruz.
|
|
|
|
See #5180
|
|
|
|
|
|
|
|
The problem with QSet is that the QDateTime was part of
the hash, but that does not make sens as it should be unique
per widget and not per <date, widget>
Instead make it a QHash so there is only one entry per widget.
|
|
|
|
|
|
|
|
The policy that was said is that if a notification has no action, the
client can and should display a close-button. This patch does it.
In additon to that, the client needs a blacklist of closed notifcations
otherwise they would re-appear next time the server notifications are
fetched again.
Also, changed the cleanup of not-longer-used widgets to be more robust.
|
|
In multi-account environment every account needs the own counter.
|
|
Pulls a timer that polls for new notifications regularly. Add
Config file method for the interval value.
|
|
|
|
|
|
Created a activitydata.h header (only) for the basic data, plus
a separate file for the model. Cleans up the widget source.
|
|
That cleans the ActivityWidget class
|
|
Show a GUI notification once an hour if no new notifications arrive
to not annoy users.
|
|
Parse the replyCode from the button action calls and disable
buttons accordingly.
|
|
As interaction is required, the notifications are displayed in a
separate widget above the server activity list.
Note that design and also where we display the notifications can
still be discussed and changed.
|
|
If the ownCloud server does not have the activity app enabled,
it returns 999 as status code. If all the configured accounts
do that, this code hides the entire tab with the server
activities.
This is supposed to fix #4533
|
|
If the server does not have the activities app enabled, it says so now.
Fix for #4163
|
|
The signal jsonReceived() now not only delivers the raw json string, but
also the status code that came as OCS reply.
Also, fixed a typo in the signals name (recieved => received).
|
|
|
|
|
|
On refresh, remove the activity list object from the models list.
|
|
|
|
Also added a second parameter, fixed plural translation and added
a less-than-a-minute-ago term.
|
|
|
|
|
|
|
|
|
|
|
|
Do not use it via a smart pointer class.
|
|
|