3976 Commits

Author SHA1 Message Date
8af4d98b14 General cleaning 2014-08-11 14:53:05 +02:00
1de273ae1a Fixed mapping 2014-08-11 14:52:20 +02:00
fb53d02fbe Removed unused method. 2014-08-11 14:50:17 +02:00
e46cdf707d Added date filtering to the unfinished seminar page. 2014-08-11 13:32:07 +02:00
3e19d6d115 Refactored some QueryDSL. 2014-08-11 12:44:50 +02:00
fred-fri
d226734a58 sonar 2014-08-11 13:51:37 +09:00
fred-fri
271ecc7d69 sonar 2014-08-11 13:48:20 +09:00
c0f9da1434 Mocks not always that great. 2014-08-06 16:10:12 +02:00
dc1d001324 Oh JUnit 2014-08-06 16:08:46 +02:00
a322de8534 Fixed some QClass imports. 2014-08-06 16:00:40 +02:00
ec9ec2d91d Reversed the order in which the thread replies are added to the mail. 2014-08-06 15:51:02 +02:00
4dda71e571 Added nesting to replies in the thread. 2014-08-06 15:48:27 +02:00
ede3ec7566 Added the contents of the thread when composing the mail body. 2014-08-06 15:24:32 +02:00
65f35ad7af Fixed some UnsupportedEncodingExceptions that cannot happen. 2014-08-06 15:19:59 +02:00
fa6113c220 Created initial implementation of MailContentComposer. 2014-08-06 14:58:28 +02:00
079fe36014 Forum mail sender now uses a MailContentComposer to provide the body of the message. 2014-08-06 14:49:32 +02:00
ee43f7fb4b Forum mail sender now uses a ForumMailBodyContentFormatter to provide the body of the message. 2014-08-06 14:47:32 +02:00
d0bf95ab3b Moved some remaining entities to the proper package. 2014-08-06 14:30:13 +02:00
e59588a373 Fixed so that all external dependencies are specified in ForumMailModule and satisfied by ForumMailModuleTest by providing mocks. 2014-08-06 14:18:59 +02:00
fae50cc0d5 Extracted forum mail related stuff to its own package. 2014-08-05 16:43:45 +02:00
Emil Siverhall
ca1c426ab7 content parsing on it's own 2014-08-01 15:37:49 +02:00
aa81e0b896 Merge remote-tracking branch 'origin/develop' into develop 2014-08-01 10:27:24 +02:00
a2fe440746 Is Sonar even helping? 2014-08-01 10:23:53 +02:00
a401a87358 Refactored the MailResult into an interface with only the relevant methods. 2014-08-01 10:22:20 +02:00
Emil Siverhall
3ff3b5a46d set reply to-address to the one in forum mail settings for forum generated mails 2014-08-01 08:51:35 +02:00
f80d25136c Extracted common SMTP functionality. 2014-08-01 08:19:44 +02:00
Emil Siverhall
2f79b72e8c basic delimiter added for separating new replies from rest of the e-mail 2014-07-31 22:07:45 +02:00
6a2ce262e4 Removed profile check from MailEventWorker. 2014-07-31 17:14:45 +02:00
359d4e7b8b Binds different Mailer implementations depending on profile currently running.
In DEV it simply prints the mails to console, in TEST it redirects everything to a specific address and in PROD it sends the mail to the proper recipients.
2014-07-31 16:59:38 +02:00
3fa08d8f23 Removed some left-over stuff from the Spring days. 2014-07-31 16:56:39 +02:00
f00d6db2a1 Extracted an interface from the Mail class so that it can be replaced with a different implementation. 2014-07-31 16:05:09 +02:00
Emil Siverhall
8d83a5910f worker scheduled to read imap every minute 2014-07-31 15:03:42 +02:00
Emil Siverhall
6e6d81237b not using the default session instance in imap reader 2014-07-31 14:41:38 +02:00
Emil Siverhall
90242fcbab Merge remote-tracking branch 'origin/develop' into develop 2014-07-31 12:57:01 +02:00
Emil Siverhall
1ac089b8ed removed temporary logging 2014-07-31 12:56:37 +02:00
Emil Siverhall
510edb8d08 added logger 2014-07-31 12:33:43 +02:00
f5fb7c0944 Revert "Changed DataView in threaded forum to a simple ListView since we don't use the pagination and removed some more forum service interface methods."
This reverts commit 9d6723d39ac72867d3fed0ecfe16cdde26140d45.

Conflicts:
	core/src/main/java/se/su/dsv/scipro/forum/BasicForumService.java
	core/src/main/java/se/su/dsv/scipro/forum/BasicForumServiceImpl.java
	core/src/test/java/se/su/dsv/scipro/forum/ProjectForumServiceImplTest.java
	view/src/test/java/se/su/dsv/scipro/forum/panels/threaded/ViewForumThreadPanelTest.java
2014-07-31 11:36:01 +02:00
Emil Siverhall
8db3743071 basic parsing of multipart content 2014-07-31 10:59:49 +02:00
Emil Siverhall
bdc051aa2e renamed gmailreader to imap reader since gmail is only defined in the mail settings 2014-07-31 10:27:46 +02:00
Emil Siverhall
487604d9b6 moving around 2014-07-31 10:13:01 +02:00
Emil Siverhall
07dd576e2d renamed method to better reflect what we actually receives 2014-07-31 09:47:59 +02:00
Emil Siverhall
fa3af96f02 moved worker to forum package and exposed forum mail service 2014-07-31 08:52:30 +02:00
Emil Siverhall
e585ae0b92 Merge remote-tracking branch 'origin/develop' into develop
Conflicts:
	core/src/main/java/se/su/dsv/scipro/forum/ForumMailRepository.java
2014-07-31 08:15:53 +02:00
Emil Siverhall
80b57bb6b5 simple worker for posting forum replies from mails. 2014-07-30 20:15:10 +02:00
0bf2992840 Removed duplicate method definitions. 2014-07-30 16:38:27 +02:00
af622fd75c Removed more methods on the forum interfaces. 2014-07-30 16:33:09 +02:00
9d6723d39a Changed DataView in threaded forum to a simple ListView since we don't use the pagination and removed some more forum service interface methods. 2014-07-30 16:31:58 +02:00
e945e7dfb4 Removed useless interface methods. 2014-07-30 16:18:33 +02:00
Emil Siverhall
897af2632d mail reader interface with gmail implementation 2014-07-30 15:46:48 +02:00
0d3072c605 Made most of forum stuff package local to hide implementation details and give a better overview of what the rest of the system uses. 2014-07-30 15:35:51 +02:00