15112 Commits

Author SHA1 Message Date
fred-fri
857d826d41 sonar 2014-08-11 12:53:15 +09:00
fred-fri
e01ee1d7bf sonar 2014-08-11 12:51:59 +09:00
fred-fri
1afe15ee40 sonar 2014-08-11 12:51:47 +09:00
fred-fri
529543c67b sonar 2014-08-11 12:50:15 +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
716a851d07 Installed the ForumMailModule in the web application. 2014-08-06 15:51:39 +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
fred-fri
364b9c07a2 Merge branch 'develop' of ssh://git.dsv.su.se/git/scipro/scipro into develop 2014-08-01 15:54:08 +09:00
fred-fri
ee8555dd41 fenced feedback stuff 2014-08-01 15:53:03 +09:00
Emil Siverhall
59c2047795 Merge remote-tracking branch 'origin/develop' into develop 2014-08-01 08:51:54 +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
fred-fri
5545a4bf3d removed getsession 2014-08-01 09:29:45 +09:00
fred-fri
22efb07eb5 removed getsession 2014-08-01 09:25:04 +09:00
fred-fri
db709668d5 removed getsession 2014-08-01 09:23:02 +09:00
fred-fri
8f8c8a1108 removed getsession 2014-08-01 09:21:23 +09:00
fred-fri
9b3d7b5d8a removed getsession 2014-08-01 09:18:24 +09: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
Emil Siverhall
f4086dfa09 changed header under forum settings 2014-07-31 21:40:17 +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
0a550feab5 mounting admin forum settings 2014-07-31 14:54:17 +02:00
Emil Siverhall
6e6d81237b not using the default session instance in imap reader 2014-07-31 14:41:38 +02:00
Emil Siverhall
16ee33c830 changed to use a password text field to not show password in the user interface 2014-07-31 14:12:23 +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