Commit graph

21903 commits

Author SHA1 Message Date
Thibault Duplessis 560b5af4c1 don't display empty practice progress to anon users 2017-02-15 19:33:24 +01:00
Thibault Duplessis 12f3e93f89 rewrite language redirection code - fixes #2562 2017-02-15 17:12:17 +01:00
Thibault Duplessis 2db9711588 fix Eval.Score.checkmate 2017-02-15 15:57:32 +01:00
Thibault Duplessis 19eded0682 fix practice checkmate feedback color - closes #2669 2017-02-15 13:22:47 +01:00
Thibault Duplessis 3abb80b0bb remove socket prod pipe 2017-02-15 12:54:37 +01:00
Thibault Duplessis cd786a32bd Merge pull request #2671 from ornicar/arex1337-patch-1
Expanding list of bad usernames
2017-02-15 11:56:42 +01:00
T. Alexander Lystad d91e79afed Update LameName.scala 2017-02-15 11:55:02 +01:00
T. Alexander Lystad d16a8df882 Expanding list of bad usernames 2017-02-15 11:54:15 +01:00
Thibault Duplessis 70785df759 Revert "data-studying is not served by server yet - REVERT ME"
This reverts commit 960d564637.
2017-02-15 03:56:05 +01:00
Thibault Duplessis 112ec4a8ce inc assets version 2017-02-15 03:55:53 +01:00
Thibault Duplessis 79c4f48dd6 da "Dansk" translation #17181. Author: Gysmo. 2017-02-15 03:55:40 +01:00
Thibault Duplessis 22d49d2029 da "Dansk" translation #17180. Author: Gysmo. 2017-02-15 03:55:34 +01:00
Thibault Duplessis 4a74352c00 hr "hrvatski" translation #17179. Author: D4n1j3L. 2017-02-15 03:55:31 +01:00
Thibault Duplessis 4b209bc45f he "עִבְרִית" translation #17178. Author: Monokuma. Fixing grammar mistake. 2017-02-15 03:55:24 +01:00
Thibault Duplessis 428da7c871 ta "தமிழ்" translation #17175. Author: vkrish. 2017-02-15 03:55:17 +01:00
Thibault Duplessis 758b3b3695 remove unused ceval engine version detection 2017-02-15 03:39:14 +01:00
Thibault Duplessis 4989789dcf notify study enters when adding node/comment, not setting path 2017-02-15 03:13:43 +01:00
Thibault Duplessis 21c730a372 use Option.has since == and contains are not type safe 2017-02-14 22:33:19 +01:00
Thibault Duplessis d6aa1f8a8c Merge branch 'master' of github.com:ornicar/lila
* 'master' of github.com:ornicar/lila:
  Fix a bug for study icon in friend list
2017-02-14 22:31:53 +01:00
Thibault Duplessis 29d5d47fea Merge pull request #2668 from ProgramFOX/study-friend-list-fix
Fix a bug for study icon in friend list
2017-02-14 22:31:46 +01:00
Thibault Duplessis 960d564637 data-studying is not served by server yet - REVERT ME 2017-02-14 21:38:06 +01:00
ProgramFOX 61a235a04f Merge branch 'master' of https://github.com/ornicar/lila into study-friend-list-fix 2017-02-14 17:47:46 +01:00
Thibault Duplessis c311dde800 don't autoformat play generated routes classes 2017-02-14 17:23:33 +01:00
ProgramFOX 5a3e55b984 Fix a bug for study icon in friend list
StudyBecamePublic/StudyBecamePrivate/... did not take the studyId in
account when comparing against onlineStudyingAll/onlineStudying. This
caused bugs like this one: if you are working in a private study, and you
are also a contributor of another private study (but not working there at
the moment), and this latter study becomes public, then the icon would
show up when it should not.

To make this happen, 7e2ec98... had to be reverted.
2017-02-14 17:18:13 +01:00
Thibault Duplessis 80e4f69468 autoformat tests 2017-02-14 16:47:21 +01:00
Thibault Duplessis 0e882a6cb5 upgrade scalachess to autoformat 2017-02-14 16:45:18 +01:00
Thibault Duplessis 54cdf0ca65 reformat ALL the code, using sbt-scalariform 2017-02-14 16:34:07 +01:00
Thibault Duplessis 66cfd08852 more about autoformatting 2017-02-14 16:19:01 +01:00
Thibault Duplessis ebf5721e11 refine formatting preferences 2017-02-14 16:12:00 +01:00
Thibault Duplessis bcc0d207ff add scalariform sbt plugin with formatting preferences 2017-02-14 15:59:56 +01:00
Thibault Duplessis a60ca6c8d2 more clock choices for special tournaments 2017-02-14 15:32:57 +01:00
Thibault Duplessis 442cfcba62 more relation actor tweaks 2017-02-14 15:09:32 +01:00
Thibault Duplessis 2d8d79eb29 use ID type alias for User.ID in the relation module 2017-02-14 15:01:58 +01:00
Thibault Duplessis 0ff98169ce remove unused argument 2017-02-14 14:56:44 +01:00
Thibault Duplessis dbd766bd01 further optimize online friends playing/studying filters 2017-02-14 14:54:27 +01:00
Thibault Duplessis 26f3872ff7 probably faster filtering of online friends that are currently playing 2017-02-14 14:51:22 +01:00
Thibault Duplessis 6ba0e6ca69 remove superfluous cache wrapper, make the cache private 2017-02-14 14:48:02 +01:00
Thibault Duplessis 7c5bb2b18c refactor study Role.canWrite 2017-02-14 14:41:32 +01:00
Thibault Duplessis 6e628a1aa9 simplify study events (public could only be true) 2017-02-14 14:38:30 +01:00
Thibault Duplessis 69513ee8f8 make private what can be private 2017-02-14 14:35:41 +01:00
Thibault Duplessis 7e2ec980ec use an Set cache for onlineStudyingAll, since values were never used 2017-02-14 14:26:26 +01:00
Thibault Duplessis 694a43218c simplify User.studyTv 2017-02-14 14:23:54 +01:00
Thibault Duplessis 2aa21da9ee abstract study join/quit as study "door" with bool flag 2017-02-14 14:14:55 +01:00
Thibault Duplessis 57f3a3b5f3 get light study from study 2017-02-14 14:09:05 +01:00
Thibault Duplessis 3b3afafa05 better refresh/put lightStudyCache 2017-02-14 14:02:42 +01:00
Thibault Duplessis 6314c1ea65 remove superfluous LightStudyCache wrapper class; use AsyncCache.multi 2017-02-14 14:00:02 +01:00
Thibault Duplessis e52744c8cc only fetch required fields for LightStudy 2017-02-14 13:50:56 +01:00
Thibault Duplessis 399153a456 study friend list: reformatting and style tweaks 2017-02-14 13:39:55 +01:00
Thibault Duplessis e2ba50fc4e Merge branch 'master' into study-friend-list
* master:
  use open addressing in hash maps whenever possible
  strict practice "mate in" requirement - closes #2657
  fix crazyhouse concurrent drop with chessground 4.4.0 - closes #2663
2017-02-14 13:34:22 +01:00
Thibault Duplessis ea8067d113 use open addressing in hash maps whenever possible 2017-02-14 13:06:36 +01:00