Refactor notification filtering
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 8 Jun 2016 19:38:35 +0000 (21:38 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 8 Jun 2016 19:41:49 +0000 (21:41 +0200)
commit3da1daa6488c642430858a4baacc0aa986a6ebc1
tree55974be97b832264682d0becfa194fd6a3a06877
parent9f562b1024a26cd8841447c6e29c3d89039d7a22
Refactor notification filtering
14 files changed:
src/main/java/net/pterodactylus/sone/notify/ListNotificationFilters.java
src/main/java/net/pterodactylus/sone/notify/PostVisibilityFilter.java [new file with mode: 0644]
src/main/java/net/pterodactylus/sone/notify/ReplyVisibilityFilter.java [new file with mode: 0644]
src/main/java/net/pterodactylus/sone/web/DismissNotificationPage.java
src/main/java/net/pterodactylus/sone/web/IndexPage.java
src/main/java/net/pterodactylus/sone/web/NewPage.java
src/main/java/net/pterodactylus/sone/web/SoneTemplatePage.java
src/main/java/net/pterodactylus/sone/web/WebInterface.java
src/main/java/net/pterodactylus/sone/web/ajax/DismissNotificationAjaxPage.java
src/main/java/net/pterodactylus/sone/web/ajax/GetNotificationsAjaxPage.java
src/main/java/net/pterodactylus/sone/web/ajax/GetStatusAjaxPage.java
src/test/java/net/pterodactylus/sone/notify/ListNotificationFiltersTest.java [new file with mode: 0644]
src/test/java/net/pterodactylus/sone/notify/PostVisibilityFilterTest.java [new file with mode: 0644]
src/test/java/net/pterodactylus/sone/notify/ReplyVisibilityFilterTest.java [new file with mode: 0644]