Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
453 commits
Select commit Hold shift + click to select a range
9cab7c7
fix w3c validation
masyan Aug 7, 2015
86aa440
Avoid of usage default port for local cache
mixas27 Aug 14, 2015
e903664
[maven-release-plugin] prepare release jcommune-3.1
Aug 14, 2015
a728777
[maven-release-plugin] prepare for next development iteration
Aug 14, 2015
49b43e6
JC-2233 Created Properties holder to allow access to props from plugim
mixas27 Aug 10, 2015
58646d1
JC-2238 Changed validation message from blank question title
Aug 18, 2015
b30bbb6
JC-2243 Migration to separate table for post drafts
mixas27 Aug 18, 2015
47872e9
JC-2243 Migration to PostDraft on web level
mixas27 Aug 18, 2015
986f29d
JC-2243 Created separate group for postDraft.js
mixas27 Aug 19, 2015
ed86456
JC-2243 Fix of deletion draft
mixas27 Aug 19, 2015
0d4f6b7
JC-2243 Fixed review remarks, Added unit tests for dao
mixas27 Aug 20, 2015
30b3372
JC-2243 Delete draft url changed to more meaningful
mixas27 Aug 25, 2015
f455a3f
Started signIn component tests
mixas27 Jul 27, 2015
b81dc57
JC-2243 Fixed issue with migration
mixas27 Aug 31, 2015
d5fe63b
JC-2179 - User's online status indicator deleted
illerax Aug 25, 2015
5d0cf24
JC-2248 Path variable renamed in create answer controller
mixas27 Sep 4, 2015
91a8523
JC-2254 Added saving draft when browser tab is closed
mixas27 Sep 7, 2015
3f9ee86
JC-2256 Fixed error in console
mixas27 Sep 8, 2015
31262a1
JC-2094 Refresh captcha in Firefox.
yexela Sep 10, 2015
414a83c
JC-2086 Refresh captcha via TAB:
yexela Sep 11, 2015
ef84365
JC-2086 Refresh captcha via TAB [REWORKED]:
yexela Sep 12, 2015
766df1c
JC-2256 Fix function not defined after uglification
ctapobep Sep 13, 2015
ce6f9e4
JC-2189 Use correctly breadcrumbBuilder accessor method for q&a / cr …
Aug 23, 2015
7cbcc3c
Update doc with plugin installation instruction
ctapobep Sep 21, 2015
b6a216d
JC-1739 Fixed issues with saving of drafts
mixas27 Sep 22, 2015
acbddf1
JC-1739 Fixed issue with saving not changed text
mixas27 Sep 22, 2015
29ef61b
JC-1739 Removed unnecessary logging
mixas27 Sep 23, 2015
ee2190b
JC-1739 Fix draft saving depended only on content length
ctapobep Sep 23, 2015
d69e397
JC-2234.Remove validation from contacts
Vitalij-Voronkoff Sep 11, 2015
b6c198d
JC-2234.Remove validation from contacts
Vitalij-Voronkoff Sep 17, 2015
74e7e53
Decrease logging of active plugin to trace
ctapobep Sep 29, 2015
5205b10
[maven-release-plugin] prepare release jcommune-3.2
Sep 29, 2015
b1f34c1
[maven-release-plugin] prepare for next development iteration
Sep 29, 2015
2cf3040
JC-2225 Don't show signature when previewing post, topic or private m…
Sep 30, 2015
926218b
JC-2244 Remove column STATE from POST table
Oct 2, 2015
5af16da
JC-2086 refresh captcha in registration page by pressing Enter key.
SurfVaporizer Oct 4, 2015
9324222
[JC-2185][JC-2060] Long "Topic title" field
vps2 Oct 2, 2015
859e9bf
JC-2126 On Sign In popup window cursor is not focused on link
vps2 Oct 5, 2015
7a19fdb
JC-2259 Username which consists of [] does not become a link.
Sep 27, 2015
9a33cf3
JC-2241 Internal server error in RSS page occurs after typing post wi…
Sep 29, 2015
eaae789
JC-1998 Wrong error message below the new password field
vps2 Oct 6, 2015
160e6ec
JC-2250 Error messages are not shown for anonymous user
vps2 Oct 7, 2015
f79879f
JC-2201 Save Drafts on writing topics
Oct 9, 2015
752e0fe
JC-2201 Save Drafts on writing topics
Oct 17, 2015
7875897
JC-2198 Rename "Save" Button on Topic and CR creation page
SurfVaporizer Oct 15, 2015
b9d8b61
JC-2115 Captcha text field has different length
vps2 Oct 17, 2015
e6f9f2d
JC-2071 Additional incorrect tooltip over the button "Upload"
vps2 Oct 11, 2015
aff064e
JC-2086 It's impossible to refresh CAPTCHA via Tab
SurfVaporizer Oct 13, 2015
6879777
JC-2259 Username which consists of [] does not become a link.
Oct 13, 2015
763d58b
JC-2214 Get rid of Back button on Post/Topic Editing page
SurfVaporizer Oct 21, 2015
e70597d
JC-2201 Save Drafts on writing topics
Oct 18, 2015
2ac0692
JC-2018 text of Recent activity and Search results have two rows
vps2 Oct 25, 2015
356fdf0
JC-2268 Focus on sign in/sign up pages should be on first input
vps2 Oct 28, 2015
8a68956
JC-2201 Save Drafts on writing topics
Oct 25, 2015
88cf887
JC-2201 Save Drafts on writing topics
Nov 4, 2015
bd0df70
JC-2201 Save Drafts on writing topics
Nov 4, 2015
f04046b
JC-2201 Save Drafts on writing topics
Nov 4, 2015
f4992ba
JC-2102 Add unique key (topic_id, user_id) to LAST_READ_POSTS table
Oct 29, 2015
4d03529
JC-867 change tooltips http://jira.jtalks.org/browse/JC-867
res5515 Oct 12, 2015
406ac46
JC-2201 Save Drafts on writing topics
Nov 12, 2015
040fcba
JC-2234 fix the problem with adding contacts
res5515 Nov 6, 2015
87df0ea
JC-2051 password changed on registering user from sign up page
vps2 Nov 3, 2015
2070396
JC-2201 Fix validation error for title/poll items doesn't disappear
Nov 19, 2015
8b7d352
JC-2201 Fix bug: no error displaying when posting message with one sy…
Nov 21, 2015
115b1e4
JC-2201 Fix ability to add draft w/o CREATE_POSTS permission
Nov 22, 2015
e7c7e62
JC-2201 Fix premature disappearance of error message while creating t…
Nov 22, 2015
d0fbdf0
JC-2040 update jtalks-common version
NCNecros Nov 23, 2015
0770883
Separate Plugin Request Mapper from the defaults
ctapobep Nov 25, 2015
8347a7f
JC-2201 Fix draft removal even if was removed
ctapobep Nov 26, 2015
a9d0439
JC-2234 Remove validation from contacts
res5515 Nov 1, 2015
7b96ed1
Make component tests more business-oriented
ctapobep Nov 27, 2015
932b7c8
Add missing file header
ctapobep Nov 27, 2015
ac531c0
Move UserService into Users in Component Tests
ctapobep Nov 27, 2015
abd3980
[maven-release-plugin] prepare release jcommune-3.3
Dec 7, 2015
91156c8
[maven-release-plugin] prepare for next development iteration
Dec 7, 2015
4f7ed7d
JC-1723 Optimistic lock handlers replaced with retry template
mixas27 Dec 7, 2015
c630d79
update sonar maven plugin
masyan Dec 8, 2015
36ccc85
JC-2134 The user's selection does not work by Enter in Firefox
vps2 Nov 21, 2015
293a907
JC-2048 Sign Up link is available for logged in user
vps2 Dec 1, 2015
1efdafa
JC-2260 Added Confirmation of answering own questions/multi-answers
mixas27 Dec 14, 2015
96af0ee
JC-2260 Fixed remarks
mixas27 Dec 17, 2015
7420fdd
JC-2278 Add caching to avatars
ctapobep Dec 19, 2015
cfb8123
JC-2260 QnA fixes: remove extra words, change dialog buttons
ctapobep Dec 20, 2015
89f8e06
JC-2279 Decrease font in dialogs
ctapobep Dec 20, 2015
96a26df
JC-2262 Removed unnecessary column from contact_type
NCNecros Dec 16, 2015
161dd84
JC-2275 Fixed message in draft about pool length
NCNecros Dec 16, 2015
8e70997
JC-2278 Fix caching tests that depended on locale
ctapobep Dec 21, 2015
21e20b8
Joda-time version update
mixas27 Dec 22, 2015
14f4906
JC-1863 removed "Back" button from QA
NCNecros Dec 23, 2015
198692b
JC-2276 Disable email notification after deleting post
vps2 Dec 21, 2015
7802062
JC-2260 Show answer area if errors or content exist
ctapobep Dec 26, 2015
fe6ca2a
JC-2201 Fix QnA not drafting in after validation error
ctapobep Dec 26, 2015
8582b62
JC-2208 Change first/last pagination buttons from "<" ">" to "<<" ">>"
antinq Dec 27, 2015
a1e6123
JC-2208 Increase size of first/last page buttons
ctapobep Dec 30, 2015
2fb838c
JC-2263 Pop-up window Sign up: Press Enter don`t choose_
vps2 Dec 30, 2015
bba69f9
JC-2281 Error "User not found" error when the recipient is_
vps2 Jan 21, 2016
8ee5e98
JC-1532 Add first version of User Search
mixas27 Jan 23, 2016
91e1838
JC-1532 Fixed styles and order
mixas27 Jan 25, 2016
ffb5ea3
sonar maven plugin
masyan Jan 31, 2016
01362af
JC-2141 Different unsubscribe links depends what entity user subscrib…
mixas27 Feb 1, 2016
d889f2f
JC-2141 Fixed review remarks
mixas27 Feb 2, 2016
25c614d
JC-1532 Fixed XSS vulnerability, search key trimmed now
mixas27 Feb 2, 2016
4bcdfa7
JC-1532 Result sorted by relevance, added dao tests
mixas27 Feb 2, 2016
63e2878
JC-2282 Fixed request mapping for QnA plugin
NCNecros Jan 25, 2016
ca7779f
Update link to CD Pipeline
ctapobep Feb 10, 2016
7deceb5
JC-1090 Image viewed in overlay causes user to press browser 'Back' b…
res5515 Jan 24, 2016
ff2b66d
JC-2148 solve the issue with unsubscribing after editing his first me…
res5515 Jan 14, 2016
4bf9364
JC-2274 Fixed bug: disappearing after deleting extra symbol
Feb 15, 2016
fa373b0
[maven-release-plugin] prepare release jcommune-3.4
Feb 16, 2016
9b4d2e4
[maven-release-plugin] prepare for next development iteration
Feb 16, 2016
f636aeb
Revert JC-2282 fix due to newly introduced issues
ctapobep Feb 16, 2016
90a9c35
[maven-release-plugin] prepare release jcommune-3.5
Feb 17, 2016
ed8d2a9
[maven-release-plugin] prepare for next development iteration
Feb 17, 2016
27645f0
JC-2290 Fixed bug: Shift of search field when trying to type in it
Feb 17, 2016
c91dc2f
JC-2245 Added tooltip(en, ru, uk) on mouse over New poll Ending date …
Z00M Feb 21, 2016
d882284
JC-2285 Fixed bug: Text of editing comment in QnA topics appears afte…
Feb 16, 2016
aa70b5f
Set checksum policy to fail for all repos
ctapobep Feb 22, 2016
e49dc8e
JC-2290 Fixing bug: Similar name of buttons in preview of editing answer
Feb 22, 2016
ea8ce7f
JC-2239 corrected ukranian translation "Drafts" in private message
Z00M Feb 27, 2016
81d9f7d
JC-2194 Got rid of drop-down menu of "Code" button
Sabfir Feb 22, 2016
f893e67
JC-2170 Wrong tags for sintax highlight in Opera12
Sabfir Mar 1, 2016
f5a2816
JC-2205 Changed names for "Username" and "Password" fields on sign up…
Z00M Mar 7, 2016
c9619bb
JC-2292 Manage user groups
Mar 10, 2016
bfe2412
JC-2292 fixed wro.xml and images path in chosen.css
Mar 12, 2016
07e2811
JC-2292 Group add and delete security fix
Mar 15, 2016
ba61b77
JC-2292 bug fixes:
Mar 16, 2016
22aad1f
JC-2194 Fix tooltip on bb-code button "Code"
vtiurin Mar 17, 2016
e989a0d
JC-2210 Dummy image is not loaded in firefox,
Mar 10, 2016
0912595
JC-2204 Fix mistakes in error message text for existing username
NCNecros Mar 22, 2016
1c5c6b0
JC-2293 Fix Cancel button closing all comment areas in QnA
NCNecros Apr 4, 2016
e7898f0
JC-2292 Groups manage spock tests
raimdev Apr 11, 2016
b402689
Bug fixes (#191)
raimdev Apr 11, 2016
98e9a6b
JC-2293 Add license header
ctapobep Apr 11, 2016
ecfa2c1
JC-2292 fix "$root is not defined" error (js syntax error)
Apr 15, 2016
a5d322c
Update pom.xml
masyan Apr 20, 2016
26af122
[maven-release-plugin] prepare release jcommune-3.6
Apr 22, 2016
6abfc10
[maven-release-plugin] prepare for next development iteration
Apr 22, 2016
87ecf25
JC-1962 Fix Unexpected moderators list moving
NCNecros Apr 21, 2016
b5ff33a
JC-2309 common forum settings
Apr 23, 2016
e95fd1b
Fix the failed test
NCNecros May 4, 2016
8c7866a
Remove opencast Maven repo from pom.xml
ctapobep May 8, 2016
6717f22
Fix test that was using Java8 methods
ctapobep May 9, 2016
50e5c6b
JC-2309 email notification checkbox bug fix
May 10, 2016
6b71389
JC-2327 Remove Logo/Fav Icon button bug fix
evgeniycheban May 18, 2016
00a704f
JC-2309 Avatar max size placeholder bug fix
evgeniycheban May 19, 2016
61d207f
JC-2309 Notifications bug fix
evgeniycheban May 20, 2016
a9fa96c
Revert "JC-2309 Notifications bug fix"
ctapobep May 23, 2016
47edd55
Fix working of the web resource optimizer on Windows platforms
mihnayan May 24, 2016
911d183
JC-2309 Email notifications fix bug
evgeniycheban May 27, 2016
5dcda18
JC-2270 Fix date in post
NCNecros May 30, 2016
c0ac28a
JC-2309 Avatar max size the error message fix
evgeniycheban Jun 1, 2016
40cef88
JC-2302 - Sign Up: mistakes in error message for existing Email in En…
Jun 1, 2016
6f97ab3
JC-2309 Fixed wrong focus navigation through administration popup
egatrop Jun 7, 2016
e29c637
JC-2302 fix error for existing email
NCNecros Jun 7, 2016
dd331dc
lekarto Jun 7, 2016
07d4870
JC-2326 Alert message 'Access denied' bug fix
evgeniycheban Jun 11, 2016
be33e54
JC-2289 XSS vulnerability at profile page bug fix
evgeniycheban Jun 13, 2016
249d6cb
[maven-release-plugin] prepare release jcommune-3.7
Jun 15, 2016
f726392
[maven-release-plugin] prepare for next development iteration
Jun 15, 2016
6c17b7b
JC-2333 Fix tooltip for "Session timeout"/"Avatar max size"
NCNecros Jun 16, 2016
15da2a8
JC-2005 Fixed multiple clicking on 'Mark all as read'
Jun 17, 2016
adc07c1
fixed ReadPostControllerTest
Jun 22, 2016
32087d9
[JC-2291] List of users groups
Jun 24, 2016
7b48462
[JC-2291] List of users groups
Jul 20, 2016
98e2e1e
Update version of Flyway to 2.3.1
mihnayan Aug 18, 2016
56c62e5
JC-2291 Fix V71 Migration
oatkachenko Aug 23, 2016
801cba2
JC-2291 Fixed column name in group administration page
oatkachenko Aug 25, 2016
0e78374
MySQL config guide
oatkachenko Aug 29, 2016
ab0b5df
fixed illegal mix of collations
oatkachenko Sep 5, 2016
a3e369c
[maven-release-plugin] prepare release jcommune-3.8
Sep 17, 2016
f5e37ca
[maven-release-plugin] prepare for next development iteration
Sep 17, 2016
d346534
JC-2133. Unique id for topic headers in HTML markup of the branch page
egus032 Sep 14, 2016
a6a44ec
JC-2345 Create user group.
oatkachenko Sep 12, 2016
1b78c8c
JC-2345 Create user group
evgeniycheban Sep 12, 2016
70c01a5
JC-2342 Error 500 after save private message as draft, if the field s…
oatkachenko Aug 16, 2016
55977d1
JC-970 Re-indexing is not secured
evgeniycheban Aug 14, 2016
a5ccdda
JC-2049 Fixed "Sign In" middle mouse button click
lekarto Aug 11, 2016
4ce8938
Add Performance tests
oatkachenko Sep 23, 2016
87837f3
Fix licence headers.
oatkachenko Sep 24, 2016
ba5b252
JC-2273 Map files are generated when JS compression happens
MuH3gPaB Aug 18, 2016
4e2e11d
JC-2273 Remove compressed JS from license checker
ctapobep Sep 24, 2016
bebece5
Fix JETM can't be turned on via system/env vars
ctapobep Sep 27, 2016
494e091
JC-2366 Error 500 displayed instead of 405
oatkachenko Sep 14, 2016
8b6eced
Added basic gatling tests
Varro88 Sep 28, 2016
6dbed68
Fixed license headers
Varro88 Oct 23, 2016
acfef0b
Modify gatling scenarios.
oatkachenko Oct 23, 2016
7c42537
Add license header
ctapobep Oct 30, 2016
6944550
Modify gatling scenarios.
oatkachenko Oct 23, 2016
0b4def9
Bump version to 3.10-SNAPSHOT
ctapobep Nov 2, 2016
770e565
JC-2360 Speed Up Forum
oatkachenko Nov 3, 2016
d084c04
Minor formatting correction
ctapobep Nov 7, 2016
d545091
Include performance tests module into reactor
ctapobep Nov 9, 2016
68aeb6c
gatling tests optimization
oatkachenko Nov 10, 2016
d81cb4f
JC-2306 - mark topic as read by separate request
Temdegon Oct 31, 2016
559fea3
JC-2370 Increase log history for bug hunting
ctapobep Nov 24, 2016
df1d0f3
JC-2367 Edit user groups
oatkachenko Nov 25, 2016
d4f91f4
JC-2367 Edit user groups (Groovy tests)
oatkachenko Nov 28, 2016
95df075
Get rid of JGroups
oatkachenko Dec 11, 2016
8843df8
Stop deleting non-activated users
oatkachenko Dec 12, 2016
2cbfda8
Bump verstion to 3.11-SNAPSHOT
ctapobep Dec 13, 2016
6adc460
JC-2361 User not activates in Poulpe.
oatkachenko Dec 14, 2016
4e3537b
JC-2367 - service and controller to edit groups
Temdegon Dec 15, 2016
b0770b3
JC-2380 SpeedUpForum
oatkachenko Dec 22, 2016
bd87dc7
JC-2380 SpeedUpForum
oatkachenko Dec 24, 2016
d21cace
Get rid of common-security library
oatkachenko Dec 25, 2016
f3c319b
JC-1178 Displaing websites as hyperlink in posts (backend version)
usharik Dec 20, 2016
ecfa502
JC-1178 Cyrillic domain name support
usharik Jan 5, 2017
2067661
JC-2317 Error message while deleting from a group without auth.
Jan 7, 2017
528c819
JC-1178 JvaDoc fix
usharik Jan 5, 2017
2efc031
JC-2381 Controller exception to HTTP errors maping without 302 redire…
usharik Jan 4, 2017
91d028a
JC-2380 SpeedUpForum
oatkachenko Jan 16, 2017
839fce5
JC-2369 Delete user groups
oatkachenko Jan 19, 2017
575466a
JC-2367 Fix XSS vulnerability in group list
oatkachenko Jan 19, 2017
70d3756
JC-2367 Fix XSS vulnerability on manage permission page
oatkachenko Jan 30, 2017
0dbe15c
Merge pull request #277 from oatkachenko/JC-2367-xss-branch-permission
masyan Jan 30, 2017
012ec13
JC-2389 Email black-list
oatkachenko Jan 30, 2017
c5e440e
Merge pull request #278 from oatkachenko/email-black-list
masyan Jan 30, 2017
ca53036
JC-2369 Delete user groups
oatkachenko Feb 4, 2017
2f6fef6
JC-2347 Users in Group list implementation
usharik Jan 10, 2017
1b02b6a
JC-2391 XSS on users list page
oatkachenko Feb 5, 2017
cb5b6cd
Bump version to 3.12
ctapobep Feb 16, 2017
45ccb21
JC-2351 Fixed: Smileys are displayed as rombuses in comments
mihnayan Feb 7, 2017
e23f762
JC-2347 Correction user group header
usharik Feb 11, 2017
03e112b
JC-2378 Fixed: new uploaded avatar is not shown
mihnayan Feb 15, 2017
e5fe24e
JC-2399 Fixing 500 error which occurs when redirecting to http error …
usharik Feb 17, 2017
7162589
Revert "JC-2399 Fixing 500 error which occurs when redirecting to htt…
ctapobep Mar 1, 2017
72c2980
JC-2392 Pagination in users of group list
usharik Feb 8, 2017
07e8d40
JC 2399 Fixing 500 error which occurs when redirecting to http error …
usharik Mar 6, 2017
611143c
JC-2392 Upper pagination and user in group table layout fix
usharik Mar 14, 2017
fc8c24f
JC-2390 Manage filters to avoid spam bots registration
oatkachenko Mar 16, 2017
113e04e
clean up thread-locals
oatkachenko Mar 22, 2017
cec7d67
get rid of direct access to GroupDao for 'create new group' operation…
oatkachenko Mar 22, 2017
06aa001
JC-2394 fix html validation errors
oatkachenko Mar 22, 2017
a7d268f
JC-2396 [TAB] doesn't move focus to [x] button on pop-up window.
oatkachenko Mar 27, 2017
e0e377f
JC-2396 Changed order of focus moving on 'remove' confirmation pop up
oatkachenko Apr 5, 2017
9a8bf28
JC-2350 Fixed: Smileys are displayed as rhombuses in title
mihnayan Mar 30, 2017
bdab535
JC-2065 Code Review and Q&A topics: Added date and author of edited c…
Z00M Apr 9, 2017
1cee06a
JC-2065 Fix wrong table name - uppercase it
ctapobep Apr 15, 2017
29003f6
JC-2390 minor fixes
oatkachenko Apr 26, 2017
7c35b23
JC-2400 Add user to group
oatkachenko May 13, 2017
84d20db
JC-2390 fix
oatkachenko May 15, 2017
4de113b
Bump version to 3.13-SNAPSHOT
ctapobep May 30, 2017
cda3454
JC-2401
evgeniycheban May 1, 2017
f5b6c16
JC-2385 URL highlighting in CodeReview posts
usharik Apr 29, 2017
ab1e00e
JC-2400 Service to get user out of appropriate group with name and em…
usharik May 8, 2017
f85fea4
JC-2400 Error with user in several groups correction
usharik Jun 5, 2017
caf0791
JC-2358 URL highlighting in question-and-answer plugin comments
usharik Jul 2, 2017
cdf589c
JC-2400 Search users that should be added to usergroup
evgeniycheban Aug 17, 2017
ed3a86a
JC-2400 Search users that should be added to usergroup
evgeniycheban Oct 13, 2017
90b9618
Make at least `model` compilable
ctapobep Mar 4, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 5 additions & 10 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@
*.ipr
*.iws
*.war
*.jar

#log files
*.log
*.log*

# Netbeans project files
nbproject
Expand All @@ -29,12 +28,8 @@ nbproject
target
logs

/jcommune-view/jcommune-web-controller/test-output
/jcommune-model/test-output
/jcommune-service/test-output
/jcommune-view/jcommune-web-view/test-output
/jcommune-view/jcommune-web-controller/bin
/jcommune-view/jcommune-web-view/bin
test-output
bin
/jcommune-view/jcommune-web-view/src/main/webapp/resources/wro
/jcommune-service/bin
/jcommune-model/bin
dependency-reduced-pom.xml
pom.xml.versionsBackup
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ JCommune is a part of [JTalks](http://jtalks.org) ecosystem of projects which re

* [Installation Guide](docs/installation/general-installation-guide.md) is to be read if you want just to try the app or you want to install it locally
* You can find live production instance: [JavaTalks Forum](http://javatalks.ru)
* If you want to install plugins, read [plugins page](jcommune-plugins/README.md)

For developers/QA/PMs/Leads:
* [How to join us](docs/how-to-join-us.md)
* [Sonar](http://sonar.jtalks.org/dashboard/index/1)
* [Deployment Pipeline](http://ci.jtalks.org/view/JCommune.%20Pipeline)
* [Deployment Pipeline](http://ci.jtalks.org/view/JC.%20Pipeline/)
* [Stack of Technologies](http://wiki.jtalks.org/display/jtalks/Stack+of+technologies)
* [Commit Conventions](docs/commit-conventions.md)
* [Code Conventions](http://wiki.jtalks.org/display/jtalks/Code+Conventions)

####State of Project

- Questions'n'Answers plugins is under development
- Plugin API to be worked on soon
- First the project was connected to Poulpe a lot - everything was administrated via admin panel. Now we think that Poulpe
should manage only Users and Groups and thus the project is in transition from "configuration in Poulpe" state to
"configuration in JCommune itself" state.
Expand Down
19 changes: 19 additions & 0 deletions docs/installation/general-installation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,22 @@ So if you want to run the app locally (from binaries or sources), you need to in
- Clone the project: `git@github.com:jtalks-org/jcommune.git`. Now you can work with that project from your IDE.
- If you want to deploy it from command line.. Step into the folder and build it: `mvn clean package`
- Repeat everything from _Installing from Binaries_ but instead of downloading war-file, just grab it from `jcommune/jcommune-view/jcommunew-web-view/target`

####Advanced configuration of MySQL Server
- Make sure that you are using MySQL Server ver. 5.7.9 or higher. Edit the my.cnf file (my.ini on Windows operating systems) in your MySQL server. The configuration file may be located on one of the following paths (in priority order):
WINDOWS:
- %PROGRAMDATA%\MySQL\MySQL Server X.X\my.ini (my.cnf)
- %WINDIR%\my.ini (my.cnf)
- C:\my.ini (my.cnf)
- INSTALLDIR\my.ini (my.cnf)
Unix, Linux и OS X:
- /etc/my.cnf
- /etc/mysql/my.cnf
- SYSCONFDIR/my.cnf
- Locate the [mysqld] section in the file, and add or modify the following parameters:
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
- Without making this changes symbols from UTF8MB4 character set will be displayed like '??'.
- Restart your MySQL server for the changes to take effect.
13 changes: 9 additions & 4 deletions docs/installation/jcommune.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,21 @@
<!-- SMTP server that's used to send mails to the end user (e.g. during registration) -->
<!-- Please, don't use these credentials if possible (and don't use it for bad things ;)), -->
<!-- but if you want just to quickly try the app or you're a part of dev team, feel free to use these credentials -->
<Environment name="SMTP_HOST" value="smtp.mail.ru" type="java.lang.String"/>
<Environment name="SMTP_HOST" value="smtp.gmail.com" type="java.lang.String"/>
<!--for smtp default port value is 25, for smtps - 465-->
<Environment name="SMTP_PORT" value="465" type="java.lang.String"/>
<Environment name="MAIL_USERNAME" value="jtalks@inbox.ru" type="java.lang.String"/>
<Environment name="MAIL_PASSWORD" value="javatalks" type="java.lang.String"/>
<Environment name="SSL_ENABLED" value="true" type="java.lang.String" />
<Environment name="MAIL_USERNAME" value="example.smtp.jtalk@gmail.com" type="java.lang.String"/>
<Environment name="MAIL_PASSWORD" value="Jtalk111" type="java.lang.String"/>
<Environment name="SSL_ENABLED" value="true" type="java.lang.String"/>
<!--This is where you need to put plugins jar files if you need to install any. -->
<!--This property is used in jcommune-service\src\main\resources\org\jtalks\jcommune\service\applicationContext-service.xml -->
<Environment name="JCOMMUNE_PLUGIN_FOLDER" value="~" type="java.lang.String"/>

<!--You will need this property for changing path to log4j configuration file. -->
<!--Example of log4j you can find in jcommune-view\jcommune-web-view\src\main\resources\log4j.xml -->
<!--that used by default. -->
<!--<Environment name="JCOMMUNE_LOG4J_CONFIGURATION_FILE" value="/log4j.xml" type="java.lang.String"/> -->

<!-- You'll need this configuration to be in $TOMCAT_HOME/conf only if you need to run Poulpe together with JCommune -->
<!-- Note, that if you really need this, ehcache configuration should have the same port as Poulpe ehcache configuration. -->
<!--Environment name="EH_CACHE_CONFIG" value="file:/home/tomcat/app/tomcat-uat/conf/jcommune.ehcache.xml" type="java.lang.String" /-->
Expand Down
5 changes: 3 additions & 2 deletions docs/installation/linux/basic-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Java:
- Add it to your PATH: `PATH=$JAVA_HOME/bin:$PATH`

MySQL:
- Install it: `sudo apt-get install mysql-server-5.5`
- Install it: `sudo apt-get install mysql-server-5.7`
- Log into MySQL terminal, it may look like `mysql -uroot -proot`
- Create database: `create database jtalks character set utf8`
- Create database: `create database jtalks character set utf8mb4`
- NB: some functionality (like posting extended unicode symbols e.g. smiles) is not going to work with default MySQL configuration, read details in the [Advanced configuration of MySQL Server](https://github.com/jtalks-org/jcommune/blob/master/docs/installation/general-installation-guide.md#advanced-configuration-of-mysql-server)

Tomcat:
- Download it: `wget http://apache.softded.ru/tomcat/tomcat-7/v7.0.35/bin/apache-tomcat-7.0.35.zip`
Expand Down
4 changes: 3 additions & 1 deletion docs/installation/windows/basic-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Java:
MySQL:
- [Install latest version](http://dev.mysql.com/downloads/mysql)
- Log into MySQL terminal, it may look like `mysql -uroot -proot`
- Create database: `create database jtalks character set utf8`
- Create database: `create database jtalks character set utf8mb4`
- NB: some functionality (like posting extended unicode symbols e.g. smiles) is not going to work with default MySQL configuration, read details in the [Advanced configuration of MySQL Server](https://github.com/jtalks-org/jcommune/blob/master/docs/installation/general-installation-guide.md#advanced-configuration-of-mysql-server)


Tomcat:
- Download it: `wget http://apache.softded.ru/tomcat/tomcat-7/v7.0.35/bin/apache-tomcat-7.0.35.zip`
Expand Down
18 changes: 9 additions & 9 deletions jcommune-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<artifactId>jcommune</artifactId>
<groupId>org.jtalks.jcommune</groupId>
<version>2.14-SNAPSHOT</version>
<version>3.13-SNAPSHOT</version>
</parent>
<artifactId>jcommune-model</artifactId>
<name>${project.artifactId}</name>
Expand All @@ -22,10 +22,6 @@
<groupId>org.jtalks.common</groupId>
<artifactId>jtalks-common-service</artifactId>
</dependency>
<dependency>
<groupId>org.jtalks.common</groupId>
<artifactId>jtalks-common-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
Expand Down Expand Up @@ -129,10 +125,6 @@
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-jgroupsreplication</artifactId>
</dependency>
<!--
Used for cache monitoring. Has conflicts with used version of slf4j.
-->
Expand All @@ -144,10 +136,18 @@
<groupId>com.googlecode.flyway</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>com.googlecode.lambdaj</groupId>
<artifactId>lambdaj</artifactId>
</dependency>
<dependency>
<groupId>io.qala.datagen</groupId>
<artifactId>qala-datagen</artifactId>
</dependency>
</dependencies>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@
package org.jtalks.jcommune.model.dao;

import org.jtalks.common.model.entity.Group;
import org.jtalks.jcommune.model.dto.GroupAdministrationDto;
import org.jtalks.jcommune.model.dto.PageRequest;
import org.jtalks.jcommune.model.dto.UserDto;

import java.util.List;
import java.util.Set;

/**
* Data access object for manipulating groups
*
*
* @author Mikhail Stryzhonok
*/
public interface GroupDao extends org.jtalks.common.model.dao.GroupDao {
Expand All @@ -32,4 +34,38 @@ public interface GroupDao extends org.jtalks.common.model.dao.GroupDao {
* @return the list of found groups
*/
List<Group> getGroupsByIds(List<Long> ids);

/**
* Get the list of all groups.
*
* @return list of groups
*/
List<Group> getAll();

/**
* Get the list of all groups which names contains the specified name.
*
* @param name group name
* @return list of groups
* @throws IllegalArgumentException if name is null
*/
List<Group> getByNameContains(String name);

/**
* Get the list of all groups which name matches ignoring case the specified name.
*
* @param name group name
* @return list of groups
* @throws IllegalArgumentException if name is null
*/
List<Group> getByName(String name);

/**
* @return list of GroupAdministrationDto
*/
List<GroupAdministrationDto> getGroupNamesWithCountOfUsers();

List<UserDto> getGroupUsersPage(long id, PageRequest pageRequest);

int getGroupUserCount(long id);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/**
* Copyright (C) 2011 JTalks.org Team
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/

package org.jtalks.jcommune.model.dao;


import org.jtalks.common.model.dao.Crud;
import org.jtalks.jcommune.model.entity.SpamRule;

import java.util.List;

/**
* @author Oleg Tkachenko
*/
public interface SpamRuleDao extends Crud<SpamRule> {
List<SpamRule> getAllRules();
List<SpamRule> getEnabledRules();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
/**
* Copyright (C) 2011 JTalks.org Team
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package org.jtalks.jcommune.model.dao;

import org.jtalks.common.model.dao.Crud;
import org.jtalks.jcommune.model.dao.hibernate.TopicDraftHibernateDao;
import org.jtalks.jcommune.model.entity.TopicDraft;
import org.jtalks.jcommune.model.entity.JCUser;

/**
* DAO for {@link TopicDraft} objects
*
* @author Dmitry S. Dolzhenko
* @see TopicDraftHibernateDao
*/
public interface TopicDraftDao extends Crud<TopicDraft> {
/**
* Get a draft topic of specified user
*
* @param user the user
* @return the draft topic or null
*/
TopicDraft getForUser(JCUser user);

/**
* Delete the draft topic of specified user
* @param user the user
*/
void deleteByUser(JCUser user);
}
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@
*/
package org.jtalks.jcommune.model.dao;

import org.hibernate.ObjectNotFoundException;
import org.jtalks.common.model.entity.User;
import org.jtalks.jcommune.model.dto.UserDto;
import org.jtalks.jcommune.model.entity.JCUser;

import java.util.Collection;
Expand Down Expand Up @@ -97,4 +99,23 @@ public interface UserDao extends org.jtalks.common.model.dao.UserDao<JCUser> {
* @return the list of found user names
*/
List<String> getUsernames(String pattern, int count);

/**
* Gets list of users by part of username or email
*
* @param pattern part of username (case insensitive)
* @param count max count of users in result
* @return list of found users
*/
List<JCUser> findByUsernameOrEmail(String pattern, int count);

/**
* May return a proxy (without hitting DB). If no row found the object is returned but it
* throws {@link ObjectNotFoundException} when properties are first accessed.
* @param id stored user identifier.
* @return proxy of JCUser object.
*/
JCUser loadById(Long id);

List<UserDto> findByUsernameOrEmailNotInGroup(String pattern, long groupId, int count);
}
Loading