Martin Gruner
|
fdbf501be0
Maintenance: Refactor the remaining observers to concerns and drop the rails-observers dependency.
|
3 years ago |
Denny Bresch
|
832b2ec28a
Fixes #2661 - Inconsistency in "follow up" strings
|
5 years ago |
Ryan Lue
|
a1da3a27f9
Enable Lint/UselessAssignment cop.
|
5 years ago |
Thorsten Eckel
|
e8a57517f4
Updated rubocop - applied custom Layout/AlignHash style.
|
5 years ago |
Martin Edenhofer
|
7326122e28
Fixed issue #2405 - Unable to load Zammad in web browser, because of online notification of ticket which was already deleted in the meantime.
|
5 years ago |
Thorsten Eckel
|
9af50f2a4e
Updated rubocop to latest version (0.59.2) and applied required changes.
|
6 years ago |
Martin Edenhofer
|
050f5527e6
Fixed issue #1920 - Sometimes notifications are note marked as seen if somebody else already closed the ticketed.
|
6 years ago |
Thorsten Eckel
|
705487154c
Applied changes for Rubocop 0.51.
|
7 years ago |
Thorsten Eckel
|
757f0ac9bd
Applied RuboCop Style/BlockDelimiters to improve readability.
|
7 years ago |
Thorsten Eckel
|
ef38800bae
Refactoring: Prefer .update! over .update, .update_attributes and .update_attribute - see http://www.davidverhasselt.com/set-attributes-in-activerecord/ .
|
7 years ago |
Martin Edenhofer
|
1a43d9bd5c
Improved tests.
|
7 years ago |
Martin Edenhofer
|
4628299d20
Introduced config.interface_handle to find out via which interface the source code got executed.
|
8 years ago |
Martin Edenhofer
|
3c523b4f7d
Moved to init prepare/setup method for tests.
|
8 years ago |
Martin Edenhofer
|
b9c24748a9
Added reset of UserInfo.current_user_id for background jobs and transactions.
|
8 years ago |
Martin Edenhofer
|
6d02578d61
Moved to global Observer::Transaction.commit which executes model based transitions.
|
8 years ago |
Martin Edenhofer
|
ed5b058d6e
Refactoring of NotificationFactory.
|
8 years ago |
Martin Edenhofer
|
3d372543b2
Fixed test (just self seen time has changed).
|
8 years ago |
Martin Edenhofer
|
44bff0055a
Reduced time from 35 min to 10 minutes until own read notifications are deleted (get long online notifications faster clean).
|
8 years ago |
Martin Edenhofer
|
0dd0288cb0
Set Rails.configuration.webserver_is_active in test block.
|
8 years ago |
Martin Edenhofer
|
57b1f3409e
Improved auto seen feature for online notifications.
|
8 years ago |
Martin Edenhofer
|
c43274e518
Added cleanup after test.
|
8 years ago |
Martin Edenhofer
|
ccc61277f8
Improved OnlineNotification.cleanup, just delete notification after 35 min. if user read it by him self. If auto seen is set (by some other user), just delete the online notification after 8 hours.
|
8 years ago |
Martin Edenhofer
|
08bd5186b7
So not set pending reminder online notifications to seen.
|
8 years ago |
Martin Edenhofer
|
77fedbe108
Only set online notifications to seen for non ticket owners.
|
8 years ago |
Martin Edenhofer
|
a00be78195
Added postgresql support.
|
8 years ago |
Martin Edenhofer
|
727aeb9a19
Fixed rubocop issues.
|
9 years ago |
Martin Edenhofer
|
e2dff052a5
Improved online notification. Just leave unseen if I'm owner and somebody else sets pending_reminder.
|
9 years ago |
Thorsten Eckel
|
81e14dd961
Applied rubocop cop 'Style/Next' and 'Style/UselessAssignment' and 'Style/BlockNesting'.
|
9 years ago |
Thorsten Eckel
|
54fd62487c
Applied rubocop cop 'Style/SpaceInsideStringInterpolation'.
|
9 years ago |
Martin Edenhofer
|
ac9a5b1164
Fixed reset of online notifications.
|
9 years ago |
Martin Edenhofer
|
03b47edd43
Some new rubocop checks.
|
9 years ago |
Martin Edenhofer
|
158bf737ae
Applied rubocop Style/IndentHash.
|
9 years ago |
Martin Edenhofer
|
c79c73d009
Applied rubocop Style/IndentArray.
|
9 years ago |
Martin Edenhofer
|
bd1db72b9b
Applied rubocop Style/TrailingBlankLines.
|
9 years ago |
Thorsten Eckel
|
ce58d465c0
Corrected with rubocop cop 'Style/HashSyntax'.
|
9 years ago |
Thorsten Eckel
|
58ea373054
Corrected test/ folder with rubocop cop 'Style/StringLiterals'.
|
9 years ago |
Martin Edenhofer
|
f7b0473daa
Added event module to set online notifications of merged and close tickets to seen.
|
9 years ago |
Martin Edenhofer
|
e43f9a81e4
Set all notifications of merged ticket to seen.
|
9 years ago |
Martin Edenhofer
|
11edfc8780
Check if online notifications are deleted after ticket destroy.
|
9 years ago |
Martin Edenhofer
|
aa51a9a5dc
Fixed user who initiate the notification.
|
9 years ago |