Compare commits

..

174 Commits
events ... main

Author SHA1 Message Date
Danhia f1b1214291 Merge pull request 'New permissions to allow a group of user to manage event-related objects' (#89) from Danhia/website:admin/events-permissions into main
Reviewed-on: 42CTF/website#89
2023-09-24 15:25:41 +02:00
Danhia 8b28f73bdb added special permissions to allow a group of user to manage event-related objects 2023-09-24 15:17:49 +02:00
Danhia c8adc6caf9 Merge pull request 'Added speed bonus points for events' (#88) from Danhia/website:events/bonus-points into main
Reviewed-on: 42CTF/website#88
2023-09-17 20:43:42 +02:00
Danhia 6ecb94eab5 added speed bonus points for events 2023-09-17 20:39:13 +02:00
Danhia 44897411f5 Merge pull request 'Fix invalid characters in team name that causes error 500' (#87) from Danhia/website:events/fix-teamname into main
Reviewed-on: 42CTF/website#87
2023-09-01 11:10:54 +02:00
Danhia 5a10e033a2 Merge pull request 'fix(api): Check if user has campus before add to response' (#85) from Starthur/website:main into main
Reviewed-on: 42CTF/website#85
Reviewed-by: Danhia <danhia@protonmail.com>
2023-09-01 11:09:53 +02:00
Danhia 3d86f21ba2 add forbidden characters in teamname to avoir error 500 2023-09-01 11:07:13 +02:00
Starthur 691c53e110
fix(api): Check if user has campus before add to response 2023-02-07 10:15:30 +01:00
Starthur 2d4816e78f Merge pull request '[API][BOT] New endpoint to retrieve campus associated to discord id' (#84) from Danhia/website:api-campus into main
Reviewed-on: 42CTF/website#84
Reviewed-by: Starthur <contact+42ctf@arthur-trt.fr>
2023-02-07 09:43:57 +01:00
Danhia 5d84174db2 Added new endpoint to retrieve campus associated to discord id 2023-02-06 19:41:48 +01:00
Danhia 9ad64e72bc Merge pull request 'doc(tools): Broken link GEF' (#83) from Starthur/website:main into main
Reviewed-on: 42CTF/website#83
Reviewed-by: Danhia <danhia@protonmail.com>
2023-02-05 23:20:19 +01:00
Danhia 9d0a420cac Merge pull request 'Separate profile page for events' (#69) from Danhia/website:event/fix-chall-slug into main
Reviewed-on: 42CTF/website#69
Reviewed-by: Starthur <contact+42ctf@arthur-trt.fr>
2023-02-05 23:13:44 +01:00
Starthur 7120a80c1d
doc(tools): Broken link GEF 2023-02-01 18:41:53 +01:00
Starthur fe71460537 Merge branch 'main' into event/fix-chall-slug 2022-10-13 20:23:21 +02:00
Danhia 32bbc392d6 Merge pull request 'Facilitate access to the user's profile' (#82) from UncleReaton/website:main into main
Reviewed-on: 42CTF/website#82
Reviewed-by: Danhia <danhia@protonmail.com>
2022-10-10 21:03:09 +02:00
UncleReaton acf306097a Change user.userprofileinfo.user to user 2022-10-10 21:01:31 +02:00
UncleReaton dc955fc189 Add a button to view the user's profile by clicking on their score on the navbar 2022-10-10 20:37:11 +02:00
UncleReaton e304f7cd15 Add a button to view the user's profile from their edit page 2022-10-10 20:27:31 +02:00
Danhia 73cf94515d Merge pull request 'Added command to prune users who never logged in' (#80) from Danhia/website:management/prune-users into main
Well maybe it will remove all users from the db but we can't know until we try it, can we ?
2022-09-30 16:24:18 +02:00
Danhia 94237bd9b6 Added command to prune users who never logged in 2022-09-30 16:20:17 +02:00
Starthur a983aafba2 Merge pull request 'Repare search' (#79) from Starthur/website:main into main
Reviewed-on: 42CTF/website#79
2022-08-29 14:02:22 +02:00
Starthur cce09ed254
Repare search 2022-08-29 14:01:05 +02:00
Danhia c2e58c4f92 Merge pull request 'Fix logo size and position with some highly advanced CSS' (#78) from Danhia/website:scoreboard/fix-network into main
Reviewed-on: 42CTF/website#78
2022-08-27 11:38:16 +02:00
Danhia eba672d067 Merge branch 'main' into scoreboard/fix-network 2022-08-27 11:37:40 +02:00
Danhia 1a6c31f5e8 fix logo size and position with some highly advanced CSS 2022-08-27 11:36:07 +02:00
Danhia bd17ad5f8f Merge pull request 'Fix missing url in top3 network scoreboard' (#77) from Danhia/website:scoreboard/fix-network into main
Reviewed-on: 42CTF/website#77
2022-08-27 11:18:28 +02:00
Danhia 40984a2a0c fix missing url in top3 network scoreboard 2022-08-27 11:10:20 +02:00
Danhia 9ac003ea3c Merge pull request 'Podium added and working, logo and website of campuses added in campus model' (#76) from ix/website:main into main
Reviewed-on: 42CTF/website#76
Reviewed-by: Danhia <danhia@protonmail.com>
2022-08-27 10:47:46 +02:00
Danhia 5cf86b9c36 Merge branch 'main' into main 2022-08-27 10:47:33 +02:00
zero 7c06c24d9f Fix hardcoded logo value in network scoreboard template 2022-08-21 20:37:05 +02:00
zero 9b2da1e2cc Someone forgot to remove prints in a file... 2022-08-19 15:51:10 +02:00
zero 891c2530e6 Podium added and working, logo and website of campuses added in campus model 2022-08-19 15:43:25 +02:00
Danhia 13895d7712 Merge pull request 'Fix member conversion page UI and SEO upgrades' (#75) from ix/website:main into main
Reviewed-on: 42CTF/website#75
Reviewed-by: Danhia <danhia@protonmail.com>
2022-08-18 14:21:13 +02:00
Danhia 0f64c7579c Merge branch 'main' into main 2022-08-18 14:20:43 +02:00
zero 02331beff4 fix domain in canonical url 2022-08-18 13:58:13 +02:00
zero 5b2abeac20 add canonical meta 2022-08-18 13:44:38 +02:00
Danhia 1771f3c2bb Merge pull request 'Removed the is_member attribute for campus name' (#74) from Danhia/website:scoreboard/fix-network into main
Reviewed-on: 42CTF/website#74
2022-08-18 10:40:32 +02:00
Danhia 09118cac7a removed the is_member attribute for campus name 2022-08-18 10:38:53 +02:00
Danhia 7cd43ca35f Merge pull request 'Scoreboard for 42 Network' (#73) from Danhia/website:scoreboard/42network into main
Reviewed-on: 42CTF/website#73
2022-08-17 22:59:40 +02:00
Danhia d21915405e removed pagination on network scoreboard 2022-08-17 22:58:36 +02:00
zero dd7a69aa50 42CTF/website#72 |42CTF/website#36 sitemap and titles fixed 2022-08-17 16:42:06 +02:00
Danhia 8a2cc6f3ae scoreboard for 42 Network 2022-08-17 12:59:29 +02:00
Danhia e36ca2b146 Merge pull request 'Rephrase a bit the become member page + improved french translation for resources' (#71) from Danhia/website:resources/fix-typos into main
Reviewed-on: 42CTF/website#71
2022-08-16 22:37:00 +02:00
Danhia 63876e91ef rephrase a bit the become member page + improved french translation for resources 2022-08-16 19:46:53 +02:00
Danhia eadede339b Merge pull request 'Rework of resources pages and a page to become member, added it in the navbar and fix global UI spacing issue.' (#70) from ix/website:main into main
Reviewed-on: 42CTF/website#70
Reviewed-by: Danhia <danhia@protonmail.com>
2022-08-16 19:09:33 +02:00
zero d1992e1476 Rework of resources pages and a page to become member, added it in the navbar and fix global UI spacing issue. 2022-08-16 18:07:13 +02:00
Danhia 00acec6fdb separate profile page for events 2022-08-16 18:03:39 +02:00
Danhia 1ee02fc964 Merge pull request 'fix-campus-in-scoreboard' (#65) from fix-campus-in-scoreboard into main
Reviewed-on: 42CTF/website#65
Reviewed-by: Danhia <danhia@protonmail.com>
2022-08-01 22:21:44 +02:00
Starthur ff23250275
Remove old field 2022-08-01 22:18:23 +02:00
Starthur c449f26ad7
Check FK to print value in scoreboard 2022-08-01 22:18:23 +02:00
Danhia 42858e4342 Hotfix for indentation error 2022-07-02 00:26:12 +02:00
Danhia ec61f06be0 Merge pull request 'hotfix for solo events' (#63) from Danhia/website:fix-event into main
Reviewed-on: 42CTF/website#63
2022-07-01 23:57:17 +02:00
Danhia 2233474c89 hotfix for solo events 2022-07-01 23:51:36 +02:00
Danhia 7b9dfad15d Merge pull request 'Limit events to certain campus' (#62) from events_campus into main
Reviewed-on: 42CTF/website#62
Reviewed-by: Danhia <danhia@protonmail.com>
2022-06-02 19:50:05 +02:00
Starthur 46ea80161d Chack campus before password 2022-05-31 22:14:11 +02:00
Starthur d222784bb0 Remove unsued import 2022-05-31 22:13:54 +02:00
Starthur 86fbf93dbf Remove a useless migration 2022-05-31 22:13:45 +02:00
Arthur-TRT ff657c070a Limit events to certain campus 2022-05-30 10:25:18 +02:00
Starthur a1ec3e5f20 Merge pull request 'Broken CSS register page' (#61) from html-refacto into main
Reviewed-on: 42CTF/website#61
2022-05-28 12:05:24 +02:00
Starthur 0d7f39d335 Broken CSS register page 2022-05-28 12:04:00 +02:00
Danhia f56322bd6e Merge pull request 'Fix duplicates in created challenges' (#59) from Danhia/website:fix-challenges into main
Reviewed-on: 42CTF/website#59
2022-05-28 11:00:23 +02:00
Danhia 506eb54d49 fixed duplicates in created challenges 2022-05-28 10:53:46 +02:00
Starthur 87efa03ed0 Merge pull request 'Esthetic change' (#57) from challenge_created into main
Reviewed-on: 42CTF/website#57
2022-05-27 21:04:07 +02:00
Starthur 5435ea3316 Esthetic change 2022-05-27 21:02:54 +02:00
Starthur 4245cfd19f Merge branch 'Yir-registration-failed-restore' 2022-05-27 20:57:06 +02:00
Starthur f391a5a5cb Merge branch 'registration-failed-restore' of https://gitea.42ctf.org/Yir/website into Yir-registration-failed-restore 2022-05-27 20:56:42 +02:00
Starthur ebdc3b9c9e Merge pull request 'challenges_created' (#56) from challenges_created into main
Reviewed-on: 42CTF/website#56
2022-05-27 16:56:57 +02:00
Starthur 9d3b9ebf5f remove debug 2022-05-27 16:55:23 +02:00
Starthur 04318e3b0a Add created challenges on profile 2022-05-27 16:53:53 +02:00
Starthur eeb752d605 Merge pull request 'Change because preprod can't acces tld' (#55) from mail into main
Reviewed-on: 42CTF/website#55
2022-05-27 16:12:54 +02:00
Starthur 2d466454f5 Change because preprod can't acces tld 2022-05-27 16:10:36 +02:00
Starthur 7ff972e623 Merge pull request 'Change mail service for local mail server' (#54) from mail into main
Reviewed-on: 42CTF/website#54
2022-05-27 15:54:24 +02:00
Starthur d8791353fb Change mail service for local mail server 2022-05-27 15:52:18 +02:00
Starthur dc3e7f4b27 Merge pull request 'Broken CSS Issue#45' (#53) from html_refacto into main
Reviewed-on: 42CTF/website#53
2022-05-27 15:36:29 +02:00
Starthur 763853b3c6 Broken CSS Issue#45 2022-05-27 15:35:11 +02:00
Starthur c1c82ff9e0 Merge pull request 'new_logo' (#52) from new_logo into main
Reviewed-on: 42CTF/website#52
2022-05-27 14:57:20 +02:00
Starthur fdc3796667 Resize image 2022-05-27 14:55:57 +02:00
Starthur b25bf03485 Change image for social card 2022-05-27 14:53:30 +02:00
Starthur 5a08764df7 Merge pull request 'Vectorized typography in logo' (#51) from UncleReaton/website:main into main
Reviewed-on: 42CTF/website#51
Reviewed-by: Starthur <contact+42ctf@arthur-trt.fr>
2022-05-18 11:45:55 +02:00
UncleReaton 084fb1a62d Vectorized typography in logo 2022-05-18 11:42:03 +02:00
Starthur d8c35db454 Merge pull request 'Change old logo for the new one + Add favicon' (#50) from UncleReaton/website:main into main
Reviewed-on: 42CTF/website#50
Reviewed-by: Starthur <contact+42ctf@arthur-trt.fr>
2022-05-18 11:25:15 +02:00
UncleReaton 6e860b2997 Change old logo for the new one + Add favicon 2022-05-18 00:34:02 +02:00
Starthur 4ee613d9af Merge pull request 'Reformulate to the context' (#46) from Aslan/website:translation into main
Reviewed-on: 42CTF/website#46
Reviewed-by: Starthur <contact+42ctf@arthur-trt.fr>
2022-05-17 20:30:44 +02:00
Starthur 9c75b317eb Merge branch 'main' into translation 2022-05-17 20:29:42 +02:00
Starthur 2d2e97e794 Merge pull request 'Correcting typo' (#49) from refactor/42OAuth into main
Reviewed-on: 42CTF/website#49
2022-05-17 17:35:58 +02:00
Arthur-TRT 66ab43bf2b Correcting typo 2022-05-17 17:34:49 +02:00
Starthur 4213883774 Merge pull request 'Refactoring 42Oauth' (#48) from refactor/42OAuth into main
Reviewed-on: 42CTF/website#48
2022-05-17 15:48:05 +02:00
Arthur-TRT 9cb4b2b3a8 Refactoring 42Oauth 2022-05-17 15:29:58 +02:00
Starthur b90cc55b8d Merge pull request 'Add alt texts to base template and fr+en news' (#47) from UncleReaton/website:main into main
Reviewed-on: 42CTF/website#47
Reviewed-by: Starthur <contact+42ctf@arthur-trt.fr>
2022-05-17 14:28:19 +02:00
UncleReaton d19514f629 Add alt texts to base template and fr+en news 2022-05-11 20:43:20 +02:00
Aslan 6b2b0cef7d Reformulate to the context 2022-04-10 13:12:40 +02:00
Aslan d7bf9ae74e Update 'src/locale/ru/LC_MESSAGES/django.po' 2022-04-03 17:09:35 +02:00
Danhia dfa36b58a6 Merge pull request 'campus_scoreboard' (#42) from campus_scoreboard into main
Reviewed-on: 42CTF/website#42
Reviewed-by: Danhia <danhia@protonmail.com>
2022-03-29 21:09:30 +02:00
Starthur bf5678d371 Merge branch 'main' into campus_scoreboard 2022-03-29 21:06:31 +02:00
Danhia 3c013794d7 Merge pull request '42OAuth' (#41) from 42OAuth into main
Reviewed-on: 42CTF/website#41
2022-03-29 21:03:47 +02:00
Danhia 6110408cd0 Merge pull request 'home-refacto' (#40) from Starthur/website:home-refacto into campus_scoreboard
Reviewed-on: 42CTF/website#40
2022-03-29 20:35:03 +02:00
Starthur bb2617a3e4 Merge branch 'home-refacto' of https://gitea.42ctf.org/Starthur/website into home-refacto 2022-03-29 19:53:10 +02:00
Starthur e23d6d7f49 HTML typo 2022-03-29 19:53:00 +02:00
Starthur 978dd24a00 Add campuses scoreboard 2022-03-29 19:53:00 +02:00
Danhia 15f3a21c60 Merge pull request 'Add 42Oauth' (#37) from Starthur/website:main into 42OAuth
Reviewed-on: 42CTF/website#37
2022-03-29 19:51:57 +02:00
Starthur e480aec493 Remove debug 2022-03-29 19:49:52 +02:00
Starthur 3991dda7d3 HTML typo 2022-03-29 18:55:54 +02:00
Starthur e8575d559e Add campuses scoreboard 2022-03-29 18:46:19 +02:00
Starthur ea691204c4 Upgrad po file 2022-03-29 16:46:03 +02:00
Arthur TROUILLET 21f38906df Change OAuth secret to env 2022-03-29 14:19:06 +02:00
Arthur TROUILLET 39e3859836 Done 2022-03-29 11:52:40 +02:00
Arthur-TRT a26784cd98 First version of 42Oauth 2022-03-29 11:02:07 +02:00
Yir ba7992e7be Preserve registration form fields that passed error check when the registration failed. 2022-03-20 22:43:38 +01:00
Danhia 7dad96d79f Merge pull request 'API for events data' (#33) from Danhia/website:api-events into main
Reviewed-on: 42CTF/website#33
2022-03-19 20:42:35 +01:00
Danhia d554961dd1 added API for events data 2022-03-19 20:38:52 +01:00
Danhia 280ba0d1fc Merge pull request 'Fixed a typo in resources /locale/fr' (#32) from FdB/website:fdb-patch-typo-binaires into main
Reviewed-on: 42CTF/website#32
2022-03-19 19:54:39 +01:00
Bertrand C bdd51b6cf9 Merge branch 'main' into fdb-patch-typo-binaires 2022-03-19 19:50:25 +01:00
Bertrand C c004c18e75 Fixed a typo in resources /locale/fr
Binaies to binaires
2022-03-19 19:41:47 +01:00
Danhia e8d43586a6 merge main into translation 2022-03-19 19:33:09 +01:00
Danhia 2da57b7b9b Merge pull request 'Change text color of input for better readibility' (#31) from UncleReaton/website:main into main
Reviewed-on: 42CTF/website#31
2022-03-19 19:21:33 +01:00
Danhia a828ce2ece Merge pull request 'Add a partial translation into Russian language' (#30) from Aslan/website:translation into translation
Reviewed-on: 42CTF/website#30
2022-03-19 19:20:27 +01:00
UncleReaton 16030c14a4 Change text color of flag submission input for better readibility 2022-03-19 16:52:47 +01:00
Aslan ca86079148 Add translation of remaining part into Russian language 2022-03-18 00:38:42 +01:00
Aslan 93c9844efa Add translation of languages into Russian language 2022-03-18 00:28:58 +01:00
Aslan 4c06ed41bf Add translation of home templates into Russian language 2022-03-18 00:26:39 +01:00
Aslan fca3609c1b Add translation of events templates into Russian language 2022-03-18 00:24:31 +01:00
Aslan b0380d4fc3 Add translation of events templates into Russian language 2022-03-16 22:25:45 +01:00
Aslan 3ea2a41d2b Add translation of ctfs templates into Russian language 2022-03-16 22:24:53 +01:00
Aslan de87c70ae0 Add translation of accounts templates into Russian language 2022-03-16 22:23:33 +01:00
Aslan 22fe0d601a Fix typo in the error message 2022-03-16 22:13:16 +01:00
Danhia 5191e300df changed color for member so difference is more noticeable 2022-03-15 21:53:55 +01:00
Danhia 09377c509f updated git links in resources + donation section 2022-03-13 18:14:32 +01:00
Danhia 6a76f4b99f Merge pull request 'Add Japanese version of "gitea.html"' (#28) from ysaito/website:main into translation
Reviewed-on: 42CTF/website#28
2022-02-23 14:38:52 +01:00
ysaito 5908ce4778 docs(news/ja/): Add Japanese version of gitea.html 2022-02-23 14:36:42 +09:00
Danhia 4e5fe52984 added latest news to repository 2022-02-21 16:37:34 +01:00
Danhia 2f24fae611 Merge pull request 'merge translation into main' (#26) from translation into main
Reviewed-on: 42CTF/website#26
2022-02-18 16:19:51 +01:00
Danhia 02385dcd08 Merge pull request 'Add Japanese message string for django.po' (#25) from ysaito/website:main into translation
Reviewed-on: 42CTF/website#25
2022-02-18 16:17:47 +01:00
ysaito 7b2de06225 refactor(news/ja/): Corrected the translation of a word 2022-02-18 22:48:26 +09:00
ysaito ba1cb03dbf feat(*/django.po): Add Japanese message string 2022-02-18 22:45:09 +09:00
Danhia 11164bb84a replaced the bad request with a redirect to account edit 2022-02-18 11:32:08 +01:00
Danhia 67a4d180e0 corrected typo 2022-02-18 11:27:58 +01:00
Danhia 3b86441259 Merge branch 'main' into bot-api 2022-02-18 11:11:58 +01:00
Danhia 7b2552f0b5 added try except in case user cancels oauth 2022-02-18 11:11:34 +01:00
Danhia eac835bef5 removed merge artifact 2022-02-18 10:55:54 +01:00
Danhia 06593b26f9 fixed merge conflict 2022-02-17 23:59:21 +01:00
Danhia e8f5f33269 Merge branch 'challenges-description' into main 2022-02-17 23:50:28 +01:00
Danhia f0479f6577 Merge branch 'challenges-description' into main 2022-02-17 23:21:56 +01:00
Danhia 60a59b23e6 fixed error 500 when requesting german or russian translation 2022-02-17 23:21:41 +01:00
Danhia 8f32ef9a6e excluded the API from the i18n patterns 2022-02-17 13:09:11 +01:00
Danhia a0b76903a7 added endpoint API for bot 2022-02-17 12:40:40 +01:00
Danhia a7de7b8054 removed language code in redirect_uri 2022-02-17 12:21:17 +01:00
Danhia 0d734e98b1 removed language code in redirect_uri 2022-02-17 12:19:52 +01:00
Danhia 3d24fe9b3b tentative for fixing url redirect 2022-02-17 12:03:52 +01:00
Danhia ba0d75c250 restored discord OAuth, not working in local, let's test on preprod if the url problem is solved 2022-02-17 11:11:36 +01:00
Danhia 3ae80ca17f fixed end of sentence in french with quote badly escaped 2022-02-16 20:14:29 +01:00
Danhia a7e75b2a43 fixed quotes that where badly escaped in resources 2022-02-16 20:07:19 +01:00
Danhia 9ea67ae2a0 Merge branch 'main' into translation 2022-02-16 19:28:39 +01:00
Danhia 899a01e472 Merge branch 'main' into challenges-description 2022-02-16 15:41:52 +01:00
Danhia c40d49c326 Merge pull request 'Ressource page translation' (#22) from Starthur/website:main into translation
Reviewed-on: 42CTF/website#22
2022-02-16 15:37:18 +01:00
Starthur d6b1380552 Last push before pull request 2022-02-16 15:23:15 +01:00
Arthur-TRT d0c93f98a1 Correct some mistake 2022-02-16 15:19:07 +01:00
Arthur-TRT 97e120e5fc First translation of Ressources in fr 2022-02-16 15:03:40 +01:00
Danhia 494377399c Merge pull request 'Update README' (#21) from update-readme into main
Reviewed-on: 42CTF/website#21
2022-02-16 14:34:14 +01:00
Starthur 28d8874272 Update README
Better solution to create superuser admin
2022-02-16 14:33:21 +01:00
Starthur b9704d3cb3 Update README
Add information about migrate and admin right on local dev
2022-02-16 14:13:00 +01:00
Danhia 0ac395def8 Update 'requirements.txt' 2022-02-16 13:53:57 +01:00
Danhia 7ff556a986 Update 'README.md' 2022-02-16 13:50:19 +01:00
Danhia 5e02041f0c put challenges descriptions outside of the db 2022-02-15 18:13:43 +01:00
Danhia f75a034094 replaced jp with ja for news 2022-02-15 14:27:37 +01:00
Danhia 5f28bc5d2c Merge pull request '[translation] Added Japanese version' (#9) from ysaito/website:translation-jp into translation
Reviewed-on: 42CTF/website#9
2022-02-15 13:20:02 +01:00
ysaito 904ce1b748 feat(welcome_ctf_2021.html): Added Japanese version 2022-02-15 18:11:00 +09:00
ysaito 5b15b9cd6f feat(sql_challenges.html): Added Japanese version 2022-02-15 18:07:48 +09:00
ysaito 5d46bd6df0 feat(speed_dating_ctf_2022.html): Added Japanese version 2022-02-15 18:06:46 +09:00
ysaito 67de669459 feat(dynamic_scoring.html): Added Japanese version 2022-02-15 18:05:43 +09:00
ysaito 26aeb6d7bd feat(42ctf_vm.html): Added Japanese version 2022-02-15 18:04:30 +09:00
Danhia 1b89fa88d8 updated all .po with makemessages 2022-02-14 19:38:16 +01:00
Danhia 0bb3a8b805 Merge pull request #8 from ClemaX/translation/de
German news translation and typos fix
2022-02-14 18:34:08 +00:00
Clément Hamada 6b6f264fe0 news: locale: de: Initial translation 2022-02-13 21:47:03 +01:00
Clément Hamada c4fd6d05c3 locale: de: Fix some typos 2022-02-13 21:30:40 +01:00
114 changed files with 6274 additions and 4028 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "src/ctfs/templates/challenges"]
path = src/ctfs/templates/challenges
url = https://gitea.42ctf.org/42CTF/challenges-descriptions.git

View File

@ -1,47 +1,34 @@
# 42ctf # 42CTF
CTF by 42 students
[42CTF](https://www.42ctf.org) is a CTF platform created by School 42 students and open to anyone.
### Todo ### Todo
- [x] Password reset TODO has been migrated to [issues](https://gitea.42ctf.org/42CTF/website/issues) !
- [x] Access solved challenges And hopefully, it is not redirected anymore to `/dev/null`.
- [x] "Intro" section
- [x] Profile edition
- [x] Resources page
- [x] Flags counter
- [x] Graphs on profile page
- [ ] Refacto the discord bot with OAuth
- [x] Platform translation
- [x] French
- [ ] Russian
- [x] Spanish
- [ ] Italian
- [x] German
- [ ] OAuth 42
- [ ] 42 Network leaderboard
- [ ] Possibility for users to propose solution to challenges
- [ ] Badges/achievments on profile pages
- [x] Dynamic scoring
#### Event feature ### How to contribute ?
- [X] make scoreboard for events First, you need to contact a 42CTF admin to get an account on the 42CTF gitea.
- [X] make access mod for events : You can contact us on [discord](https://discord.gg/3KDvt6hbWW) or by [email](mailto:42ctf@protonmail.com).
- [X] Sub button for public events You can also fill this [form](https://forms.42l.fr/apps/forms/bpmyGR37AR4yHGnC) and we'll contact you.
- [X] Access by password Then, once you have a gitea account, you can fork this repository, do some stuff, and open a pull request.
- [X] Begin date for display challenges
- [X] Ending date for stop flag submission If you want to translate the platform, then have a look at the [wiki](https://gitea.42ctf.org/42CTF/website/wiki).
- [ ] Access by invite link
- [X] Admin rights If you want to help with bot development, it has now its own [repository](https://gitea.42ctf.org/42CTF/bot)
- [X] Admin can access to events pages without password
- [X] Admin can subscribe to event without password ### How to set up my dev environment ?
- [X] process flag submission
- [X] increment user score in Scores model There is only one file missing on this repository for you to run the server: `local_settings.py`.
- [X] add filters for admin dashboard You should create one in the `src` directory, with the following content:
- [X] add search in fields in admin dashboard ```
- [X] Smooth display of events listing DEBUG = True
- [X] Event info page with background and noice display SECRET_KEY = 'what you want'
- [x] Create teams for events ```
- [x] Create/join team
- [x] Manage team: change password / leave team When you'll run `python manage.py migrate` then `python manage.py runserver`, an empty database will be automatically created.
- [ ] Dynamic scoring for events The `local_settings.py` is in the `.gitignore` and should stay that way, so we don't accidentally overwrite the production file when we deploy.
To obtain administrator rights you can run `python manage.py createsuperuser`.

104
bot.py
View File

@ -1,104 +0,0 @@
import os
import discord
import discord.utils
import urllib.request, json
import asyncio
import json
import logging
TOKEN = os.getenv('DISCORD_TOKEN')
GUILD = '42ctf'
intents = discord.Intents.all()
client = discord.Client(intents=intents)
db_file = open('members.json', 'r')
users = json.load(db_file)
db_file.close()
logging.basicConfig(filename='bot.log', format='%(asctime)s %(message)s', level=logging.INFO)
guild = ''
roles = {}
def get_rank(token):
url = urllib.request.urlopen("https://www.42ctf.org/accounts/rank/" + token)
data = json.loads(url.read().decode())
rank = data['rank']
return rank
async def watch_roles():
global users
await client.wait_until_ready() # ensures cache is loaded
while not client.is_closed():
for member_id, token in users.items():
if (token == "0000"):
continue
member = discord.utils.get(guild.members, id=int(member_id))
rank = get_rank(token)
if rank == 1 and roles['top1'] not in member.roles:
await member.add_roles(roles['top1'])
await member.remove_roles(roles['top10'])
await member.remove_roles(roles['top50'])
elif rank > 1 and rank <= 10 and roles['top10'] not in member.roles:
await member.add_roles(roles['top10'])
await member.remove_roles(roles['top1'])
await member.remove_roles(roles['top50'])
elif rank > 10 and rank <= 50 and roles['top50'] not in member.roles:
await member.add_roles(roles['top50'])
await member.remove_roles(roles['top10'])
await member.remove_roles(roles['top1'])
elif rank > 50:
await member.remove_roles(roles['top1'])
await member.remove_roles(roles['top10'])
await member.remove_roles(roles['top50'])
await asyncio.sleep(60)
@client.event
async def on_ready():
global guild, roles
guild = discord.utils.get(client.guilds, name=GUILD)
roles['top10'] = discord.utils.get(guild.roles, id=801787467064672286)
roles['top1'] = discord.utils.get(guild.roles, id=798638767359524875)
roles['top50'] = discord.utils.get(guild.roles, id=803729539145924649)
logging.info('%s is connected to the following guild: %s(id: %d)', client.user, guild.name, guild.id)
client.loop.create_task(watch_roles())
@client.event
async def on_message(message):
global guild, roles
if message.author == client.user:
return
if '!connect' in message.content:
try:
user_token = message.content.split(' ')[1]
member = discord.utils.get(guild.members, name=message.author.name)
rank = get_rank(user_token)
users[str(member.id)] = user_token
logging.info("MESSAGE: from %s with token %s", message.author.name, user_token)
with open('members.json', 'w') as json_file:
json.dump(users, json_file)
if rank == 1:
await member.add_roles(roles['top1'])
response = "Congratulations, you're now Top 1. But for how long ?"
elif (rank <= 10):
await member.add_roles(roles['top10'])
response = "You've been granted the Top 10 role. Now, go away and flag !"
elif rank <= 50:
await member.add_roles(roles['top50'])
response = "You've been granted the Top 50 role. Now, go away and flag !"
else:
response = "No role for you now, but I'll keep watching you."
except IndexError:
response = 'usage: !connect 42ctf_token'
await message.author.create_dm()
await message.author.dm_channel.send(response)
client.run(TOKEN)

View File

@ -1,3 +1,3 @@
Django Django==3.2.11
requests requests==2.27.1
authlib authlib==0.15.5

View File

@ -1,5 +1,6 @@
from .models import UserProfileInfo from .models import UserProfileInfo
from django.contrib import admin from django.contrib import admin
from .models import Campus
#admin.site.register(UserProfileInfo) #admin.site.register(UserProfileInfo)
# Register your models here. # Register your models here.
@ -7,6 +8,10 @@ from django.contrib import admin
@admin.register(UserProfileInfo) @admin.register(UserProfileInfo)
class userprofile(admin.ModelAdmin): class userprofile(admin.ModelAdmin):
#list display #list display
list_display = ['user', 'score', 'last_submission_date'] list_display = ['user', 'score', 'last_submission_date', 'campus']
# search list # search list
search_fields = ['score', 'user__username'] search_fields = ['score', 'user__username', 'campus__name']
@admin.register(Campus)
class campus(admin.ModelAdmin):
list_display = ['name']

View File

@ -0,0 +1,24 @@
from collections import defaultdict
from django.core.management.base import BaseCommand, CommandError
from accounts import models as acc_models
from django.contrib.auth import models as auth_models
from django.contrib.auth.models import timezone
from datetime import timedelta
class Command(BaseCommand):
help = 'Remove all users who never logged in'
def handle(self, *args, **options):
all_users = acc_models.UserProfileInfo.objects.filter(score=0).select_related()
to_remove = []
for elem in all_users:
user = elem.user
if user.last_login is None and user.date_joined < timezone.now() - timedelta(hours=72):
to_remove.append(user)
print("You are going to remove {} users.".format(len(to_remove)))
answer = input("Continue ? [y/N] ")
if answer.lower() in ["y","yes"]:
for elem in to_remove:
elem.delete()
print("Users have been successfully pruned.")

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.11 on 2022-03-29 08:34
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0007_auto_20220123_1704'),
]
operations = [
migrations.AddField(
model_name='userprofileinfo',
name='intra42_campus',
field=models.CharField(blank=True, max_length=50, null=True),
),
migrations.AddField(
model_name='userprofileinfo',
name='intra42_id',
field=models.CharField(blank=True, max_length=20, null=True, unique=True),
),
]

View File

@ -0,0 +1,22 @@
# Generated by Django 3.2.11 on 2022-03-29 11:39
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0008_auto_20220329_1034'),
]
operations = [
migrations.AlterModelOptions(
name='userprofileinfo',
options={'ordering': ['-score', 'last_submission_date', 'user__username', 'intra42_campus'], 'permissions': (('view_info', 'View user info'),), 'verbose_name': 'profile', 'verbose_name_plural': 'profiles'},
),
migrations.AddField(
model_name='userprofileinfo',
name='intra42_campus_id',
field=models.CharField(blank=True, max_length=10, null=True),
),
]

View File

@ -0,0 +1,31 @@
# Generated by Django 3.2.11 on 2022-05-17 12:52
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('accounts', '0009_auto_20220329_1339'),
]
operations = [
migrations.CreateModel(
name='Campus',
fields=[
('id', models.IntegerField(primary_key=True, serialize=False, unique=True)),
('name', models.CharField(max_length=50)),
],
options={
'verbose_name': 'campus',
'verbose_name_plural': 'campuses',
'permissions': (('view_info', 'View user info'),),
},
),
migrations.AddField(
model_name='userprofileinfo',
name='campus',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='accounts.campus'),
),
]

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.11 on 2022-05-17 12:54
from django.db import migrations
from accounts.models import UserProfileInfo
from accounts.models import Campus
def migrate_campus(apps, schema_editor):
UserProfileInfo = apps.get_model('accounts', 'UserProfileInfo')
Campus = apps.get_model('accounts', 'Campus')
for user in UserProfileInfo.objects.all():
if user.intra42_campus_id:
user.campus, created = Campus.objects.get_or_create(id=user.intra42_campus_id, name=user.intra42_campus)
user.save()
class Migration(migrations.Migration):
dependencies = [
('accounts', '0010_auto_20220517_1452'),
]
operations = [
migrations.RunPython(migrate_campus),
]

View File

@ -0,0 +1,25 @@
# Generated by Django 3.2.11 on 2022-08-01 20:12
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('accounts', '0011_migration_campus'),
]
operations = [
migrations.AlterModelOptions(
name='userprofileinfo',
options={'ordering': ['-score', 'last_submission_date', 'user__username', 'campus'], 'permissions': (('view_info', 'View user info'),), 'verbose_name': 'profile', 'verbose_name_plural': 'profiles'},
),
migrations.RemoveField(
model_name='userprofileinfo',
name='intra42_campus',
),
migrations.RemoveField(
model_name='userprofileinfo',
name='intra42_campus_id',
),
]

View File

@ -0,0 +1,25 @@
# Generated by Django 3.2.11 on 2022-08-18 15:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0012_auto_20220801_2212'),
]
operations = [
migrations.AddField(
model_name='campus',
name='logo',
field=models.URLField(default='https://42.fr'),
preserve_default=False,
),
migrations.AddField(
model_name='campus',
name='url',
field=models.URLField(default='https://42.fr', max_length=100),
preserve_default=False,
),
]

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.11 on 2022-08-18 15:44
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0013_auto_20220818_1741'),
]
operations = [
migrations.AlterField(
model_name='campus',
name='logo',
field=models.URLField(blank=True),
),
migrations.AlterField(
model_name='campus',
name='url',
field=models.URLField(blank=True, max_length=100),
),
]

View File

@ -12,15 +12,29 @@ class UserProfileInfo(models.Model):
last_submission_date = models.DateTimeField('Last Submission Date', default=timezone.now) last_submission_date = models.DateTimeField('Last Submission Date', default=timezone.now)
token = models.CharField(max_length=200, blank=True) token = models.CharField(max_length=200, blank=True)
discord_id = models.CharField(max_length=20, null=True, blank=True, unique=True) discord_id = models.CharField(max_length=20, null=True, blank=True, unique=True)
intra42_id = models.CharField(max_length=20, null=True, blank=True, unique=True)
campus = models.ForeignKey('Campus', on_delete=models.DO_NOTHING, null=True, blank=True)
member = models.BooleanField(default=False) member = models.BooleanField(default=False)
member_since = models.DateTimeField('Member since', default=timezone.now) member_since = models.DateTimeField('Member since', default=timezone.now)
member_until = models.DateTimeField('Member until', default=timezone.now) member_until = models.DateTimeField('Member until', default=timezone.now)
def __str__(self): def __str__(self):
return self.user.username return self.user.username
class Meta: class Meta:
ordering = ['-score', 'last_submission_date', 'user__username'] ordering = ['-score', 'last_submission_date', 'user__username', 'campus']
verbose_name = 'profile' verbose_name = 'profile'
verbose_name_plural = 'profiles' verbose_name_plural = 'profiles'
permissions = (("view_info", "View user info"),) permissions = (("view_info", "View user info"),)
class Campus(models.Model):
id = models.IntegerField(primary_key=True, unique=True)
name = models.CharField(max_length=50)
url = models.URLField(max_length=100,blank=True)
logo = models.URLField(max_length=200,blank=True)
def __str__(self):
return self.name
class Meta:
verbose_name = 'campus'
verbose_name_plural = 'campuses'
permissions = (("view_info", "View user info"),)
# Create your models here. # Create your models here.

View File

@ -12,7 +12,7 @@
{% trans "Deleted accounts cannot be recovered." %}<br><br> {% trans "Deleted accounts cannot be recovered." %}<br><br>
<div class="col-sm-8 col-md-6 mx-auto"> <div class="col-sm-8 col-md-6 mx-auto">
{% if bad_password %} {% if bad_password %}
<span class="message error-msg">{% trans "Password inccorect." %}</span> <span class="message error-msg">{% trans "Password incorrect." %}</span>
{% elif deleted %} {% elif deleted %}
<span class="message success-msg">{% trans "Your account has been deleted." %}</span> <span class="message success-msg">{% trans "Your account has been deleted." %}</span>
{% endif %} {% endif %}

View File

@ -2,67 +2,111 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-9"> <div class="col-sm-12 col-md-9">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head">
<h3>Edit info</h3> <h3>Edit info</h3>
</div> </div>
<div class="bloc-body"> <div class="bloc-body">
<div class="col-sm-12 col-md-12 mx-auto"> <div class="col-sm-12 col-md-12 mx-auto">
{{ u_form.non_field_errors }} {{ u_form.non_field_errors }}
{% if error is not None %} {% if error is not None %}
<span class="message error-msg">{{ error }}</span> <span class="message error-msg">{{ error }}</span>
{% elif success is not None %} {% elif success is not None %}
<span class="message success-msg">{{ success }}</span> <span class="message success-msg">{{ success }}</span>
{% endif %} {% endif %}
<form method='POST'> <form method='POST'>
<div class="edit-infos-grp"> <div class="edit-infos-grp">
{%csrf_token%}
<label for="{{ u_form.username.id_for_label }}">{% trans "Username" %} *</label>
{{ u_form.username.errors}}
{{u_form.username}}
</br>
<label for="{{ u_form.email.id_for_label }}">{% trans "Email" %} *</label>
{{ u_form.email.errors}}
{{u_form.email}}
</br>
</br>
<label for="{{ p_form.portfolio_site.id_for_label }}">{% trans "Website" %}</label>
{{p_form.portfolio_site}}
</br>
</br>Token
<input type='text' readonly value='{{token}}'>
</br>
<input class="form-control" type="submit" value="{% trans " Apply" %}">
</div>
</form>
</div>
</div>
</div>
<div class="ctf-block">
<div class="ctf-head">
<h3>{% trans "Connected accounts" %}</h3>
</div>
<div class="bloc-body">
<div class="d-flex">
{% if user.userprofileinfo.discord_id|length > 0 %}
<form action="{% url 'accounts:connections-disconnect-discord' %}" method='POST'
class="form-inline p-2">
{%csrf_token%} {%csrf_token%}
<label for="{{ u_form.username.id_for_label }}">{% trans "Username" %} *</label> <button class="btn btn-dark" type="submit">{% trans "Disconnect Discord" %}</button>
{{ u_form.username.errors}} </form>
{{u_form.username}} {% else %}
</br> <form action="{% url 'accounts:connections-connect-discord' %}" method='POST'
<label for="{{ u_form.email.id_for_label }}">{% trans "Email" %} *</label> class="form-inline p-2">
{{ u_form.email.errors}} {%csrf_token%}
{{u_form.email}} <button class="btn btn-dark" type="submit">{% trans "Connect Discord" %}</button>
</br> </form>
</br> {% endif %}
<label for="{{ p_form.portfolio_site.id_for_label }}">{% trans "Website" %}</label> </div>
{{p_form.portfolio_site}} <div class="d-flex">
</br> {% if user.userprofileinfo.intra42_id|length > 0 %}
</br>Token <form action="{% url 'accounts:connections-disconnect-intra42' %}" method='POST'
<input type='text' readonly value='{{token}}'> class="form-inline p-2">
</br> {%csrf_token%}
<input class="form-control" type="submit" value="{% trans "Apply" %}"> <button class="btn btn-dark" type="submit">{% trans "Disconnect 42" %}</button>
</div> </form>
</form> {% else %}
<form action="{% url 'accounts:connections-connect-intra42' %}" method='POST'
class="form-inline p-2">
{%csrf_token%}
<button class="btn btn-dark" type="submit">{% trans "Connect 42" %}</button>
</form>
{% endif %}
</div>
</div> </div>
</div> </div>
</div> </div>
</div> <div class="d-none d-md-block col-10 col-md-3 right-sidebar">
<div class="d-none d-md-block col-10 col-md-3 right-sidebar"> <ul class="list-group">
<ul class="list-group">
<li class="list-group-item">{{ user.username }}</li> <li class="list-group-item">{{ user.username }}</li>
<li class="list-group-item">{% trans "Score" %} : {{ user.userprofileinfo.score }}</li> <li class="list-group-item">{% trans "Score" %} : {{ user.userprofileinfo.score }}</li>
{% if user.userprofileinfo.portfolio_site %} {% if user.userprofileinfo.portfolio_site %}
<li class="list-group-item"> <li class="list-group-item">
<a href="{{ user.userprofileinfo.portfolio_site }}" target="_blank"> <a href="{{ user.userprofileinfo.portfolio_site }}" target="_blank">
{{ user.userprofileinfo.portfolio_site }} {{ user.userprofileinfo.portfolio_site }}
</a> </a>
</li> </li>
{% endif %} {% endif %}
<li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"Y-m-d" }}</li> <li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"Y-m-d" }}</li>
</ul> </ul>
<ul class="list-group"> <ul class="list-group">
<form method='GET' action="{% url 'accounts:delete_account' %}"> <form method='GET' action="{% url 'accounts:profile' user %}">
{%csrf_token%} <li class="list-group-item">
<li class="list-group-item"> <input class="form-control" type="submit" value="{% trans " View my profile" %}">
<input class="form-control" type="submit" value="{% trans "Delete my account" %}"> </li>
</li>
</form> </form>
</ul> </ul>
</div> <ul class="list-group">
<form method='GET' action="{% url 'accounts:delete_account' %}">
{%csrf_token%}
<li class="list-group-item">
<input class="form-control" type="submit" value="{% trans " Delete my account" %}">
</li>
</form>
</ul>
</div>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -53,9 +53,9 @@
</li> </li>
{% endif %} {% endif %}
{% if member %} {% if member %}
<li class="list-group-item is-member">{% trans "Status: Member" %}</li> <li class="list-group-item">Status: <a class="{{ is_member }}" href="{% url 'resources:becomeMember' %}">{% trans "Member" %}</a></li>
{% else %} {% else %}
<li class="list-group-item">{% trans "Status: Visitor" %}</li> <li class="list-group-item">Status: {% trans " Visitor" %}</li>
{% endif %} {% endif %}
<li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"d-m-Y" }}</li> <li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"d-m-Y" }}</li>
</ul> </ul>
@ -75,6 +75,19 @@
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
<ul class="list-group">
<ul class="list-group">
<li class="list-group-item">{% trans "Challenges created" %}</li>
{% if created %}
{% for creat in created %}
<li class="list-group-item"><a href="{% url 'ctf' cat_slug=creat.category.slug ctf_slug=creat.slug %}">{{ creat.name }}</a></li>
{% endfor %}
{% else %}
<li class="list-group-item">{% trans "It seems that this user has not created any challenge yet..." %}</li>
{% endif %}
</ul>
</ul>
</div> </div>
</div> </div>

View File

@ -2,42 +2,40 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-9"> <div class="col-sm-12 col-md-9">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head">
<h3>Register</h3> <h3>Register</h3>
</div> </div>
<div class="ctf-body sign-body"> <div class="ctf-body sign-body">
<div class="col-sm-8 col-md-6 mx-auto"> <div class="col-sm-8 col-md-6 mx-auto">
{% if registered %} {% if registered %}
<h1>{% trans "Welcome !" %}</h1> <h1>{% trans "Welcome !" %}</h1>
<span class="message success-msg">{% trans "Your account has been created." %}</span> <span class="message success-msg">{% trans "Your account has been created." %}</span>
{% else %} {% else %}
{% if registered_failed %} {% if registered_failed %}
<span class="message error-msg">{{ registered_failed }}</span> <span class="message error-msg">{{ registered_failed }}</span>
{% endif %} {% endif %}
<form enctype="multipart/form-data" method="POST"> <form enctype="multipart/form-data" method="POST">
{% csrf_token %} {% csrf_token %}
<div class="form-group"> <div class="form-group">
<input class="form-control" type="text" name="username" placeholder="{% trans "Username" %} *" maxlength="150" required="" id="id_username"></br> <input class="form-control" type="text" name="username" placeholder="{% trans "Username" %} *" maxlength="150" required="" id="id_username" value="{{ old_username }}"></br>
<input class="form-control" type="password" name="password" placeholder="{% trans "Password" %} *" required="" id="id_password"></br> <input class="form-control" type="password" name="password" placeholder="{% trans "Password" %} *" required="" id="id_password"></br>
<input class="form-control" type="email" name="email" placeholder="pleasedontgivemy@private.infos*" required="" maxlength="254" id="id_email"></br> <input class="form-control" type="email" name="email" placeholder="pleasedontgivemy@private.infos*" required="" maxlength="254" id="id_email" value="{{ old_email }}"></br>
<input class="form-control" type="url" name="portfolio_site" placeholder="{% trans "Personal website" %}"maxlength="200" id="id_portfolio_site"></br> <input class="form-control" type="url" name="portfolio_site" placeholder="{% trans "Personal website" %}"maxlength="200" id="id_portfolio_site" value="{{ old_website }}"></br>
<input type="submit" name="" class="form-control" value="{% trans "Register" %}"> <input type="submit" name="" class="form-control" value="{% trans "Register" %}">
</div> </div>
</form> </form>
{% endif %} {% endif %}
</div> </div>
</div> </div>
</div> </div>
</div>
</div> <div class="col-sm-12 col-md-3 right-sidebar">
<div class="col-sm-12 col-md-3 right-sidebar"> <ul class="list-group">
<ul class="list-group"> <a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a>
<a href="/accounts/signup" class="list-group-item">{% trans "Sign up" %}</a> <a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a>
<a href="/accounts/signin" class="list-group-item">{% trans "Login" %}</a> </ul>
</ul> </div>
</div>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -10,8 +10,11 @@ urlpatterns = [
path('edit/', views.edit, name='edit'), path('edit/', views.edit, name='edit'),
path('logout/', views.out, name='out'), path('logout/', views.out, name='out'),
path('rank/<str:token>', views.rank, name='rank'), path('rank/<str:token>', views.rank, name='rank'),
path('connections/connect/discord', views.connection.connect, name='connections-connect-discord'), path('connections/connect/discord', views.connection.connect_discord, name='connections-connect-discord'),
path('connections/connect/discord/authorize', views.connection.authorize, name='connections-connect-discord-authorize'), path('connections/connect/discord/authorize', views.connection.authorize_discord, name='connections-connect-discord-authorize'),
path('connections/disconnect/discord', views.connection.disconnect, name='connections-disconnect-discord'), path('connections/disconnect/discord', views.connection.disconnect_discord, name='connections-disconnect-discord'),
path('connections/connect/intra42', views.connection.connect_intra42, name='connections-connect-intra42'),
path('connections/connect/intra42/authorize', views.connection.authorize_intra42, name='connections-connect-intra42-authorize'),
path('connections/disconnect/intra42', views.connection.disconnect_intra42, name='connections-disconnect-intra42'),
path('delete_account/', views.delete_account, name='delete_account'), path('delete_account/', views.delete_account, name='delete_account'),
] ]

View File

@ -4,47 +4,106 @@ from django.views.decorators.http import require_POST
from django.views.defaults import bad_request from django.views.defaults import bad_request
from django.urls import reverse from django.urls import reverse
from django.shortcuts import redirect from django.shortcuts import redirect
from django.contrib.sites.models import Site
from accounts.models import Campus
from django.db import IntegrityError
import os import os
oauth = OAuth() oauth = OAuth()
oauth.register( oauth.register(
name='discord', name='discord',
client_id=os.getenv('OAUTH2_DISCORD_CLIENT_ID'), client_id=os.getenv('OAUTH2_DISCORD_CLIENT_ID'),
client_secret=os.getenv('OAUTH2_DISCORD_CLIENT_SECRET'), client_secret=os.getenv('OAUTH2_DISCORD_CLIENT_SECRET'),
access_token_url='https://discord.com/api/oauth2/token', access_token_url='https://discord.com/api/oauth2/token',
authorize_url='https://discord.com/api/oauth2/authorize', authorize_url='https://discord.com/api/oauth2/authorize',
client_kwargs={'scope': 'identify'}, client_kwargs={'scope': 'identify'},
api_base_url='https://discord.com/api/' api_base_url='https://discord.com/api/'
)
oauth.register(
name='intra42',
client_id=os.getenv('OAUTH2_INTRA42_CLIENT_ID'),
client_secret=os.getenv('OAUTH2_INTRA42_CLIENT_SECRET'),
access_token_url='https://api.intra.42.fr/oauth/token',
authorize_url='https://api.intra.42.fr/oauth/authorize',
api_base_url='https://api.intra.42.fr/'
) )
@login_required @login_required
@require_POST @require_POST
def connect(request): def connect_intra42(request):
if request.user.userprofileinfo.discord_id: if request.user.userprofileinfo.intra42_id:
return bad_request(request, "Already connected") return bad_request(request, "Already connected")
redirect_uri = reverse('accounts:connections-connect-discord-authorize') site = Site.objects.get_current()
redirect_uri = request.build_absolute_uri(redirect_uri) redirect_uri = reverse('accounts:connections-connect-intra42-authorize')
print(redirect_uri) redirect_uri = "https://" + site.domain + redirect_uri[3:] # remove language code
return oauth.discord.authorize_redirect(request, redirect_uri) return oauth.intra42.authorize_redirect(request, redirect_uri)
@login_required @login_required
def authorize(request): def authorize_intra42(request):
if request.user.userprofileinfo.discord_id: if request.user.userprofileinfo.intra42_id:
return bad_request(request, "Already connected") return bad_request(request, "Already connected")
token = oauth.discord.authorize_access_token(request) try:
response = oauth.discord.get('users/@me', token=token) token = oauth.intra42.authorize_access_token(request)
response = response.json() except:
discord_id = response['id'] return redirect('accounts:edit')
request.user.userprofileinfo.discord_id = discord_id response = oauth.intra42.get('v2/me', token=token)
request.user.userprofileinfo.save() response = response.json()
return redirect('accounts:edit') intra42_id = response['id']
intra42_campus = response['campus'][0]['name']
intra42_campus_id = response['campus'][0]['id']
request.user.userprofileinfo.intra42_id = intra42_id
request.user.userprofileinfo.campus, created = Campus.objects.get_or_create(id=intra42_campus_id, name=intra42_campus)
try:
request.user.userprofileinfo.save()
return redirect('accounts:edit')
except IntegrityError:
return redirect('accounts:edit')
@login_required @login_required
@require_POST @require_POST
def disconnect(request): def disconnect_intra42(request):
if not request.user.userprofileinfo.discord_id: if not request.user.userprofileinfo.intra42_id:
return bad_request(request, "Already disconnected") return bad_request(request, "Already disconnected")
request.user.userprofileinfo.discord_id = None request.user.userprofileinfo.intra42_id = None
request.user.userprofileinfo.save() request.user.userprofileinfo.intra42_campus = None
return redirect('accounts:edit') request.user.userprofileinfo.intra42_campus_id = None
request.user.userprofileinfo.campus = None
request.user.userprofileinfo.save()
return redirect('accounts:edit')
@login_required
@require_POST
def connect_discord(request):
if request.user.userprofileinfo.discord_id:
return bad_request(request, "Already connected")
site = Site.objects.get_current()
redirect_uri = reverse('accounts:connections-connect-discord-authorize')
redirect_uri = "https://" + site.domain + redirect_uri[3:] # remove language code
return oauth.discord.authorize_redirect(request, redirect_uri)
@login_required
def authorize_discord(request):
if request.user.userprofileinfo.discord_id:
return bad_request(request, "Already connected")
try:
token = oauth.discord.authorize_access_token(request)
except:
return redirect('accounts:edit')
response = oauth.discord.get('users/@me', token=token)
response = response.json()
discord_id = response['id']
request.user.userprofileinfo.discord_id = discord_id
request.user.userprofileinfo.save()
return redirect('accounts:edit')
@login_required
@require_POST
def disconnect_discord(request):
if not request.user.userprofileinfo.discord_id:
return bad_request(request, "Already disconnected")
request.user.userprofileinfo.discord_id = None
request.user.userprofileinfo.save()
return redirect('accounts:edit')

View File

@ -43,32 +43,69 @@ def signup(request):
user_form = UserForm() user_form = UserForm()
profile_form = UserProfileInfoForm() profile_form = UserProfileInfoForm()
registered = False registered = False
if request.method == 'POST': if request.method == 'POST':
pass1 = request.POST.get('password') username = request.POST.get('username')
if len(pass1) < 8: passwd = request.POST.get('password')
return render(request,'accounts/register.html', {'user_form':user_form, 'profile_form':profile_form, 'registered_failed':"The new password must be at least %d characters long." % 8}) email = request.POST.get('email')
first_isalpha = pass1[0].isalpha() website = request.POST.get('portfolio_site')
if not any(c.isdigit() for c in pass1) or not any(c.isalpha() for c in pass1):
return render(request,'accounts/register.html', {'user_form':user_form, 'profile_form':profile_form, 'registered_failed':_("The password must contain at least one letter and at least one digit or punctuation character.")}) if len(passwd) < 8:
return render(request, 'accounts/register.html', {
'user_form': user_form,
'profile_form': profile_form,
'registered_failed': _("The password must be at least 8 characters long."),
'old_username': username,
'old_email': email,
'old_website': website
})
if not any(c.isdigit() for c in passwd) or not any(c.isalpha() for c in passwd):
return render(request, 'accounts/register.html', {
'user_form': user_form,
'profile_form': profile_form,
'registered_failed': _("The password must contain at least one letter and at least one digit or punctuation character."),
'old_username': username,
'old_email': email,
'old_website': website
})
if User.objects.filter(email=request.POST.get('email')).exists(): if User.objects.filter(email=request.POST.get('email')).exists():
return render(request,'accounts/register.html', {'user_form':user_form, 'profile_form':profile_form, 'registered_failed':_("A user with that email already exists.")}) return render(request, 'accounts/register.html', {
'user_form': user_form,
'profile_form': profile_form,
'registered_failed': _("A user with that email already exists."),
'old_username': username,
'old_website': website
})
user_form = UserForm(data=request.POST) user_form = UserForm(data=request.POST)
profile_form = UserProfileInfoForm(data=request.POST) profile_form = UserProfileInfoForm(data=request.POST)
if user_form.is_valid() and profile_form.is_valid(): if user_form.is_valid() and profile_form.is_valid():
user = user_form.save() user = user_form.save()
user.set_password(user.password) user.set_password(user.password)
user.save() user.save()
profile = profile_form.save(commit=False) profile = profile_form.save(commit=False)
profile.user = user profile.user = user
profile.token = token_hex(16) profile.token = token_hex(16)
profile.save() profile.save()
registered = True registered = True
else: else:
return render(request,'accounts/register.html', {'user_form':user_form, 'profile_form':profile_form, 'registered_failed':_("A user with that username already exists.")}) return render(request, 'accounts/register.html', {
return render(request,'accounts/register.html', 'user_form': user_form,
{'user_form':user_form, 'profile_form': profile_form,
'profile_form':profile_form, 'registered_failed': _("A user with that username already exists."),
'registered':registered}) 'old_email': email,
'old_website': website
})
return render(request, 'accounts/register.html', {
'user_form': user_form,
'profile_form': profile_form,
'registered': registered
})
else: else:
return HttpResponseRedirect(reverse('home')) return HttpResponseRedirect(reverse('home'))
@ -151,20 +188,9 @@ def profile(request, user_name):
for s in solves.reverse(): for s in solves.reverse():
somme += s.ctf.points somme += s.ctf.points
solved.append([s.flag_date.timestamp() * 1000,somme]) solved.append([s.flag_date.timestamp() * 1000,somme])
created = CTF.objects.filter(author=user_obj, event=None)
return render(request,'accounts/profile.html', {'user':user_obj, 'solves':solves,'solved':solved,'catsDatas': catsDatas, 'pointDatas': pointDatas, return render(request,'accounts/profile.html', {'user':user_obj, 'solves':solves,'solved':solved,'catsDatas': catsDatas, 'pointDatas': pointDatas,
'rank': rank, 'score' : somme, 'member' : member, 'cats':cats}) 'rank': rank, 'score' : somme, 'member' : member, 'cats':cats, 'created':created})
def rank(request, token):
all_users = UserProfileInfo.objects.filter(score__gt=0).select_related().order_by('-score', 'last_submission_date', 'user__username')
rank = 1
for elem in all_users:
if elem.token == token:
break
rank += 1
data = {"rank": rank}
return JsonResponse(data)
@login_required @login_required
def delete_account(request): def delete_account(request):
@ -182,3 +208,14 @@ def delete_account(request):
else: else:
return render(request, 'accounts/delete.html', {'deleted': False, 'bad_password': False} ) return render(request, 'accounts/delete.html', {'deleted': False, 'bad_password': False} )
def rank(request, token):
all_users = UserProfileInfo.objects.filter(score__gt=0).select_related().order_by('-score', 'last_submission_date', 'user__username')
rank = 1
for elem in all_users:
if elem.token == token:
break
rank += 1
data = {"rank": rank}
return JsonResponse(data)

0
src/api/__init__.py Normal file
View File

3
src/api/admin.py Normal file
View File

@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

6
src/api/apps.py Normal file
View File

@ -0,0 +1,6 @@
from django.apps import AppConfig
class ApiConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'api'

View File

3
src/api/models.py Normal file
View File

@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

3
src/api/tests.py Normal file
View File

@ -0,0 +1,3 @@
from django.test import TestCase
# Create your tests here.

9
src/api/urls.py Normal file
View File

@ -0,0 +1,9 @@
from django.urls import path
from . import views
urlpatterns = [
path('bot/discord', views.bot_discord_rank, name='bot_discord_rank'), # legacy, to remove when new bot is deployed
path('bot/discord/rank', views.bot_discord_rank, name='bot_discord_rank'), # use this
path('bot/discord/campus', views.bot_discord_campus, name='bot_discord_campus'),
path('events/<str:event_slug>', views.events_data, name='events_data'),
]

72
src/api/views.py Normal file
View File

@ -0,0 +1,72 @@
from django.shortcuts import render
from accounts.models import UserProfileInfo
from django.http import JsonResponse
import os
from events.models import Event, Team, EventPlayer
from django.shortcuts import get_object_or_404
# Create your views here.
def bot_discord_rank(request):
if request.method != 'GET':
return JsonResponse({'error':'bad request'})
token = request.GET.get('token')
auth_token = os.getenv('BOT_TOKEN')
if (token != auth_token or not auth_token):
return JsonResponse({'error':'not authorized'})
all_users = UserProfileInfo.objects.select_related().order_by('-score', 'last_submission_date', 'user__username')
data = {}
rank = 1
for user in all_users:
if user.discord_id:
data[user.discord_id] = rank
rank += 1
return JsonResponse(data)
def bot_discord_campus(request):
if request.method != 'GET':
return JsonResponse({'error':'bad request'})
token = request.GET.get('token')
auth_token = os.getenv('BOT_TOKEN')
if (token != auth_token or not auth_token):
return JsonResponse({'error':'not authorized'})
all_users = UserProfileInfo.objects.select_related().order_by('-score', 'last_submission_date', 'user__username')
data = {}
for user in all_users:
if user.campus and user.discord_id:
data[user.discord_id] = user.campus.name
return JsonResponse(data)
def events_data(request, event_slug):
if request.method != 'GET':
return JsonResponse({'error':'bad request'})
event_info = get_object_or_404(Event, slug=event_slug)
if event_info.password and request.GET.get('password') != event_info.password:
return JsonResponse({'error':'not authorized'})
players = EventPlayer.objects.filter(event=event_info)
data = {}
if event_info.team_size > 1:
for player in players:
if not player.team:
continue
if not player.team.name in data:
data[player.team.name] = []
data[player.team.name].append({"name": player.user.username, "score": player.score})
else:
for player in players:
data[player.user.username] = player.score
return JsonResponse(data)

View File

@ -2,8 +2,6 @@ from django.contrib import admin
from .models import Category, CTF, CTF_flags from .models import Category, CTF, CTF_flags
admin.site.register(Category) admin.site.register(Category)
#admin.site.register(CTF)
#admin.site.register(CTF_flags)
@admin.register(CTF_flags) @admin.register(CTF_flags)
class ctf_flags(admin.ModelAdmin): class ctf_flags(admin.ModelAdmin):
@ -14,12 +12,61 @@ class ctf_flags(admin.ModelAdmin):
# search list # search list
search_fields = ['ctf__category__name', 'ctf__name', 'user__username'] search_fields = ['ctf__category__name', 'ctf__name', 'user__username']
def get_queryset(self, request):
qs = super().get_queryset(request)
if request.user.is_superuser:
return qs
groups = list(request.user.groups.values_list('name', flat=True))
return qs.filter(event__name__in=groups)
def has_view_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_view_permission(request, obj)
def has_change_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_change_permission(request, obj)
def has_delete_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_delete_permission(request, obj)
@admin.register(CTF) @admin.register(CTF)
class ctf(admin.ModelAdmin): class ctf(admin.ModelAdmin):
#list display #list display
list_display = ['name', 'event', 'category'] list_display = ['name', 'event', 'category', 'points']
#list Filter #list Filter
list_filter = ('category', 'event') list_filter = ('category', 'event')
# search list # search list
search_fields = ['category__name', 'name', 'author__username'] search_fields = ['category__name', 'name', 'author__username']
# Register your models here.
def get_queryset(self, request):
qs = super().get_queryset(request)
if request.user.is_superuser:
return qs
groups = list(request.user.groups.values_list('name', flat=True))
return qs.filter(event__name__in=groups)
def has_view_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_view_permission(request, obj)
def has_change_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_change_permission(request, obj)

View File

@ -0,0 +1,26 @@
# Generated by Django 3.2.11 on 2022-02-15 16:13
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ctfs', '0007_ctf_disabled'),
]
operations = [
migrations.RemoveField(
model_name='ctf',
name='description_de',
),
migrations.RemoveField(
model_name='ctf',
name='description_ru',
),
migrations.AddField(
model_name='ctf',
name='port',
field=models.PositiveSmallIntegerField(blank=True, null=True),
),
]

View File

@ -0,0 +1,18 @@
# Generated by Django 3.2.11 on 2023-09-17 17:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('ctfs', '0008_auto_20220215_1713'),
]
operations = [
migrations.AddField(
model_name='ctf_flags',
name='bonus',
field=models.PositiveSmallIntegerField(default=0),
),
]

View File

@ -15,10 +15,9 @@ class CTF(models.Model):
disabled = models.BooleanField(default=False) disabled = models.BooleanField(default=False)
description = models.TextField(blank=True) description = models.TextField(blank=True)
description_en = models.TextField(blank=True) description_en = models.TextField(blank=True)
description_ru = models.TextField(blank=True)
description_de = models.TextField(blank=True)
file = models.FileField(blank=True, upload_to='challenges') file = models.FileField(blank=True, upload_to='challenges')
ctf_url = models.URLField(blank=True) ctf_url = models.URLField(blank=True)
port = models.PositiveSmallIntegerField(null=True, blank=True)
event = models.ForeignKey(Event, null=True, blank=True, on_delete=models.CASCADE) event = models.ForeignKey(Event, null=True, blank=True, on_delete=models.CASCADE)
points = models.PositiveSmallIntegerField() points = models.PositiveSmallIntegerField()
slug = models.SlugField(max_length=55) slug = models.SlugField(max_length=55)
@ -46,6 +45,7 @@ class CTF_flags(models.Model):
user = models.ForeignKey(User, unique=False, on_delete=models.CASCADE) user = models.ForeignKey(User, unique=False, on_delete=models.CASCADE)
ctf = models.ForeignKey(CTF, unique=False, on_delete=models.CASCADE) ctf = models.ForeignKey(CTF, unique=False, on_delete=models.CASCADE)
flag_date = models.DateTimeField('Flag date') flag_date = models.DateTimeField('Flag date')
bonus = models.PositiveSmallIntegerField(default=0)
class Meta: class Meta:
ordering = ['-flag_date'] ordering = ['-flag_date']

26
src/ctfs/sitemaps.py Normal file
View File

@ -0,0 +1,26 @@
from django.contrib import sitemaps
from django.urls import reverse
from .models import Category, CTF
from .views import category, ctf
class CategorySitemap(sitemaps.Sitemap):
changefreq = "weekly"
priority = 0.7
i18n = True
def items(self):
return Category.objects.all()
def location(self, obj):
return reverse(category, kwargs={'cat_slug': obj.slug})
class CTFSitemap(sitemaps.Sitemap):
changefreq = "weekly"
priority = 0.7
i18n = True
def items(self):
return CTF.objects.all()
def location(self, obj):
return reverse(ctf, kwargs={'cat_slug': obj.category.slug, 'ctf_slug': obj.slug})

@ -0,0 +1 @@
Subproject commit 5c7b5995fe12c0ed1bb10f97e56ec89377c98b54

View File

@ -2,11 +2,13 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
{% load is_member %} {% load is_member %}
{% load get_chall %}
{% get_current_language as lang %}
<div class="row"> <div class="row">
<div class="col-sm-12 col-md-9"> <div class="col-sm-12 col-md-9">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head">
<h3>{{ ctf.name }}</h3> <h1>{{ ctf.name }}</h1>
<small>{% trans "Published date" %} : {{ ctf.pub_date }}</small> <small>{% trans "Published date" %} : {{ ctf.pub_date }}</small>
</div> </div>
{% if date < ctf.pub_date %} {% if date < ctf.pub_date %}
@ -15,11 +17,11 @@
</div> </div>
{% else %} {% else %}
<div class="ctf-body"> <div class="ctf-body">
{% if description %} {% get_chall_by_lang ctf lang as content %}
{{ description|safe }} {{ content | safe }}
{% else %} <!-- {% if ctf.port %}
{% trans "No translation available. Please try another language (English or French)." %} <b>nc challenges.42ctf.org {{ ctf.port }}</b>
{% endif %} {% endif %} -->
</div> </div>
<div class="ctf-footer"> <div class="ctf-footer">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}

View File

@ -2,8 +2,10 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
<div class="row"> <div class="row">
<div class="col-12 ctf-head">
<h1>{{ cat.name }}</h1>
</div>
<div class="col-sm-12 col-md-9 news-card"> <div class="col-sm-12 col-md-9 news-card">
<h3>{{ cat.name }}</h3>
{% if ctfs %} {% if ctfs %}
<table class="table table-striped table-dark"> <table class="table table-striped table-dark">
<thead> <thead>

View File

View File

@ -0,0 +1,12 @@
from django import template
register = template.Library()
@register.simple_tag
def get_chall_by_lang(chall, lang):
filepath = "ctfs/templates/challenges/"+ lang + "/" + chall.slug + ".html"
try:
with open(filepath) as fp:
return fp.read()
except:
return chall.description_en

View File

@ -1,7 +1,15 @@
from django.contrib.sitemaps.views import sitemap
from django.urls import path from django.urls import path
from .sitemaps import CategorySitemap, CTFSitemap
from . import views from . import views
sitemaps = {
'categories': CategorySitemap(),
'challenges': CTFSitemap(),
}
urlpatterns = [ urlpatterns = [
path('<str:cat_slug>/', views.category, name='category'), path('<str:cat_slug>/', views.category, name='category'),
path('<str:cat_slug>/<str:ctf_slug>', views.ctf, name='ctf') path('<str:cat_slug>/<str:ctf_slug>', views.ctf, name='ctf'),
path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap'),
] ]

View File

@ -8,19 +8,6 @@ from django.utils.translation import get_language
from math import log from math import log
from accounts.models import UserProfileInfo from accounts.models import UserProfileInfo
def get_description_by_lang(ctf):
lang = get_language()
ret = None
if lang == "fr":
ret = ctf.description
elif lang == "en":
ret = ctf.description_en
elif lang == "de":
ret = ctf.description_de
elif lang == "ru":
ret = ctf.description_ru
return ret
def actualize_points(ctf): def actualize_points(ctf):
if ctf.category.name == "-Intro-": if ctf.category.name == "-Intro-":
return return
@ -50,7 +37,6 @@ def ctf(request, cat_slug, ctf_slug):
ctf_info = get_object_or_404(CTF, slug=ctf_slug, event=None) ctf_info = get_object_or_404(CTF, slug=ctf_slug, event=None)
flagged = False flagged = False
solved_list = CTF_flags.objects.filter(ctf=ctf_info).order_by('flag_date') solved_list = CTF_flags.objects.filter(ctf=ctf_info).order_by('flag_date')
description = get_description_by_lang(ctf_info)
if request.user.is_authenticated: if request.user.is_authenticated:
if CTF_flags.objects.filter(user=request.user, ctf=ctf_info): if CTF_flags.objects.filter(user=request.user, ctf=ctf_info):
flagged = True flagged = True
@ -66,12 +52,12 @@ def ctf(request, cat_slug, ctf_slug):
profil.score += ctf_info.points profil.score += ctf_info.points
profil.save() profil.save()
actualize_points(ctf_info) actualize_points(ctf_info)
return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'valitated': True, 'description': description, 'date': timezone.now()}) return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'valitated': True, 'date': timezone.now()})
else: else:
return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'failed': True, 'description': description, 'date': timezone.now()}) return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'failed': True, 'date': timezone.now()})
else: else:
return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'alvalitated': True, 'description': description, 'date': timezone.now()}) return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'alvalitated': True, 'date': timezone.now()})
else: else:
return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'description': description, 'date': timezone.now()}) return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'date': timezone.now()})
else: else:
return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'alvalitated': flagged, 'description': description, 'date': timezone.now()}) return render(request, 'ctfs/ctf_info.html', { 'ctf' : ctf_info, 'solved_list': solved_list, 'alvalitated': flagged, 'date': timezone.now()})

View File

@ -1,5 +1,5 @@
from django.contrib import admin from django.contrib import admin
from .models import Event, EventPlayer, Team from .models import Event, EventPlayer, Team, Bonus
@admin.register(Event) @admin.register(Event)
class event(admin.ModelAdmin): class event(admin.ModelAdmin):
@ -8,6 +8,27 @@ class event(admin.ModelAdmin):
# search list # search list
search_fields = ['name', 'slug', 'description', 'password'] search_fields = ['name', 'slug', 'description', 'password']
def get_queryset(self, request):
qs = super().get_queryset(request)
if request.user.is_superuser:
return qs
groups = list(request.user.groups.values_list('name', flat=True))
return qs.filter(name__in=groups)
def has_view_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.name).exists()
return super().has_view_permission(request, obj)
def has_change_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.name).exists()
return super().has_change_permission(request, obj)
@admin.register(EventPlayer) @admin.register(EventPlayer)
class score(admin.ModelAdmin): class score(admin.ModelAdmin):
#list display #list display
@ -17,7 +38,33 @@ class score(admin.ModelAdmin):
# search list # search list
search_fields = ['user__username', 'score', 'event__name'] search_fields = ['user__username', 'score', 'event__name']
# Register your models here. def get_queryset(self, request):
qs = super().get_queryset(request)
if request.user.is_superuser:
return qs
groups = list(request.user.groups.values_list('name', flat=True))
return qs.filter(event__name__in=groups)
def has_view_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_view_permission(request, obj)
def has_change_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_change_permission(request, obj)
def has_delete_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_delete_permission(request, obj)
@admin.register(Team) @admin.register(Team)
class team(admin.ModelAdmin): class team(admin.ModelAdmin):
@ -27,3 +74,36 @@ class team(admin.ModelAdmin):
list_filter = ('event',) list_filter = ('event',)
# search list # search list
search_fields = ['name'] search_fields = ['name']
def get_queryset(self, request):
qs = super().get_queryset(request)
if request.user.is_superuser:
return qs
groups = list(request.user.groups.values_list('name', flat=True))
return qs.filter(event__name__in=groups)
def has_view_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_view_permission(request, obj)
def has_change_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_change_permission(request, obj)
def has_delete_permission(self, request, obj=None):
if request.user.is_superuser:
return True
if obj is not None:
return request.user.groups.filter(name=obj.event.name).exists()
return super().has_delete_permission(request, obj)
@admin.register(Bonus)
class bonus(admin.ModelAdmin):
#list display
list_display = ['points', 'absolute']

View File

@ -0,0 +1,23 @@
# Generated by Django 3.2.11 on 2022-02-15 16:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('events', '0008_event_dynamic'),
]
operations = [
migrations.AlterField(
model_name='eventplayer',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
migrations.AlterField(
model_name='team',
name='id',
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
),
]

View File

@ -0,0 +1,19 @@
# Generated by Django 3.2.11 on 2022-05-30 07:30
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('accounts', '0011_migration_campus'),
('events', '0009_auto_20220215_1706'),
]
operations = [
migrations.AddField(
model_name='event',
name='campus',
field=models.ManyToManyField(blank=True, to='accounts.Campus'),
),
]

View File

@ -0,0 +1,28 @@
# Generated by Django 3.2.11 on 2023-09-17 17:00
import django.core.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('events', '0010_event_campus'),
]
operations = [
migrations.CreateModel(
name='Bonus',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('absolute', models.BooleanField(default=True)),
('points', models.CharField(max_length=100, validators=[django.core.validators.int_list_validator])),
],
),
migrations.AddField(
model_name='event',
name='bonus',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='events.bonus'),
),
]

View File

@ -0,0 +1,24 @@
# Generated by Django 3.2.11 on 2023-09-17 18:38
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('events', '0011_bonus_points'),
]
operations = [
migrations.AlterField(
model_name='event',
name='bonus',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='events.bonus'),
),
migrations.AlterField(
model_name='eventplayer',
name='team',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='events.team'),
),
]

View File

@ -1,9 +1,17 @@
from django.db import models from django.db import models
from django.contrib.auth.models import User from django.contrib.auth.models import User
from django.contrib.auth.models import timezone from django.contrib.auth.models import timezone
from django.core.validators import int_list_validator
import uuid import uuid
from accounts.models import Campus
# Create your models here. # Create your models here.
class Bonus(models.Model):
absolute = models.BooleanField(default=True)
points = models.CharField(validators=[int_list_validator], max_length=100)
def __str__(self):
return self.points
class Event(models.Model): class Event(models.Model):
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False) id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
name = models.CharField(max_length=200) name = models.CharField(max_length=200)
@ -17,6 +25,8 @@ class Event(models.Model):
team_size = models.PositiveIntegerField(default=1) team_size = models.PositiveIntegerField(default=1)
auto_match = models.BooleanField(default=False) auto_match = models.BooleanField(default=False)
dynamic = models.BooleanField(default=False) dynamic = models.BooleanField(default=False)
campus = models.ManyToManyField(Campus, blank=True)
bonus = models.ForeignKey(Bonus, null=True, on_delete=models.SET_NULL, blank=True)
def __str__(self): def __str__(self):
return self.name return self.name
@ -35,8 +45,6 @@ class EventPlayer(models.Model):
event = models.ForeignKey(Event, on_delete=models.CASCADE) event = models.ForeignKey(Event, on_delete=models.CASCADE)
score = models.PositiveIntegerField(default=0, db_index=True) score = models.PositiveIntegerField(default=0, db_index=True)
last_submission_date = models.DateTimeField('Last Submission Date', default=timezone.now) last_submission_date = models.DateTimeField('Last Submission Date', default=timezone.now)
team = models.ForeignKey(Team, on_delete=models.CASCADE, null=True) team = models.ForeignKey(Team, on_delete=models.CASCADE, null=True, blank=True)
class Meta: class Meta:
ordering = ['-score', 'last_submission_date', 'user__username'] ordering = ['-score', 'last_submission_date', 'user__username']

24
src/events/sitemaps.py Normal file
View File

@ -0,0 +1,24 @@
from django.contrib import sitemaps
from django.urls import reverse
from .models import Event
class EventsSitemap(sitemaps.Sitemap):
changefreq = "daily"
priority = 0.7
i18n = True
def items(self):
return Event.objects.all()
def location(self, obj):
return reverse('events:event_info', kwargs={'event_slug': obj.slug})
class StaticViewSitemap(sitemaps.Sitemap):
priority = 0.7
changefreq = 'daily'
i18n = True
def items(self):
return ['events:events']
def location(self, item):
return reverse(item)

View File

@ -16,6 +16,9 @@
{% if registered == False %} {% if registered == False %}
<span class="message error-msg">{% trans "You need to be registered to the event." %}</span> <span class="message error-msg">{% trans "You need to be registered to the event." %}</span>
{% else %} {% else %}
{% if invalid == True %}
<span class="message error-msg">{% trans "Invalid characters in name" %}</span>
{% endif %}
{% if exist == True %} {% if exist == True %}
<span class="message error-msg">{% trans "Name already taken." %}</span> <span class="message error-msg">{% trans "Name already taken." %}</span>
{% endif %} {% endif %}

View File

@ -7,7 +7,7 @@
<div class="ctf-block"> <div class="ctf-block">
<a href="{% url 'events:event_info' event_slug=event.slug %}">< Back to event</a> <a href="{% url 'events:event_info' event_slug=event.slug %}">< Back to event</a>
<div class="ctf-head"> <div class="ctf-head">
<h2>{% trans "Event" %} - {{ event.name }}</h2> <h1>{% trans "Event" %} - {{ event.name }}</h1>
<h4>{{ ctf.name }}</h4> <h4>{{ ctf.name }}</h4>
<small>{% trans "Published date" %} : {{ ctf.pub_date }}</small> <small>{% trans "Published date" %} : {{ ctf.pub_date }}</small>
</div> </div>
@ -21,7 +21,10 @@
<div class="ctf-footer"> <div class="ctf-footer">
{% if request.user.is_authenticated %} {% if request.user.is_authenticated %}
{% if congrat == True %} {% if congrat == True %}
<p>{% trans "Congratulation !" %}</p> <p>{% trans "Congratulation !" %}</p>
{% if bonus|add:"0" > 0 %}
<p>{% trans "Bonus points awarded" %} : {{ bonus }}</p>
{% endif %}
{% elif alreadyflag == True %} {% elif alreadyflag == True %}
<p>{% trans "Already flagged" %}</p> <p>{% trans "Already flagged" %}</p>
{% elif eventisover == True %} {% elif eventisover == True %}
@ -96,6 +99,9 @@
<ul class="list-group"> <ul class="list-group">
<li class="list-group-item">{% trans "Author" %} : <a style="position:absolute;right: 15px;" class="profile_link {{is_member}}" href="{% url 'accounts:profile' user_name=ctf.author.username %}">{{ ctf.author.username }}</a></li> <li class="list-group-item">{% trans "Author" %} : <a style="position:absolute;right: 15px;" class="profile_link {{is_member}}" href="{% url 'accounts:profile' user_name=ctf.author.username %}">{{ ctf.author.username }}</a></li>
<li class="list-group-item">{% trans "Point reward" %} : <span style="position:absolute;right: 15px;">{{ ctf.points }}</span></li> <li class="list-group-item">{% trans "Point reward" %} : <span style="position:absolute;right: 15px;">{{ ctf.points }}</span></li>
{% if ctf.event.bonus %}
<li class="list-group-item">{% trans "Speed Bonuses" %} : <span style="position:absolute;right: 15px;">{{ bonus_points }}</span></li>
{% endif %}
</ul> </ul>
</div> </div>

View File

@ -13,7 +13,7 @@
{% endif %} {% endif %}
<div class="event-block"> <div class="event-block">
<div class="event-head" style="background-image:linear-gradient(180deg, rgba(102,102,102,0.3) 100%, rgba(29,29,29,1) 100%),url('{{ event.img }}');"> <div class="event-head" style="background-image:linear-gradient(180deg, rgba(102,102,102,0.3) 100%, rgba(29,29,29,1) 100%),url('{{ event.img }}');">
<h3>{{ event.name }}</h3> <h1>{{ event.name }}</h1>
{% if ended == True %} {% if ended == True %}
<small>{% trans "This event is over." %}</small> <small>{% trans "This event is over." %}</small>
{% else %} {% else %}
@ -26,7 +26,7 @@
{% endif %} {% endif %}
</div> </div>
<div class="event-footer"> <div class="event-footer">
{% if begun == True %} {% if begun == True or is_event_manager == True %}
<h4>{% trans "Challenges" %}</h4> <h4>{% trans "Challenges" %}</h4>
{% if ctfs %} {% if ctfs %}

View File

@ -11,19 +11,35 @@
<div class="ctf-footer"> <div class="ctf-footer">
{% if logged == True %} {% if logged == True %}
{% if wrongpwd == True %} {% if userHasCampus == False %}
<span class="message error-msg">{% trans "Wrong password submited." %}</span> <span class="message error-msg">
{% trans "This event is reserved for one or more 42 campuses. If you have not connected your intranet to 42CTF, you can do so with this button: " %}
<form action="{% url 'accounts:connections-connect-intra42' %}" method='POST' class="form-inline p-2">
{%csrf_token%}
<button class="btn btn-dark" type="submit">{% trans "Connect 42" %}</button>
</form>
</span>
{% endif %} {% endif %}
{% if alreadyregistered == True %} {% if campusCanJoin == False %}
<span class="message error-msg">{% trans "You're already registered to this event." %}</span> <span class="message error-msg">
{% trans "This event is reserved for one or more 42 campuses. And unfortunately your campus can't participate. Do not hesitate to contact us to organize an event on your campus!" %}
</span>
{% endif %}
{% if userHasCampus == True and campusCanJoin == True %}
{% if wrongpwd == True %}
<span class="message error-msg">{% trans "Wrong password submited." %}</span>
{% endif %}
{% if alreadyregistered == True %}
<span class="message error-msg">{% trans "You're already registered to this event." %}</span>
{% endif %}
<h4>{% trans "This event is password protected" %}</h4>
<small>{% trans "You need to submit the event password to gain access to this event." %}</small>
<form method="post" action="{% url 'events:submit_pwd' event_slug=event.slug %}" class="submitflag-form">
{% csrf_token %}
<input type="text" name="password" maxlength="48" required="">
<input class="form-control" type="submit" value=">">
</form>
{% endif %} {% endif %}
<h4>{% trans "This event is password protected" %}</h4>
<small>{% trans "You need to submit the event password to gain access to this event." %}</small>
<form method="post" action="{% url 'events:submit_pwd' event_slug=event.slug %}" class="submitflag-form">
{% csrf_token %}
<input type="text" name="password" maxlength="48" required="">
<input class="form-control" type="submit" value=">">
</form>
{% else %} {% else %}
<h4>{% trans "You need to be logged to access this event." %}</h4> <h4>{% trans "You need to be logged to access this event." %}</h4>
{% endif %} {% endif %}

View File

@ -2,8 +2,8 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12 ctf-head">
<h3>{% trans "Events" %}</h3> <h1>{% trans "Events" %}</h1>
</div> </div>
{% if events %} {% if events %}
{% for ev in events %} {% for ev in events %}

View File

@ -0,0 +1,168 @@
{% extends 'base.html' %}
{% block content %}
{% load i18n %}
{% load key_value %}
{% load is_member %}
{% ismember user.userprofileinfo as is_member %}
<div class="row">
<div class="col-sm-12 col-md-9">
<a href="{% url 'events:event_info' event_slug=event.slug %}">< Back to event</a>
<div>
<h4>{% trans "Challenges Solved by" %} <span class="{{ is_member }}">{{ user.username }} - {{ event.name }}</span></h4>
{% if solves%}
<div class="table table-dark">
<div class="card-body">
<div id="time-chart"></div>
</div>
</div>
<table class="table table-dark">
<thead>
<tr>
<th scope="col">{% trans "Challenge Name" %}</th>
<th scope="col">{% trans "Category" %}</th>
<th scope="col">{% trans "Points" %}</th>
<th scope="col">{% trans "Bonus" %}</th>
<th scope="col">{% trans "Date" %}</th>
</tr>
</thead>
<tbody>
{% for s in solves %}
<tr>
<th scope="row"><a href="{% url 'events:event_chall_info' event_slug=event.slug chall_slug=s.ctf.slug %}">{{ s.ctf.name }}</a></th>
<td>{{ s.ctf.category.name}}</td>
<td>{{ s.ctf.points }}</td>
<td>{{ s.bonus }}</td>
<td>{{ s.flag_date|date:"Y-m-d H:i:s" }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p>{% trans "It seems that this user has not solved any challenge yet..." %}</p>
{% endif %}
</div>
</div>
<div class="d-none d-md-block col-10 col-md-3 right-sidebar">
<ul class="list-group">
<li class="list-group-item {{ is_member }}">{{ user.username }}</li>
<li class="list-group-item">{% trans "Score" %} : {{ score }}</li>
<li class="list-group-item">{% trans "Rank" %} : {{ rank }}</li>
{% if user.userprofileinfo.portfolio_site %}
<li class="list-group-item">
<a href="{{ user.userprofileinfo.portfolio_site }}" target="_blank">
{{ user.userprofileinfo.portfolio_site }}
</a>
</li>
{% endif %}
{% if member %}
<li class="list-group-item is-member">{% trans "Status: Member" %}</li>
{% else %}
<li class="list-group-item">{% trans "Status: Visitor" %}</li>
{% endif %}
<li class="list-group-item">{% trans "Registered since" %} {{ user.date_joined|date:"d-m-Y" }}</li>
</ul>
<ul class="list-group">
<li class="list-group-item">{% trans "Categories stats" %}</li>
{% for cat in catsDatas %}
<li class="list-group-item" style="padding-bottom: 3;padding-top: 0;">
<span>{{ cat.0 }}</span>
<div class="progress">
{% if cat.3 == '0' %}
<div class="progress-bar bg-success" role="progressbar" style="width: 0%;color:#d9d9d9;" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100">0 %</div>
{% else %}
<div class="progress-bar bg-success" role="progressbar" style="width: {{ cat.3 }}%" aria-valuenow="{{ cat.3 }}" aria-valuemin="0" aria-valuemax="100">{{ cat.3 }} %</div>
{% endif %}
</div>
</li>
{% endfor %}
</ul>
<ul class="list-group">
<ul class="list-group">
<li class="list-group-item">{% trans "Challenges created" %}</li>
{% if created %}
{% for creat in created %}
<li class="list-group-item"><a href="{% url 'ctf' cat_slug=creat.category.slug ctf_slug=creat.slug %}">{{ creat.name }}</a></li>
{% endfor %}
{% else %}
<li class="list-group-item">{% trans "It seems that this user has not created any challenge yet..." %}</li>
{% endif %}
</ul>
</ul>
</div>
</div>
<script src="https://code.highcharts.com/highcharts.src.js"></script>
<script>
Highcharts.theme={colors:["#2b908f","#90ee7e","#f45b5b","#7798BF","#aaeeee","#ff0066","#eeaaee","#55BF3B","#DF5353","#7798BF","#aaeeee"],chart:{backgroundColor:{linearGradient:{x1:0,y1:0,x2:1,y2:1},stops:[[0,"#1D1D1D"],[1,"#1D1D1D"]]},style:{fontFamily:"'Unica One', sans-serif"},plotBorderColor:"#606063"},title:{style:{color:"#E0E0E3",textTransform:"uppercase",fontSize:"20px"}},subtitle:{style:{color:"#E0E0E3",textTransform:"uppercase"}},xAxis:{gridLineColor:"#707073",labels:{style:{color:"#E0E0E3"}},lineColor:"#707073",minorGridLineColor:"#505053",tickColor:"#707073",title:{style:{color:"#A0A0A3"}}},yAxis:{gridLineColor:"#707073",labels:{style:{color:"#E0E0E3"}},lineColor:"#707073",minorGridLineColor:"#505053",tickColor:"#707073",tickWidth:1,title:{style:{color:"#A0A0A3"}}},tooltip:{backgroundColor:"rgba(0, 0, 0, 0.85)",style:{color:"#F0F0F0"}},plotOptions:{series:{dataLabels:{color:"#F0F0F3",style:{fontSize:"13px"}},marker:{lineColor:"#333"}},boxplot:{fillColor:"#505053"},candlestick:{lineColor:"white"},errorbar:{color:"white"}},legend:{backgroundColor:"#1D1D1D",itemStyle:{color:"#E0E0E3"},itemHoverStyle:{color:"#FFF"},itemHiddenStyle:{color:"#606063"},title:{style:{color:"#C0C0C0"}}},credits:{style:{color:"#666"}},labels:{style:{color:"#707073"}},drilldown:{activeAxisLabelStyle:{color:"#F0F0F3"},activeDataLabelStyle:{color:"#F0F0F3"}},navigation:{buttonOptions:{symbolStroke:"#DDDDDD",theme:{fill:"#505053"}}},rangeSelector:{buttonTheme:{fill:"#505053",stroke:"#000000",style:{color:"#CCC"},states:{hover:{fill:"#707073",stroke:"#000000",style:{color:"white"}},select:{fill:"#000003",stroke:"#000000",style:{color:"white"}}}},inputBoxBorderColor:"#505053",inputStyle:{backgroundColor:"#333",color:"silver"},labelStyle:{color:"silver"}},navigator:{handles:{backgroundColor:"#666",borderColor:"#AAA"},outlineColor:"#CCC",maskFill:"rgba(255,255,255,0.1)",series:{color:"#7798BF",lineColor:"#A6C7ED"},xAxis:{gridLineColor:"#505053"}},scrollbar:{barBackgroundColor:"#808083",barBorderColor:"#808083",buttonArrowColor:"#CCC",buttonBackgroundColor:"#606063",buttonBorderColor:"#606063",rifleColor:"#FFF",trackBackgroundColor:"#404043",trackBorderColor:"#404043"}};
Highcharts.setOptions(Highcharts.theme);
Highcharts.chart('time-chart', {
title: {
text: 'Points earned for each category'
},
yAxis: {
title: {
text: 'Points earned'
}
},
xAxis: {
type: 'datetime',
labels: {
formatter: function() {
return Highcharts.dateFormat('%d.%b %Y',
this.value);
}
}
},
legend: {
layout: 'vertical',
align: 'right',
verticalAlign: 'middle'
},
plotOptions: {
pointStart: {{ user.date_joined|timestamp_fromdate }},
series: {
label: {
connectorAllowed: false
},
allowPointSelect: true,
marker: {
enabled: true
}
}
},
series: [
{
name: 'Total',
data: {{ solved|safe }}
},
{% for cat in cats %}
{
name: '{{ cat.name }}',
data: {{ pointDatas|keyvalue:cat.name|safe }},
visible: false,
},
{% endfor %}
],
responsive: {
rules: [{
condition: {
maxWidth: 500
},
chartOptions: {
legend: {
layout: 'horizontal',
align: 'center',
verticalAlign: 'bottom'
}
}
}]
}
});
</script>
{% endblock %}

View File

@ -1,10 +1,18 @@
from django.contrib.sitemaps.views import sitemap
from django.urls import path from django.urls import path
from .sitemaps import StaticViewSitemap, EventsSitemap
from . import views from . import views
app_name = "events" app_name = "events"
sitemaps = {
'events': EventsSitemap(),
'static': StaticViewSitemap(),
}
urlpatterns = [ urlpatterns = [
path('', views.events, name='events'), path('', views.events, name='events'),
path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap'),
path('<str:event_slug>', views.event, name='event_info'), path('<str:event_slug>', views.event, name='event_info'),
path('<str:event_slug>/challenge/<str:chall_slug>', views.chall_event_info, name='event_chall_info'), path('<str:event_slug>/challenge/<str:chall_slug>', views.chall_event_info, name='event_chall_info'),
path('pwd/<str:event_slug>', views.submit_pwd, name='submit_pwd'), path('pwd/<str:event_slug>', views.submit_pwd, name='submit_pwd'),

View File

@ -4,6 +4,7 @@ from django.contrib.auth.models import timezone
from ..forms import submit_flag from ..forms import submit_flag
from ..models import Event, EventPlayer, Team from ..models import Event, EventPlayer, Team
from ctfs.models import CTF, CTF_flags, Category from ctfs.models import CTF, CTF_flags, Category
from accounts.models import UserProfileInfo
from django.utils.translation import get_language from django.utils.translation import get_language
from django.contrib.auth.models import User from django.contrib.auth.models import User
from django.utils.translation import gettext_lazy as _ from django.utils.translation import gettext_lazy as _
@ -40,6 +41,31 @@ def actualize_points(ctf):
player.team.score -= diff player.team.score -= diff
player.team.save() player.team.save()
def compute_bonus_points(ctf):
if not ctf.event.bonus:
return 0
solves = CTF_flags.objects.filter(ctf=ctf)
bonuses = ctf.event.bonus.points.split(',')
if len(solves) >= len(bonuses):
return 0
else:
if ctf.event.bonus.absolute == True:
return int(bonuses[len(solves)])
else:
return int(bonuses[len(solves)]) * ctf.points // 100
def format_bonus_points(ctf):
if not ctf.event.bonus:
return None
bonuses = ctf.event.bonus.points.split(',')
if ctf.event.bonus.absolute == True:
return ''.join([b + ', ' for b in bonuses])[:-2]
return ''.join([str(ctf.points * int(b) // 100) + ', ' for b in bonuses])[:-2]
# Create your views here. # Create your views here.
def events(request): def events(request):
list_events = Event.objects.filter().order_by('-end_date', 'start_date') list_events = Event.objects.filter().order_by('-end_date', 'start_date')
@ -49,7 +75,8 @@ def chall_event_info(request, event_slug, chall_slug):
event_info = get_object_or_404(Event, slug=event_slug) event_info = get_object_or_404(Event, slug=event_slug)
ctf_info = get_object_or_404(CTF, event__slug=event_info.slug, slug=chall_slug) ctf_info = get_object_or_404(CTF, event__slug=event_info.slug, slug=chall_slug)
if timezone.now() < ctf_info.pub_date: is_event_manager = request.user.groups.filter(name=event_info.name).exists() or request.user.is_superuser
if timezone.now() < ctf_info.pub_date and not is_event_manager:
return redirect('events:event_info', event_slug=event_slug) return redirect('events:event_info', event_slug=event_slug)
eventisover = False eventisover = False
alreadyflag = False alreadyflag = False
@ -59,6 +86,7 @@ def chall_event_info(request, event_slug, chall_slug):
notsub = False notsub = False
noteam = False noteam = False
player = None player = None
bonus = 0
if request.user.is_authenticated and not request.user.is_staff: if request.user.is_authenticated and not request.user.is_staff:
player = EventPlayer.objects.filter(event=event_info, user=request.user) player = EventPlayer.objects.filter(event=event_info, user=request.user)
if not player: if not player:
@ -79,6 +107,8 @@ def chall_event_info(request, event_slug, chall_slug):
notsub = True notsub = True
if request.GET.get('NoTeam'): if request.GET.get('NoTeam'):
noteam = True noteam = True
bonus = request.GET.get('Bonus')
bonus_points = format_bonus_points(ctf_info)
solved_challs = CTF_flags.objects.filter(ctf=ctf_info).order_by('flag_date') solved_challs = CTF_flags.objects.filter(ctf=ctf_info).order_by('flag_date')
solved_list = [] solved_list = []
for s in solved_challs: for s in solved_challs:
@ -88,47 +118,59 @@ def chall_event_info(request, event_slug, chall_slug):
solved_list.append([s.user, s.flag_date]) solved_list.append([s.user, s.flag_date])
description = get_description_by_lang(ctf_info) description = get_description_by_lang(ctf_info)
return render(request, 'events/ctf_info.html', { 'ctf' : ctf_info, 'event':event_info, 'solved_list': solved_list, 'description': description, 'eventisover': eventisover, 'alreadyflag': alreadyflag, return render(request, 'events/ctf_info.html', { 'ctf' : ctf_info, 'event':event_info, 'solved_list': solved_list, 'description': description, 'eventisover': eventisover, 'alreadyflag': alreadyflag,
'congrat': congrat, 'wrongflag': wrongflag, 'errorform': errorform, 'notsub': notsub, 'noteam':noteam}) 'congrat': congrat, 'wrongflag': wrongflag, 'errorform': errorform, 'notsub': notsub, 'noteam':noteam, 'bonus':bonus, 'bonus_points':bonus_points})
def event(request, event_slug): def event(request, event_slug):
event_info = get_object_or_404(Event, slug=event_slug) event_info = get_object_or_404(Event, slug=event_slug)
IsRegistered = False
wrongpwd = False wrongpwd = False
alreadyregistered = False alreadyregistered = False
subisover = False subisover = False
is_event_manager = request.user.groups.filter(name=event_info.name).exists() or request.user.is_superuser
ended = (timezone.now() >= event_info.end_date)
begun = (timezone.now() >= event_info.start_date)
if is_event_manager: # we want to see all the challenges
challenges = CTF.objects.filter(event=event_info).order_by('category', 'points')
else:
challenges = CTF.objects.filter(event=event_info, pub_date__lte=timezone.now()).order_by('category', 'points')
if event_info.team_size == 1:
solved_list = EventPlayer.objects.filter(event=event_info).order_by('-score', 'last_submission_date', 'user__username')
else:
solved_list = Team.objects.filter(event=event_info).order_by('-score', 'last_submission_date', 'name')
if request.GET.get('WrongPassword'): if request.GET.get('WrongPassword'):
wrongpwd = True wrongpwd = True
if request.GET.get('AlreadyRegistered'): if request.GET.get('AlreadyRegistered'):
alreadyregistered = True alreadyregistered = True
if request.GET.get('SubscriptionIsOver'): if request.GET.get('SubscriptionIsOver'):
subisover = True subisover = True
if request.user.is_authenticated: if request.user.is_authenticated:
try: try:
player = EventPlayer.objects.get(event=event_info, user=request.user) EventPlayer.objects.get(event=event_info, user=request.user)
return render(request, 'events/event_info.html', {'event' : event_info, 'IsRegistered': True, 'ctfs': challenges, 'solved_list':solved_list,
'ended': ended, 'begun': begun, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered, 'subisover': subisover, 'is_event_manager':is_event_manager})
except: except:
player = None pass
if player:
IsRegistered = True if (event_info.campus.all() or event_info.password) and request.user.is_authenticated is False:
if event_info.password: return render(request, 'events/event_pwd.html', {'event' : event_info, 'logged': False})
if request.user.is_authenticated:
if request.user.is_staff is False: if event_info.campus.all() and is_event_manager is False:
if not player: user = UserProfileInfo.objects.get(user=request.user)
return render(request, 'events/event_pwd.html', {'event' : event_info, 'logged': True, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered}) if user.campus is None:
else: return render(request, 'events/event_pwd.html', {'event' : event_info, 'logged': True, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered, 'userHasCampus': False, 'campusCanJoin': True})
return render(request, 'events/event_pwd.html', {'event' : event_info, 'logged': False, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered}) elif user.campus not in event_info.campus.all():
ended = False return render(request, 'events/event_pwd.html', {'event' : event_info, 'logged': True, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered, 'userHasCampus': True, 'campusCanJoin': False})
if timezone.now() >= event_info.end_date:
ended = True if event_info.password and is_event_manager is False:
begun = False return render(request, 'events/event_pwd.html', {'event' : event_info, 'logged': True, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered, 'userHasCampus': True, 'campusCanJoin': True})
if timezone.now() >= event_info.start_date:
begun = True return render(request, 'events/event_info.html', {'event' : event_info, 'ctfs': challenges, 'solved_list':solved_list, 'IsRegistered': False,
challenges = CTF.objects.filter(event=event_info, pub_date__lte=timezone.now()).order_by('category', 'points') 'ended': ended, 'begun': begun, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered, 'subisover': subisover, 'is_event_manager':is_event_manager})
if event_info.team_size == 1:
solved_list = EventPlayer.objects.filter(event=event_info).order_by('-score', 'last_submission_date', 'user__username')
else:
solved_list = Team.objects.filter(event=event_info).order_by('-score', 'last_submission_date', 'name')
return render(request, 'events/event_info.html', {'event' : event_info, 'IsRegistered': IsRegistered, 'ctfs': challenges, 'solved_list':solved_list,
'ended': ended, 'begun': begun, 'wrongpwd': wrongpwd, 'alreadyregistered': alreadyregistered, 'subisover': subisover})
@login_required @login_required
def submit_event_flag(request, event_slug, chall_slug): def submit_event_flag(request, event_slug, chall_slug):
@ -153,10 +195,11 @@ def submit_event_flag(request, event_slug, chall_slug):
if player: if player:
if ev.team_size > 1 and player.team is None: if ev.team_size > 1 and player.team is None:
response['Location'] += '?NoTeam=1' response['Location'] += '?NoTeam=1'
return response return response
if ev.team_size == 1 and CTF_flags.objects.filter(user=request.user, ctf=ctf_info): if ev.team_size == 1:
flagged = True if CTF_flags.objects.filter(user=request.user, ctf=ctf_info):
flagged = True
else: else:
solved_list = CTF_flags.objects.filter(ctf=ctf_info) solved_list = CTF_flags.objects.filter(ctf=ctf_info)
for s in solved_list: for s in solved_list:
@ -171,20 +214,21 @@ def submit_event_flag(request, event_slug, chall_slug):
if form.is_valid(): if form.is_valid():
if ctf_info.flag == request.POST.get('flag'): if ctf_info.flag == request.POST.get('flag'):
new = CTF_flags(user = request.user, ctf = ctf_info, flag_date = timezone.now()) bonus = compute_bonus_points(ctf_info)
new = CTF_flags(user = request.user, ctf = ctf_info, flag_date = timezone.now(), bonus = bonus)
new.save() new.save()
if ctf_info.points > 0: if ctf_info.points > 0:
player.last_submission_date = timezone.now() player.last_submission_date = timezone.now()
player.score += ctf_info.points player.score += (ctf_info.points + bonus)
player.save() player.save()
if player.team: if player.team:
if ctf_info.points > 0: if ctf_info.points > 0:
player.team.last_submission_date = timezone.now() player.team.last_submission_date = timezone.now()
player.team.score += ctf_info.points player.team.score += (ctf_info.points + bonus)
player.team.save() player.team.save()
if ev.dynamic: if ev.dynamic:
actualize_points(ctf_info) actualize_points(ctf_info)
response['Location'] += '?Congrat=1' response['Location'] += '?Congrat=1&Bonus=' + str(bonus)
return response return response
else: else:
response['Location'] += '?WrongFlag=1' response['Location'] += '?WrongFlag=1'
@ -266,7 +310,7 @@ def profile(request, user_name, event_slug):
percent = (solved_count / max_count) * 100 percent = (solved_count / max_count) * 100
catsDatas.append([cat.name, solved_count, max_count, '{:.0f}'.format(percent)]) catsDatas.append([cat.name, solved_count, max_count, '{:.0f}'.format(percent)])
for flag in solved: for flag in solved:
somme += flag.ctf.points somme += (flag.ctf.points + flag.bonus)
pointDatas[cat.name].append([flag.flag_date.timestamp() * 1000, somme]) pointDatas[cat.name].append([flag.flag_date.timestamp() * 1000, somme])
solves = CTF_flags.objects.filter(user=user_obj, ctf__event=event_info).order_by('-flag_date') solves = CTF_flags.objects.filter(user=user_obj, ctf__event=event_info).order_by('-flag_date')
@ -274,10 +318,10 @@ def profile(request, user_name, event_slug):
somme = 0 somme = 0
solved.append([event_info.start_date.timestamp() * 1000, 0]) solved.append([event_info.start_date.timestamp() * 1000, 0])
for s in solves.reverse(): for s in solves.reverse():
somme += s.ctf.points somme += (s.ctf.points + s.bonus)
solved.append([s.flag_date.timestamp() * 1000,somme]) solved.append([s.flag_date.timestamp() * 1000,somme])
return render(request,'accounts/profile.html', {'user':user_obj, 'solves':solves,'solved':solved,'catsDatas': catsDatas, 'pointDatas': pointDatas, return render(request,'events/profile.html', {'user':user_obj, 'solves':solves,'solved':solved,'catsDatas': catsDatas, 'pointDatas': pointDatas,
'rank': rank, 'score' : somme, 'cats':cats}) 'rank': rank, 'score' : player.score, 'cats':cats, 'event': event_info})

View File

@ -13,10 +13,13 @@ from random import randint
def create_team(request, event_slug): def create_team(request, event_slug):
ev = get_object_or_404(Event, slug=event_slug) ev = get_object_or_404(Event, slug=event_slug)
if request.method == 'POST': if request.method == 'POST':
teamname = request.POST.get('teamname')
if request.user.is_authenticated and ev.team_size > 1: if request.user.is_authenticated and ev.team_size > 1:
if Team.objects.filter(name=request.POST.get('teamname'), event=ev).exists(): if any(c in set('./') for c in teamname):
return render(request, 'events/create_team.html', {'event' : ev, 'logged': True, 'wrongpwd': False, 'registered' : True, 'exist' : False, 'invalid' : True})
if Team.objects.filter(name=teamname, event=ev).exists():
return render(request, 'events/create_team.html', {'event' : ev, 'logged': True, 'wrongpwd': False, 'registered' : True, 'exist' : True}) return render(request, 'events/create_team.html', {'event' : ev, 'logged': True, 'wrongpwd': False, 'registered' : True, 'exist' : True})
new = Team(name=request.POST.get('teamname'), password=request.POST.get('password'), event=ev) new = Team(name=teamname, password=request.POST.get('password'), event=ev)
new.save() new.save()
player = EventPlayer.objects.get(user=request.user, event=ev) player = EventPlayer.objects.get(user=request.user, event=ev)
player.team = new player.team = new
@ -115,9 +118,10 @@ def manage_team(request, event_slug):
pname = p_form.cleaned_data['name'] pname = p_form.cleaned_data['name']
if pname == tname: if pname == tname:
pass pass
else: elif any(c in set('./') for c in pname):
if Team.objects.filter(name=pname, event=event_info).exists(): error = _("Invalid characters in name")
error = _("Name already taken.") elif Team.objects.filter(name=pname, event=event_info).exists():
error = _("Name already taken.")
ppassword = p_form.cleaned_data['password'] ppassword = p_form.cleaned_data['password']
if error is None: if error is None:
p_form.save() p_form.save()
@ -137,18 +141,20 @@ def leave_team(request, event_slug):
player = EventPlayer.objects.get(user=request.user, event=event_info) player = EventPlayer.objects.get(user=request.user, event=event_info)
team = Team.objects.get(event=event_info, name=player.team.name) team = Team.objects.get(event=event_info, name=player.team.name)
team.score -= player.score
team.save()
player.team = None player.team = None
player.save()
members = EventPlayer.objects.filter(team=team, event=event_info)
if members.count() == 0:
team.delete()
else:
team.score -= player.score
team.save()
solved = CTF_flags.objects.filter(user=player.user, ctf__event=event_info) solved = CTF_flags.objects.filter(user=player.user, ctf__event=event_info)
player.score = 0 player.score = 0
solved.delete() solved.delete()
player.save() player.save()
members = EventPlayer.objects.filter(team=team, event=event_info)
if members.count() == 0:
team.delete()
return redirect('events:event_info', event_slug=event_slug) return redirect('events:event_info', event_slug=event_slug)
@login_required @login_required

12
src/home/sitemaps.py Normal file
View File

@ -0,0 +1,12 @@
from django.contrib import sitemaps
from django.urls import reverse
class StaticViewSitemap(sitemaps.Sitemap):
priority = 0.5
changefreq = 'monthly'
i18n = True
def items(self):
return ['home', 'cgu']
def location(self, item):
return reverse(item)

View File

@ -4,7 +4,7 @@
{% get_current_language as lang %} {% get_current_language as lang %}
<div class="row"> <div class="row">
<div class="col-12 news-card"> <div class="col-12 news-card">
<h2>Conditions générales d'utilisation du site 42CTF</h2> <h1>Conditions générales d'utilisation du site 42CTF</h1>
<h5>Article 1 : Objet</h5> <h5>Article 1 : Objet</h5>

View File

@ -0,0 +1,4 @@
Wie Sie es vielleicht schon wissen, braucht man um CTF Herausforderungen zu lösen viele Werkzeuge und es ist manchmal schwierig zu wissen welche benötigt werden.</br>
Wir haben eine VM erstellt, mit vorinstallierten Werkzeugen, damit Sie sich auf das wesentliche konzentrieren können: Flaggen!</br>
Alles was Sie tun müssen ist diese <b><a href="/media/xubuntu-42ctf.ova">OVA</a></b> herunterzuladen und auf <b><a href="https://www.virtualbox.org/wiki/Downloads">Virtual Box</a></b> zu importieren.<br>
Also, worauf warten Sie?

View File

@ -0,0 +1,7 @@
Haben Sie eine Änderung am Punktestand bemerkt?<br><br>
Keine Panik, alle Ihre Flaggen sind in Sicherheit. Wir haben bloß zu dynamischen Belohnungen gewächselt. Das heißt, dass die Punktzahl der Herausforderungen nicht mehr festgelegt ist: sie sinken nun jedes Mal, dass die Herausforderung gelöst wird.
Belohnungspunkte beginnen bei 200 und können nicht unter 5 fallen.<br><br>
Wir erhoffen, dass dadurch die echte Schwierigkeit der Herausforderungen besser gespiegelt werden kann. Zeitgebundene Ereignisse sind von dieser Änderung nicht beinträchtigt.

View File

@ -0,0 +1,9 @@
Suchen Sie Ihren Seelenverwandten, einen neuen Freund oder bloß einen dezenten CTF-Partner?<br><br>
Wir bei 42CTF haben was Sie brauchen: den <a href="/events/speed_dating_2022">Speed Dating CTF</a>!<br><br>
Kommen Sie alleine oder gut begleitet zu diesem sehr kurzen Wettbewerb, der nur 4 Studen dauern wird.<br>
Für dieses Team-CTF können Sie nur auf einen anderen Spieler zählen.<br>
Sie können entweder Ihren Partner aussuchen oder das Schicksal für sie entscheiden lassen.<br><br>
Viel Glück!

View File

@ -0,0 +1,8 @@
Schon immer lust gehabt etwas über SQL-Einbrüche zu lernen?<br>
<br>
Wir bieten Ihnen drei brandneue Herausvorderungen erstellt von <b><a class=profile_link href=https://www.42ctf.org/accounts/profile/aldubar>aldubar</a></b>:<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_1'>Simple Question of Logic 1</a></b> (10 Punkte)<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_2'>Simple Question of Logic 2</a></b> (30 Punkte)<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_3'>Simple Question of Logic 3</a></b> (40 Punkte)<br>
<br>
Vergessen Sie nicht, dass Sie uns jederzeit auf <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a> erreichen können, um uns neue Herausforderungen vorzuschalgen!

View File

@ -0,0 +1,9 @@
Neues zeitgebundenes Ereignis: <b>Welcome CTF 2021</b>!<br><br>
Datum: vom 10.12.2021 20 Uhr biz zum 12.12.2021 20 Uhr (Pariser Zeit).<br>
Es ist ein CTF um die Studenten die neulich 42 beigetreten haben zu begrüßen.<br>
Es wird nur für die Personen die ihren Kursus <b>nach</b> dem 01.09.2021 begonnen haben zugänglich sein.<br><br>
Ansonsten können Sie trotzdem die auf der Webseite bereits verfügbaren Herausforderungen lösen und versuchen das Top 10 zu erreichen!<br><br>
Registrieren Sie sich <a href=https://forms.42l.fr/apps/forms/SooTbnT4PCs9na7C>hier</a>.

View File

@ -0,0 +1,3 @@
We're pleased to announce that 42CTF source code is now available on a self-hosted gitea <a class="footer_imgs" href="https://gitea.42ctf.org" target="_blank"><img src="/static/img/gitea_logo.png" width="30" alt="Gitea logo"></a><br><br>
If you want to contribute to the platform (development or translation), you can send us a message on <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30" alt="Discord logo"></a> or simply fill this <a href="https://forms.42l.fr/apps/forms/bpmyGR37AR4yHGnC">form</a> and we'll contact you !

View File

@ -5,4 +5,4 @@ We offer you three brand new challenges created by <b><a class=profile_link href
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_2'>Simple Question of Logic 2</a></b> (30 points)<br> - <b><a href='https://www.42ctf.org/ctfs/web/simple_question_2'>Simple Question of Logic 2</a></b> (30 points)<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_3'>Simple Question of Logic 3</a></b> (40 points)<br> - <b><a href='https://www.42ctf.org/ctfs/web/simple_question_3'>Simple Question of Logic 3</a></b> (40 points)<br>
<br> <br>
Don't forget that you can always reach out on <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a> to propose new challenges ! Don't forget that you can always reach out on <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30" alt="Discord logo"></a> to propose new challenges !

View File

@ -0,0 +1,3 @@
Nous sommes heureux de vous annoncer que le code source de 42CTF est désormais disponible sur un <a class="footer_imgs" href="https://gitea.42ctf.org" target="_blank"><img src="/static/img/gitea_logo.png" width="30" alt="Logo Gitea"></a> auto-hébergé.<br><br>
Si vous voulez contribuer a la plateforme (développement ou traduction), vous pouvez nous envoyer un message sur <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30" alt="Logo Discord"></a> ou simplement remplir ce <a href="https://forms.42l.fr/apps/forms/bpmyGR37AR4yHGnC">formulaire</a> et nous vous contacterons !

View File

@ -5,4 +5,4 @@ On vous propose trois nouveaux challenges créés par <b><a class=profile_link
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_2'>Simple Question of Logic 2</a></b> (30 points)<br> - <b><a href='https://www.42ctf.org/ctfs/web/simple_question_2'>Simple Question of Logic 2</a></b> (30 points)<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_3'>Simple Question of Logic 3</a></b> (40 points)<br> - <b><a href='https://www.42ctf.org/ctfs/web/simple_question_3'>Simple Question of Logic 3</a></b> (40 points)<br>
<br> <br>
N'oubliez pas que vous pouvez toujours nous contacter sur <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a> pour proposer des nouveaux challenges ! N'oubliez pas que vous pouvez toujours nous contacter sur <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30" alt="Logo Discord"></a> pour proposer des nouveaux challenges !

View File

@ -0,0 +1,4 @@
すでにお気づきかもしれませんが、CTFの課題を解くには多くのツールが必要で、どれをインストールすれば良いのかがわかりにくいかもしれません。</br>
私たちは、あなたが本当に重要なことに集中できるように、42CTFの課題に必要な全てのツールを備えたVMを作成しました。重要なのはフラグです</br>
この<b><a href="/media/xubuntu-42ctf.ova">OVA</a></b>をダウンロードし、<b><a href="https://www.virtualbox.org/wiki/Downloads">Virtual Box</a></b>にインポートするだけです。<br>
さて、何をためらっているのですか?

View File

@ -0,0 +1,7 @@
42CTFのスコアボードにちょっとした変化があったことにお気づきですか<br><br>
慌てないでください、 あなたのフラグはすべて無事です。 動的スコアリングに切り替えただけです。 それはチャレンジポイントがもう固定ではないことを意味します。解決するたびに減少します。<br>
チャレンジポイントは200から始まり、5より低くなることはありません。<br><br>
これにより、課題の実際の難易度をより良く反映できるようになると期待しています。期間限定イベントは、この変更の影響は受けません。

View File

@ -0,0 +1,3 @@
42CTFのソースコードがセルフホストのgitea <a class="footer_imgs" href="https://gitea.42ctf.org" target="_blank"><img src="/static/img/gitea_logo.png" width="30"></a> で公開されたことをお知らせします。<br><br>
プラットフォームへの貢献(開発や翻訳)をしていただける方は、 <a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a> にメッセージをお送りいただくか、こちらの <a href="https://forms.42l.fr/apps/forms/bpmyGR37AR4yHGnC">フォーム</a> にご記入いただければご連絡いたします!

View File

@ -0,0 +1,9 @@
ソウルメイト、新しい友達、またはちょうど良いCTFの仲間を探していますか<br><br>
私たち42CTFは、あなたが求めているものを持っています。それは<a href="/events/speed_dating_2022">Speed Dating CTF</a>です!<br><br>
4時間という短い時間ですが、お一人でも、お仲間とご一緒でも、ぜひご参加ください。<br>
このチーム戦CTFでは、自分以外の一人のプレーヤーのみ頼ることができます。<br>
相手を選ぶもよし、運命に身を任せるもよし。<br><br>
幸運を祈ります!

View File

@ -0,0 +1,8 @@
SQLインジェクションについて学びたいと思ったことはありませんか<br>
<br>
<b><a class=profile_link href=https://www.42ctf.org/accounts/profile/aldubar>aldubar</a></b>が作成した全く新しい3つの課題を提供します。<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_1'>Simple Question of Logic 1</a></b> (10 points)<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_2'>Simple Question of Logic 2</a></b> (30 points)<br>
- <b><a href='https://www.42ctf.org/ctfs/web/simple_question_3'>Simple Question of Logic 3</a></b> (40 points)<br>
<br>
新しい課題を提案するために、<a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a>へいつでも連絡できることを忘れないでください!

View File

@ -0,0 +1,9 @@
期間限定の新イベント:<b>Welcome CTF 2021</b><br><br>
日程2021年12月10日20時2021年12月12日20時パリ時間<br>
42に入学する新入生を歓迎するためのCTFです。<br>
2021年9月1日<b>以降</b>にカーサスを開始した方のみアクセス可能です。<br><br>
それ以外の方は、ウェブサイト上で公開されている課題を解いて、トップ10入りを目指してください<br><br>
登録は<a href=https://forms.42l.fr/apps/forms/SooTbnT4PCs9na7C>こちら</a>

View File

@ -1,7 +1,14 @@
from django.contrib.sitemaps.views import sitemap
from django.urls import path from django.urls import path
from .sitemaps import StaticViewSitemap
from . import views from . import views
sitemaps = {
'static': StaticViewSitemap(),
}
urlpatterns = [ urlpatterns = [
path('', views.home, name='home'), path('', views.home, name='home'),
path('CGU', views.cgu, name='cgu'), path('CGU', views.cgu, name='cgu'),
path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap'),
] ]

View File

@ -9,12 +9,15 @@ from django.utils.translation import (
LANGUAGE_SESSION_KEY, check_for_language, get_language, LANGUAGE_SESSION_KEY, check_for_language, get_language,
) )
from django.core.files.storage import default_storage from django.core.files.storage import default_storage
import datetime
# import datetime
from django.utils import timezone
from collections import defaultdict from collections import defaultdict
import operator import operator
def get_weekly_top(): def get_weekly_top():
week_ago = datetime.datetime.now() - datetime.timedelta(days=7) week_ago = timezone.now() - timezone.timedelta(days=7)
weekly_flags = CTF_flags.objects.filter(flag_date__gt=week_ago, ctf__disabled=False, ctf__event=None) weekly_flags = CTF_flags.objects.filter(flag_date__gt=week_ago, ctf__disabled=False, ctf__event=None)
scores = defaultdict(int) scores = defaultdict(int)
@ -32,7 +35,6 @@ def home(request):
lang_code = request.session[LANGUAGE_SESSION_KEY] lang_code = request.session[LANGUAGE_SESSION_KEY]
url_translated = translate_url(request.path, lang_code) url_translated = translate_url(request.path, lang_code)
if request.path != url_translated: if request.path != url_translated:
print("%s\n%s" % (request.path, url_translated))
response = HttpResponseRedirect(url_translated) response = HttpResponseRedirect(url_translated)
return response return response
news = new.objects.order_by('-pub_date')[:5] news = new.objects.order_by('-pub_date')[:5]

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,583 +18,653 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: accounts/templates/accounts/delete.html:8 #: src/accounts/templates/accounts/delete.html:8
msgid "Delete account" msgid "Delete account"
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:11 #: src/accounts/templates/accounts/delete.html:11
msgid "Please confirm your password to delete your account." msgid "Please confirm your password to delete your account."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:12 #: src/accounts/templates/accounts/delete.html:12
msgid "Deleted accounts cannot be recovered." msgid "Deleted accounts cannot be recovered."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:15 #: src/accounts/templates/accounts/delete.html:15
msgid "Password inccorect." msgid "Password incorrect."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:17 #: src/accounts/templates/accounts/delete.html:17
msgid "Your account has been deleted." msgid "Your account has been deleted."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:22 #: src/accounts/templates/accounts/delete.html:22
#: accounts/templates/accounts/login.html:19 #: src/accounts/templates/accounts/login.html:19
#: accounts/templates/accounts/register.html:23 #: src/accounts/templates/accounts/register.html:23
#: events/templates/events/create_team.html:27 #: src/events/templates/events/create_team.html:27
#: events/templates/events/join_team.html:32 #: src/events/templates/events/join_team.html:32
msgid "Password" msgid "Password"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:21 #: src/accounts/templates/accounts/edit.html:21
#: accounts/templates/accounts/login.html:18 #: src/accounts/templates/accounts/login.html:18
#: accounts/templates/accounts/register.html:22 #: src/accounts/templates/accounts/register.html:22
#: ctfs/templates/ctfs/ctf_info.html:61 ctfs/templates/ctfs/ctfs_list.html:12 #: src/ctfs/templates/ctfs/ctf_info.html:63
#: events/templates/events/ctf_info.html:71 #: src/ctfs/templates/ctfs/ctfs_list.html:12
#: events/templates/events/event_info.html:64 #: src/events/templates/events/ctf_info.html:65
#: scoreboard/templates/scoreboard/scoreboard.html:13 #: src/events/templates/events/event_info.html:64
#: src/scoreboard/templates/scoreboard/scoreboard.html:13
msgid "Username" msgid "Username"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:25 #: src/accounts/templates/accounts/edit.html:25
msgid "Email" msgid "Email"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:30 #: src/accounts/templates/accounts/edit.html:30
#: ctfs/templates/ctfs/ctf_info.html:62 #: src/ctfs/templates/ctfs/ctf_info.html:64
#: events/templates/events/ctf_info.html:72 #: src/events/templates/events/ctf_info.html:66
#: events/templates/events/event_info.html:65 #: src/events/templates/events/event_info.html:65
#: scoreboard/templates/scoreboard/scoreboard.html:14 #: src/scoreboard/templates/scoreboard/scoreboard.html:14
msgid "Website" msgid "Website"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:36 #: src/accounts/templates/accounts/edit.html:36
#: events/templates/events/manage_team.html:29 msgid " Apply"
msgid "Apply"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:47 #: src/accounts/templates/accounts/edit.html:45
#: accounts/templates/accounts/profile.html:46 msgid "Connected accounts"
#: ctfs/templates/ctfs/ctf_info.html:63 ctfs/templates/ctfs/ctfs_list.html:13 msgstr ""
#: events/templates/events/event_info.html:66
#: events/templates/events/event_info.html:89 #: src/accounts/templates/accounts/edit.html:53
#: events/templates/events/manage_team.html:40 msgid "Disconnect Discord"
#: events/templates/events/team.html:45 msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:15
#: src/accounts/templates/accounts/edit.html:59
msgid "Connect Discord"
msgstr ""
#: src/accounts/templates/accounts/edit.html:68
msgid "Disconnect 42"
msgstr ""
#: src/accounts/templates/accounts/edit.html:74
#: src/events/templates/events/event_pwd.html:19
msgid "Connect 42"
msgstr ""
#: src/accounts/templates/accounts/edit.html:85
#: src/accounts/templates/accounts/profile.html:46
#: src/ctfs/templates/ctfs/ctf_info.html:65
#: src/ctfs/templates/ctfs/ctfs_list.html:13
#: src/events/templates/events/event_info.html:66
#: src/events/templates/events/event_info.html:89
#: src/events/templates/events/manage_team.html:40
#: src/events/templates/events/team.html:45
#: src/scoreboard/templates/scoreboard/scoreboard.html:16
msgid "Score" msgid "Score"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:55 #: src/accounts/templates/accounts/edit.html:93
#: accounts/templates/accounts/profile.html:60 #: src/accounts/templates/accounts/profile.html:60
msgid "Registered since" msgid "Registered since"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:61 #: src/accounts/templates/accounts/edit.html:99
msgid "Delete my account" msgid " Delete my account"
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:13 #: src/accounts/templates/accounts/login.html:13
msgid "Please, verify your infos." msgid "Please, verify your infos."
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:22 #: src/accounts/templates/accounts/login.html:22
msgid "Reset password" msgid "Reset password"
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:31 #: src/accounts/templates/accounts/login.html:31
#: accounts/templates/accounts/register.html:38 templates/base.html:97 #: src/accounts/templates/accounts/register.html:37 src/templates/base.html:97
#: templates/registration/password_reset_complete.html:18 #: src/templates/registration/password_reset_complete.html:18
#: templates/registration/password_reset_confirm.html:38 #: src/templates/registration/password_reset_confirm.html:38
#: templates/registration/password_reset_done.html:18 #: src/templates/registration/password_reset_done.html:18
#: templates/registration/password_reset_form.html:26 #: src/templates/registration/password_reset_form.html:26
msgid "Login" msgid "Login"
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:32 #: src/accounts/templates/accounts/login.html:32
#: accounts/templates/accounts/register.html:37 #: src/accounts/templates/accounts/register.html:36
#: templates/registration/password_reset_complete.html:19 #: src/templates/registration/password_reset_complete.html:19
#: templates/registration/password_reset_confirm.html:39 #: src/templates/registration/password_reset_confirm.html:39
#: templates/registration/password_reset_done.html:19 #: src/templates/registration/password_reset_done.html:19
#: templates/registration/password_reset_form.html:27 #: src/templates/registration/password_reset_form.html:27
msgid "Sign up" msgid "Sign up"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:10 #: src/accounts/templates/accounts/profile.html:10
msgid "Challenges Solved by" msgid "Challenges Solved by"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:21 #: src/accounts/templates/accounts/profile.html:21
#: events/templates/events/team.html:20 #: src/events/templates/events/team.html:20
msgid "Challenge Name" msgid "Challenge Name"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:22 #: src/accounts/templates/accounts/profile.html:22
#: events/templates/events/team.html:21 #: src/events/templates/events/team.html:21
msgid "Category" msgid "Category"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:23 #: src/accounts/templates/accounts/profile.html:23
#: events/templates/events/team.html:22 #: src/events/templates/events/team.html:22
msgid "Points" msgid "Points"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:24 #: src/accounts/templates/accounts/profile.html:24
#: ctfs/templates/ctfs/ctf_info.html:64 #: src/ctfs/templates/ctfs/ctf_info.html:66
#: events/templates/events/ctf_info.html:73 #: src/events/templates/events/ctf_info.html:67
#: events/templates/events/team.html:23 #: src/events/templates/events/team.html:23
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:39 #: src/accounts/templates/accounts/profile.html:39
msgid "It seems that this user has not solved any challenge yet..." msgid "It seems that this user has not solved any challenge yet..."
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:47 #: src/accounts/templates/accounts/profile.html:47
#: events/templates/events/event_info.html:63 #: src/events/templates/events/event_info.html:63
#: events/templates/events/event_info.html:87 #: src/events/templates/events/event_info.html:87
#: events/templates/events/manage_team.html:41 #: src/events/templates/events/manage_team.html:41
#: events/templates/events/team.html:46 #: src/events/templates/events/team.html:46
#: scoreboard/templates/scoreboard/scoreboard.html:12 #: src/scoreboard/templates/scoreboard/scoreboard.html:12
msgid "Rank" msgid "Rank"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:56 #: src/accounts/templates/accounts/profile.html:56
msgid "Status: Member" msgid "Member"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:58 #: src/accounts/templates/accounts/profile.html:58
msgid "Status: Visitor" msgid " Visitor"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:64 #: src/accounts/templates/accounts/profile.html:64
#: events/templates/events/team.html:57 #: src/events/templates/events/team.html:57
msgid "Categories stats" msgid "Categories stats"
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:13 #: src/accounts/templates/accounts/profile.html:81
msgid "Challenges created"
msgstr ""
#: src/accounts/templates/accounts/profile.html:87
msgid "It seems that this user has not created any challenge yet..."
msgstr ""
#: src/accounts/templates/accounts/register.html:13
msgid "Welcome !" msgid "Welcome !"
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:14 #: src/accounts/templates/accounts/register.html:14
msgid "Your account has been created." msgid "Your account has been created."
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:25 #: src/accounts/templates/accounts/register.html:25
msgid "Personal website" msgid "Personal website"
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:26 #: src/accounts/templates/accounts/register.html:26
#: events/templates/events/event_info.html:119 #: src/events/templates/events/event_info.html:119
msgid "Register" msgid "Register"
msgstr "" msgstr ""
#: accounts/views/views.py:33 #: src/accounts/views/views.py:33
msgid "Your account was inactive." msgid "Your account was inactive."
msgstr "" msgstr ""
#: accounts/views/views.py:52 #: src/accounts/views/views.py:57
msgid "The password must be at least 8 characters long."
msgstr ""
#: src/accounts/views/views.py:67
msgid "" msgid ""
"The password must contain at least one letter and at least one digit or " "The password must contain at least one letter and at least one digit or "
"punctuation character." "punctuation character."
msgstr "" msgstr ""
#: accounts/views/views.py:54 #: src/accounts/views/views.py:77
msgid "A user with that email already exists." msgid "A user with that email already exists."
msgstr "" msgstr ""
#: accounts/views/views.py:67 #: src/accounts/views/views.py:99
msgid "A user with that username already exists." msgid "A user with that username already exists."
msgstr "" msgstr ""
#: accounts/views/views.py:95 #: src/accounts/views/views.py:132
msgid "Email already taken." msgid "Email already taken."
msgstr "" msgstr ""
#: accounts/views/views.py:101 #: src/accounts/views/views.py:138
msgid "Username already taken." msgid "Username already taken."
msgstr "" msgstr ""
#: accounts/views/views.py:105 events/views/teams.py:124 #: src/accounts/views/views.py:142 src/events/views/teams.py:124
msgid "Updated." msgid "Updated."
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:10 #: src/ctfs/templates/ctfs/ctf_info.html:12
#: events/templates/events/ctf_info.html:12 #: src/events/templates/events/ctf_info.html:12
msgid "Published date" msgid "Published date"
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:14 #: src/ctfs/templates/ctfs/ctf_info.html:16
msgid "Challenge is not yet available." msgid "Challenge is not yet available."
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:21 #: src/ctfs/templates/ctfs/ctf_info.html:29
#: events/templates/events/ctf_info.html:18 home/templates/home/home.html:46 #: src/events/templates/events/ctf_info.html:24
msgid "Congratulation !"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:31
#: src/events/templates/events/ctf_info.html:26
msgid "Already flagged"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:33
#: src/ctfs/templates/ctfs/ctf_info.html:42
#: src/events/templates/events/ctf_info.html:36
#: src/events/templates/events/ctf_info.html:45
msgid "Start the challenge"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:35
#: src/ctfs/templates/ctfs/ctf_info.html:44
#: src/events/templates/events/ctf_info.html:38
#: src/events/templates/events/ctf_info.html:47
msgid "Download"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:39
#: src/events/templates/events/ctf_info.html:42
msgid "Wrong flag ! You can do it !"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:58
#: src/events/templates/events/ctf_info.html:60
msgid "Solved by"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:82
#: src/events/templates/events/ctf_info.html:90
msgid "Nobody has solved this challenge yet."
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:89
#: src/events/templates/events/ctf_info.html:97
msgid "Author"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:90
#: src/events/templates/events/ctf_info.html:98
msgid "Point reward"
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:14
msgid "Solved"
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:37
msgid "No ctf available for this category."
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:42
msgid "Categories"
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:48 src/templates/base.html:56
msgid "No category available."
msgstr ""
#: src/events/templates/events/create_team.html:10
#: src/events/templates/events/join_team.html:10
msgid "This event starts at"
msgstr ""
#: src/events/templates/events/create_team.html:17
#: src/events/templates/events/join_team.html:17
msgid "You need to be registered to the event."
msgstr ""
#: src/events/templates/events/create_team.html:20
#: src/events/views/teams.py:120
msgid "Name already taken."
msgstr ""
#: src/events/templates/events/create_team.html:26
#: src/events/templates/events/join_team.html:31
#: src/events/templates/events/manage_team.html:22
msgid "Team name"
msgstr ""
#: src/events/templates/events/create_team.html:28
#: src/events/templates/events/create_team.html:49
#: src/events/templates/events/join_team.html:54
msgid "Create Team"
msgstr ""
#: src/events/templates/events/create_team.html:33
#: src/events/templates/events/event_pwd.html:44
#: src/events/templates/events/join_team.html:38
msgid "You need to be logged to access this event."
msgstr ""
#: src/events/templates/events/create_team.html:42
#: src/events/templates/events/event_info.html:113
#: src/events/templates/events/event_pwd.html:52
#: src/events/templates/events/join_team.html:47
msgid "Starts at"
msgstr ""
#: src/events/templates/events/create_team.html:43
#: src/events/templates/events/event_info.html:114
#: src/events/templates/events/event_pwd.html:53
#: src/events/templates/events/join_team.html:48
msgid "Ends at"
msgstr ""
#: src/events/templates/events/create_team.html:47
#: src/events/templates/events/event_info.html:129
#: src/events/templates/events/join_team.html:52
msgid "Manage my team"
msgstr ""
#: src/events/templates/events/create_team.html:48
#: src/events/templates/events/join_team.html:33
#: src/events/templates/events/join_team.html:53
msgid "Join Team"
msgstr ""
#: src/events/templates/events/create_team.html:53
#: src/events/templates/events/join_team.html:58
msgid "Auto-matching"
msgstr ""
#: src/events/templates/events/create_team.html:57
#: src/events/templates/events/join_team.html:62
msgid "Find me a team !"
msgstr ""
#: src/events/templates/events/ctf_info.html:10
msgid "Event"
msgstr ""
#: src/events/templates/events/ctf_info.html:18
msgid "" msgid ""
"No translation available. Please try another language (English or French)." "No translation available. Please try another language (English or French)."
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:27 #: src/events/templates/events/ctf_info.html:28
#: events/templates/events/ctf_info.html:32 #: src/events/templates/events/event_info.html:18
msgid "Congratulation !"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:29
#: events/templates/events/ctf_info.html:34
msgid "Already flagged"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:31 ctfs/templates/ctfs/ctf_info.html:40
#: events/templates/events/ctf_info.html:42
#: events/templates/events/ctf_info.html:51
msgid "Start the challenge"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:33 ctfs/templates/ctfs/ctf_info.html:42
#: events/templates/events/ctf_info.html:44
#: events/templates/events/ctf_info.html:53
msgid "Download"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:37
#: events/templates/events/ctf_info.html:48
msgid "Wrong flag ! You can do it !"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:56
#: events/templates/events/ctf_info.html:66
msgid "Solved by"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:80
#: events/templates/events/ctf_info.html:96
msgid "Nobody has solved this challenge yet."
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:87
#: events/templates/events/ctf_info.html:103
msgid "Author"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:88
#: events/templates/events/ctf_info.html:104
msgid "Point reward"
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:14
msgid "Solved"
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:37
msgid "No ctf available for this category."
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:42
msgid "Categories"
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:48 templates/base.html:54
msgid "No category available."
msgstr ""
#: events/templates/events/create_team.html:10
#: events/templates/events/join_team.html:10
msgid "This event starts at"
msgstr ""
#: events/templates/events/create_team.html:17
#: events/templates/events/join_team.html:17
msgid "You need to be registered to the event."
msgstr ""
#: events/templates/events/create_team.html:20 events/views/teams.py:120
msgid "Name already taken."
msgstr ""
#: events/templates/events/create_team.html:26
#: events/templates/events/join_team.html:31
#: events/templates/events/manage_team.html:22
msgid "Team name"
msgstr ""
#: events/templates/events/create_team.html:28
#: events/templates/events/create_team.html:49
#: events/templates/events/join_team.html:54
msgid "Create Team"
msgstr ""
#: events/templates/events/create_team.html:33
#: events/templates/events/event_pwd.html:28
#: events/templates/events/join_team.html:38
msgid "You need to be logged to access this event."
msgstr ""
#: events/templates/events/create_team.html:42
#: events/templates/events/event_info.html:113
#: events/templates/events/event_pwd.html:36
#: events/templates/events/join_team.html:47
msgid "Starts at"
msgstr ""
#: events/templates/events/create_team.html:43
#: events/templates/events/event_info.html:114
#: events/templates/events/event_pwd.html:37
#: events/templates/events/join_team.html:48
msgid "Ends at"
msgstr ""
#: events/templates/events/create_team.html:47
#: events/templates/events/event_info.html:129
#: events/templates/events/join_team.html:52
msgid "Manage my team"
msgstr ""
#: events/templates/events/create_team.html:48
#: events/templates/events/join_team.html:33
#: events/templates/events/join_team.html:53
msgid "Join Team"
msgstr ""
#: events/templates/events/create_team.html:53
#: events/templates/events/join_team.html:58
msgid "Auto-matching"
msgstr ""
#: events/templates/events/create_team.html:57
#: events/templates/events/join_team.html:62
msgid "Find me a team !"
msgstr ""
#: events/templates/events/ctf_info.html:10
msgid "Event"
msgstr ""
#: events/templates/events/ctf_info.html:25
#: events/templates/events/event_info.html:9
msgid "Subscriptions is over."
msgstr ""
#: events/templates/events/ctf_info.html:28
#: events/templates/events/event_info.html:12
#: events/templates/events/event_pwd.html:18
msgid "You're already registered to this event."
msgstr ""
#: events/templates/events/ctf_info.html:36
#: events/templates/events/event_info.html:18
msgid "This event is over." msgid "This event is over."
msgstr "" msgstr ""
#: events/templates/events/ctf_info.html:38 #: src/events/templates/events/ctf_info.html:30
msgid "Error while processing your request. (Invalid Form)" msgid "Error while processing your request. (Invalid Form)"
msgstr "" msgstr ""
#: events/templates/events/ctf_info.html:40 #: src/events/templates/events/ctf_info.html:32
msgid "" msgid "You must register to the event before submitting flags."
"Error: you're not registered to this event, so you can't register scores, "
"fucking logic."
msgstr "" msgstr ""
#: events/templates/events/event_info.html:20 #: src/events/templates/events/ctf_info.html:34
#: events/templates/events/event_pwd.html:9 msgid ""
"This is a team event, please create or join a team before submitting flags."
msgstr ""
#: src/events/templates/events/event_info.html:9
msgid "Subscriptions is over."
msgstr ""
#: src/events/templates/events/event_info.html:12
#: src/events/templates/events/event_pwd.html:33
msgid "You're already registered to this event."
msgstr ""
#: src/events/templates/events/event_info.html:20
#: src/events/templates/events/event_pwd.html:9
msgid "This event start at" msgid "This event start at"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:30 #: src/events/templates/events/event_info.html:30
msgid "Challenges" msgid "Challenges"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:47 #: src/events/templates/events/event_info.html:47
msgid "No challenges available." msgid "No challenges available."
msgstr "" msgstr ""
#: events/templates/events/event_info.html:51 #: src/events/templates/events/event_info.html:51
msgid "The event has not started yet." msgid "The event has not started yet."
msgstr "" msgstr ""
#: events/templates/events/event_info.html:57 #: src/events/templates/events/event_info.html:57
msgid "ScoreBoard" msgid "ScoreBoard"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:88 #: src/events/templates/events/event_info.html:88
msgid "Team" msgid "Team"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:106 #: src/events/templates/events/event_info.html:106
msgid "No one have earn point yet, you gonna be the first ?" msgid "No one have earn point yet, you gonna be the first ?"
msgstr "" msgstr ""
#: events/templates/events/event_pwd.html:15 #: src/events/templates/events/event_pwd.html:16
#: events/templates/events/join_team.html:22 msgid ""
"This event is reserved for one or more 42 campuses. If you have not "
"connected your intranet to 42CTF, you can do so with this button: "
msgstr ""
#: src/events/templates/events/event_pwd.html:25
msgid ""
"This event is reserved for one or more 42 campuses. And unfortunately your "
"campus can't participate. Do not hesitate to contact us to organize an event "
"on your campus!"
msgstr ""
#: src/events/templates/events/event_pwd.html:30
#: src/events/templates/events/join_team.html:22
msgid "Wrong password submited." msgid "Wrong password submited."
msgstr "" msgstr ""
#: events/templates/events/event_pwd.html:20 #: src/events/templates/events/event_pwd.html:35
msgid "This event is password protected" msgid "This event is password protected"
msgstr "" msgstr ""
#: events/templates/events/event_pwd.html:21 #: src/events/templates/events/event_pwd.html:36
msgid "You need to submit the event password to gain access to this event." msgid "You need to submit the event password to gain access to this event."
msgstr "" msgstr ""
#: events/templates/events/events_list.html:6 templates/base.html:61 #: src/events/templates/events/events_list.html:6 src/templates/base.html:65
msgid "Events" msgid "Events"
msgstr "" msgstr ""
#: events/templates/events/events_list.html:38 #: src/events/templates/events/events_list.html:38
msgid "See more" msgid "See more"
msgstr "" msgstr ""
#: events/templates/events/events_list.html:44 #: src/events/templates/events/events_list.html:44
msgid "No events available." msgid "No events available."
msgstr "" msgstr ""
#: events/templates/events/join_team.html:20 #: src/events/templates/events/join_team.html:20
msgid "Team does not exist." msgid "Team does not exist."
msgstr "" msgstr ""
#: events/templates/events/join_team.html:24 #: src/events/templates/events/join_team.html:24
msgid "Maximum size reached." msgid "Maximum size reached."
msgstr "" msgstr ""
#: events/templates/events/manage_team.html:26 #: src/events/templates/events/manage_team.html:26
msgid "Team password" msgid "Team password"
msgstr "" msgstr ""
#: events/templates/events/manage_team.html:44 #: src/events/templates/events/manage_team.html:29
#: events/templates/events/team.html:49 msgid "Apply"
msgstr ""
#: src/events/templates/events/manage_team.html:44
#: src/events/templates/events/team.html:49
msgid "Members" msgid "Members"
msgstr "" msgstr ""
#: events/templates/events/manage_team.html:51 #: src/events/templates/events/manage_team.html:52
msgid "Leave Team" msgid "Leave Team"
msgstr "" msgstr ""
#: events/templates/events/team.html:38 #: src/events/templates/events/manage_team.html:59
msgid "Open to automatching"
msgstr ""
#: src/events/templates/events/manage_team.html:66
msgid "Close to automatching"
msgstr ""
#: src/events/templates/events/team.html:38
msgid "It seems that this team has not solved any challenge yet..." msgid "It seems that this team has not solved any challenge yet..."
msgstr "" msgstr ""
#: home/templates/home/home.html:20 #: src/home/templates/home/home.html:21
msgid "Weekly Top 5" msgid "Weekly Top 5"
msgstr "" msgstr ""
#: home/templates/home/home.html:56 #: src/home/templates/home/home.html:48
msgid "No article available." msgid "No article available."
msgstr "" msgstr ""
#: home/templates/home/home.html:61 #: src/home/templates/home/home.html:53
msgid "Latest challenges added" msgid "Latest challenges added"
msgstr "" msgstr ""
#: home/templates/home/home.html:66 #: src/home/templates/home/home.html:58
msgid "points" msgid "points"
msgstr "" msgstr ""
#: home/templates/home/home.html:70 #: src/home/templates/home/home.html:62
msgid "No ctf available." msgid "No ctf available."
msgstr "" msgstr ""
#: home/templates/home/home.html:74 #: src/home/templates/home/home.html:66
msgid "Latest Flags" msgid "Latest Flags"
msgstr "" msgstr ""
#: home/templates/home/home.html:88 #: src/home/templates/home/home.html:80
msgid "Flags" msgid "Flags"
msgstr "" msgstr ""
#: home/templates/home/home.html:94 #: src/home/templates/home/home.html:86
msgid "Users" msgid "Users"
msgstr "" msgstr ""
#: project/settings.py:115 #: src/project/settings.py:116
msgid "English" msgid "English"
msgstr "" msgstr ""
#: project/settings.py:116 #: src/project/settings.py:117
msgid "German" msgid "German"
msgstr "" msgstr ""
#: project/settings.py:117 #: src/project/settings.py:118
msgid "French" msgid "French"
msgstr "" msgstr ""
#: project/settings.py:118 #: src/project/settings.py:119
msgid "Russian" msgid "Russian"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:38 #: src/project/settings.py:120
msgid "Japanese"
msgstr ""
#: src/project/settings.py:121
msgid "Spanish"
msgstr ""
#: src/scoreboard/templates/scoreboard/scoreboard.html:15
msgid "Campus"
msgstr ""
#: src/scoreboard/templates/scoreboard/scoreboard.html:46
msgid "First" msgid "First"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:39 #: src/scoreboard/templates/scoreboard/scoreboard.html:47
msgid "Previous" msgid "Previous"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:43 #: src/scoreboard/templates/scoreboard/scoreboard.html:51
msgid "Page " msgid "Page "
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:47 #: src/scoreboard/templates/scoreboard/scoreboard.html:55
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:48 #: src/scoreboard/templates/scoreboard/scoreboard.html:56
msgid "Last" msgid "Last"
msgstr "" msgstr ""
#: templates/base.html:59 #: src/templates/base.html:62
msgid "Scoreboard" msgid "Scoreboard"
msgstr "" msgstr ""
#: templates/base.html:64 #: src/templates/base.html:83
msgid "Resources" msgid "Become a member"
msgstr "" msgstr ""
#: templates/base.html:93 #: src/templates/base.html:93
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
#: templates/base.html:100 #: src/templates/base.html:100
msgid "Sign Up" msgid "Sign Up"
msgstr "" msgstr ""
#: templates/base.html:135 #: src/templates/registration/password_reset_complete.html:11
msgid "Become a Patron!"
msgstr ""
#: templates/registration/password_reset_complete.html:11
msgid "Your new password has been set." msgid "Your new password has been set."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:20 #: src/templates/registration/password_reset_confirm.html:20
msgid "Your password cant be too similar to your other personal information." msgid "Your password cant be too similar to your other personal information."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:21 #: src/templates/registration/password_reset_confirm.html:21
msgid "Your password must contain at least 8 characters." msgid "Your password must contain at least 8 characters."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:22 #: src/templates/registration/password_reset_confirm.html:22
msgid "Your password cant be a commonly used password." msgid "Your password cant be a commonly used password."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:23 #: src/templates/registration/password_reset_confirm.html:23
msgid "Your password cant be entirely numeric." msgid "Your password cant be entirely numeric."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:26 #: src/templates/registration/password_reset_confirm.html:26
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:28 #: src/templates/registration/password_reset_confirm.html:28
msgid "Submit" msgid "Submit"
msgstr "" msgstr ""
#: templates/registration/password_reset_done.html:11 #: src/templates/registration/password_reset_done.html:11
msgid "" msgid ""
"We've emailed you instructions for setting your password. You should receive " "We've emailed you instructions for setting your password. You should receive "
"the email shortly!" "the email shortly!"
msgstr "" msgstr ""
#: templates/registration/password_reset_form.html:16 #: src/templates/registration/password_reset_form.html:16
msgid "Reset" msgid "Reset"
msgstr "" msgstr ""

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,189 +18,241 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: accounts/templates/accounts/delete.html:8 #: src/accounts/templates/accounts/delete.html:8
#, fuzzy #, fuzzy
#| msgid "Connected accounts" #| msgid "Connected accounts"
msgid "Delete account" msgid "Delete account"
msgstr "Comptes connectés" msgstr "Comptes connectés"
#: accounts/templates/accounts/delete.html:11 #: src/accounts/templates/accounts/delete.html:11
msgid "Please confirm your password to delete your account." msgid "Please confirm your password to delete your account."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:12 #: src/accounts/templates/accounts/delete.html:12
msgid "Deleted accounts cannot be recovered." msgid "Deleted accounts cannot be recovered."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:15 #: src/accounts/templates/accounts/delete.html:15
msgid "Password inccorect." msgid "Password incorrect."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:17 #: src/accounts/templates/accounts/delete.html:17
#, fuzzy #, fuzzy
#| msgid "Your account has been created." #| msgid "Your account has been created."
msgid "Your account has been deleted." msgid "Your account has been deleted."
msgstr "Votre compte a été créé." msgstr "Votre compte a été créé."
#: accounts/templates/accounts/delete.html:22 #: src/accounts/templates/accounts/delete.html:22
#: accounts/templates/accounts/login.html:19 #: src/accounts/templates/accounts/login.html:19
#: accounts/templates/accounts/register.html:23 #: src/accounts/templates/accounts/register.html:23
#: events/templates/events/create_team.html:27 #: src/events/templates/events/create_team.html:27
#: events/templates/events/join_team.html:32 #: src/events/templates/events/join_team.html:32
msgid "Password" msgid "Password"
msgstr "Mot de passe" msgstr "Mot de passe"
#: accounts/templates/accounts/edit.html:21 #: src/accounts/templates/accounts/edit.html:21
#: accounts/templates/accounts/login.html:18 #: src/accounts/templates/accounts/login.html:18
#: accounts/templates/accounts/register.html:22 #: src/accounts/templates/accounts/register.html:22
#: ctfs/templates/ctfs/ctf_info.html:61 ctfs/templates/ctfs/ctfs_list.html:12 #: src/ctfs/templates/ctfs/ctf_info.html:63
#: events/templates/events/ctf_info.html:71 #: src/ctfs/templates/ctfs/ctfs_list.html:12
#: events/templates/events/event_info.html:64 #: src/events/templates/events/ctf_info.html:65
#: scoreboard/templates/scoreboard/scoreboard.html:13 #: src/events/templates/events/event_info.html:64
#: src/scoreboard/templates/scoreboard/scoreboard.html:13
msgid "Username" msgid "Username"
msgstr "Pseudo" msgstr "Pseudo"
#: accounts/templates/accounts/edit.html:25 #: src/accounts/templates/accounts/edit.html:25
msgid "Email" msgid "Email"
msgstr "Email" msgstr "Email"
#: accounts/templates/accounts/edit.html:30 #: src/accounts/templates/accounts/edit.html:30
#: ctfs/templates/ctfs/ctf_info.html:62 #: src/ctfs/templates/ctfs/ctf_info.html:64
#: events/templates/events/ctf_info.html:72 #: src/events/templates/events/ctf_info.html:66
#: events/templates/events/event_info.html:65 #: src/events/templates/events/event_info.html:65
#: scoreboard/templates/scoreboard/scoreboard.html:14 #: src/scoreboard/templates/scoreboard/scoreboard.html:14
msgid "Website" msgid "Website"
msgstr "Site internet" msgstr "Site internet"
#: accounts/templates/accounts/edit.html:36 #: src/accounts/templates/accounts/edit.html:36
#: events/templates/events/manage_team.html:29 #, fuzzy
msgid "Apply" #| msgid "Apply"
msgid " Apply"
msgstr "Appliquer" msgstr "Appliquer"
#: accounts/templates/accounts/edit.html:47 #: src/accounts/templates/accounts/edit.html:45
#: accounts/templates/accounts/profile.html:46 #, fuzzy
#: ctfs/templates/ctfs/ctf_info.html:63 ctfs/templates/ctfs/ctfs_list.html:13 #| msgid "Connected accounts"
#: events/templates/events/event_info.html:66 msgid "Connected accounts"
#: events/templates/events/event_info.html:89 msgstr "Comptes connectés"
#: events/templates/events/manage_team.html:40
#: events/templates/events/team.html:45 #: src/accounts/templates/accounts/edit.html:53
#: scoreboard/templates/scoreboard/scoreboard.html:15 msgid "Disconnect Discord"
msgstr "Déconnecter Discord"
#: src/accounts/templates/accounts/edit.html:59
msgid "Connect Discord"
msgstr "Connecter Discord"
#: src/accounts/templates/accounts/edit.html:68
#, fuzzy
#| msgid "Disconnect Discord"
msgid "Disconnect 42"
msgstr "Déconnecter Discord"
#: src/accounts/templates/accounts/edit.html:74
#: src/events/templates/events/event_pwd.html:19
#, fuzzy
#| msgid "Connect Discord"
msgid "Connect 42"
msgstr "Connecter Discord"
#: src/accounts/templates/accounts/edit.html:85
#: src/accounts/templates/accounts/profile.html:46
#: src/ctfs/templates/ctfs/ctf_info.html:65
#: src/ctfs/templates/ctfs/ctfs_list.html:13
#: src/events/templates/events/event_info.html:66
#: src/events/templates/events/event_info.html:89
#: src/events/templates/events/manage_team.html:40
#: src/events/templates/events/team.html:45
#: src/scoreboard/templates/scoreboard/scoreboard.html:16
msgid "Score" msgid "Score"
msgstr "Score" msgstr "Score"
#: accounts/templates/accounts/edit.html:55 #: src/accounts/templates/accounts/edit.html:93
#: accounts/templates/accounts/profile.html:60 #: src/accounts/templates/accounts/profile.html:60
msgid "Registered since" msgid "Registered since"
msgstr "Inscrit depuis" msgstr "Inscrit depuis"
#: accounts/templates/accounts/edit.html:61 #: src/accounts/templates/accounts/edit.html:99
#, fuzzy #, fuzzy
#| msgid "Connected accounts" #| msgid "Connected accounts"
msgid "Delete my account" msgid " Delete my account"
msgstr "Comptes connectés" msgstr "Comptes connectés"
#: accounts/templates/accounts/login.html:13 #: src/accounts/templates/accounts/login.html:13
msgid "Please, verify your infos." msgid "Please, verify your infos."
msgstr "Merci de vérifier vos informations." msgstr "Merci de vérifier vos informations."
#: accounts/templates/accounts/login.html:22 #: src/accounts/templates/accounts/login.html:22
msgid "Reset password" msgid "Reset password"
msgstr "Réinitialiser le mot de passe" msgstr "Réinitialiser le mot de passe"
#: accounts/templates/accounts/login.html:31 #: src/accounts/templates/accounts/login.html:31
#: accounts/templates/accounts/register.html:38 templates/base.html:97 #: src/accounts/templates/accounts/register.html:37 src/templates/base.html:97
#: templates/registration/password_reset_complete.html:18 #: src/templates/registration/password_reset_complete.html:18
#: templates/registration/password_reset_confirm.html:38 #: src/templates/registration/password_reset_confirm.html:38
#: templates/registration/password_reset_done.html:18 #: src/templates/registration/password_reset_done.html:18
#: templates/registration/password_reset_form.html:26 #: src/templates/registration/password_reset_form.html:26
msgid "Login" msgid "Login"
msgstr "Connexion" msgstr "Connexion"
#: accounts/templates/accounts/login.html:32 #: src/accounts/templates/accounts/login.html:32
#: accounts/templates/accounts/register.html:37 #: src/accounts/templates/accounts/register.html:36
#: templates/registration/password_reset_complete.html:19 #: src/templates/registration/password_reset_complete.html:19
#: templates/registration/password_reset_confirm.html:39 #: src/templates/registration/password_reset_confirm.html:39
#: templates/registration/password_reset_done.html:19 #: src/templates/registration/password_reset_done.html:19
#: templates/registration/password_reset_form.html:27 #: src/templates/registration/password_reset_form.html:27
msgid "Sign up" msgid "Sign up"
msgstr "Inscription" msgstr "Inscription"
#: accounts/templates/accounts/profile.html:10 #: src/accounts/templates/accounts/profile.html:10
msgid "Challenges Solved by" msgid "Challenges Solved by"
msgstr "Challenges résolus par" msgstr "Challenges résolus par"
#: accounts/templates/accounts/profile.html:21 #: src/accounts/templates/accounts/profile.html:21
#: events/templates/events/team.html:20 #: src/events/templates/events/team.html:20
msgid "Challenge Name" msgid "Challenge Name"
msgstr "Nom du challenge" msgstr "Nom du challenge"
#: accounts/templates/accounts/profile.html:22 #: src/accounts/templates/accounts/profile.html:22
#: events/templates/events/team.html:21 #: src/events/templates/events/team.html:21
msgid "Category" msgid "Category"
msgstr "Catégorie" msgstr "Catégorie"
#: accounts/templates/accounts/profile.html:23 #: src/accounts/templates/accounts/profile.html:23
#: events/templates/events/team.html:22 #: src/events/templates/events/team.html:22
msgid "Points" msgid "Points"
msgstr "Points" msgstr "Points"
#: accounts/templates/accounts/profile.html:24 #: src/accounts/templates/accounts/profile.html:24
#: ctfs/templates/ctfs/ctf_info.html:64 #: src/ctfs/templates/ctfs/ctf_info.html:66
#: events/templates/events/ctf_info.html:73 #: src/events/templates/events/ctf_info.html:67
#: events/templates/events/team.html:23 #: src/events/templates/events/team.html:23
msgid "Date" msgid "Date"
msgstr "Date" msgstr "Date"
#: accounts/templates/accounts/profile.html:39 #: src/accounts/templates/accounts/profile.html:39
msgid "It seems that this user has not solved any challenge yet..." msgid "It seems that this user has not solved any challenge yet..."
msgstr "Il semble que cet utilisateur n'a pas encore résolu de CTF..." msgstr "Il semble que cet utilisateur n'a pas encore résolu de CTF..."
#: accounts/templates/accounts/profile.html:47 #: src/accounts/templates/accounts/profile.html:47
#: events/templates/events/event_info.html:63 #: src/events/templates/events/event_info.html:63
#: events/templates/events/event_info.html:87 #: src/events/templates/events/event_info.html:87
#: events/templates/events/manage_team.html:41 #: src/events/templates/events/manage_team.html:41
#: events/templates/events/team.html:46 #: src/events/templates/events/team.html:46
#: scoreboard/templates/scoreboard/scoreboard.html:12 #: src/scoreboard/templates/scoreboard/scoreboard.html:12
msgid "Rank" msgid "Rank"
msgstr "Rang" msgstr "Rang"
#: accounts/templates/accounts/profile.html:56 #: src/accounts/templates/accounts/profile.html:56
msgid "Status: Member" #, fuzzy
msgstr "Status : Membre" #| msgid "Members"
msgid "Member"
msgstr "Membres"
#: accounts/templates/accounts/profile.html:58 #: src/accounts/templates/accounts/profile.html:58
msgid "Status: Visitor" #, fuzzy
#| msgid "Status: Visitor"
msgid " Visitor"
msgstr "Status : Visiteur" msgstr "Status : Visiteur"
#: accounts/templates/accounts/profile.html:64 #: src/accounts/templates/accounts/profile.html:64
#: events/templates/events/team.html:57 #: src/events/templates/events/team.html:57
#, fuzzy #, fuzzy
#| msgid "Categories" #| msgid "Categories"
msgid "Categories stats" msgid "Categories stats"
msgstr "Catégories" msgstr "Catégories"
#: accounts/templates/accounts/register.html:13 #: src/accounts/templates/accounts/profile.html:81
#, fuzzy
#| msgid "Challenge Name"
msgid "Challenges created"
msgstr "Nom du challenge"
#: src/accounts/templates/accounts/profile.html:87
#, fuzzy
#| msgid "It seems that this user has not solved any challenge yet..."
msgid "It seems that this user has not created any challenge yet..."
msgstr "Il semble que cet utilisateur n'a pas encore résolu de CTF..."
#: src/accounts/templates/accounts/register.html:13
msgid "Welcome !" msgid "Welcome !"
msgstr "Bienvenue !" msgstr "Bienvenue !"
#: accounts/templates/accounts/register.html:14 #: src/accounts/templates/accounts/register.html:14
msgid "Your account has been created." msgid "Your account has been created."
msgstr "Votre compte a été créé." msgstr "Votre compte a été créé."
#: accounts/templates/accounts/register.html:25 #: src/accounts/templates/accounts/register.html:25
msgid "Personal website" msgid "Personal website"
msgstr "Site personnel" msgstr "Site personnel"
#: accounts/templates/accounts/register.html:26 #: src/accounts/templates/accounts/register.html:26
#: events/templates/events/event_info.html:119 #: src/events/templates/events/event_info.html:119
msgid "Register" msgid "Register"
msgstr "Inscription" msgstr "Inscription"
#: accounts/views/views.py:33 #: src/accounts/views/views.py:33
msgid "Your account was inactive." msgid "Your account was inactive."
msgstr "Votre compte était inactif." msgstr "Votre compte était inactif."
#: accounts/views/views.py:52 #: src/accounts/views/views.py:57
#, fuzzy
#| msgid "Your password must contain at least 8 characters."
msgid "The password must be at least 8 characters long."
msgstr "Votre mot de passe doit contenir au moins 8 caractères."
#: src/accounts/views/views.py:67
msgid "" msgid ""
"The password must contain at least one letter and at least one digit or " "The password must contain at least one letter and at least one digit or "
"punctuation character." "punctuation character."
@ -208,418 +260,454 @@ msgstr ""
"Le mot de passe doit contenir au moins une lettre, un chiffre et un signe de " "Le mot de passe doit contenir au moins une lettre, un chiffre et un signe de "
"ponctuation." "ponctuation."
#: accounts/views/views.py:54 #: src/accounts/views/views.py:77
msgid "A user with that email already exists." msgid "A user with that email already exists."
msgstr "Un utilisateur avec cet email existe déjà." msgstr "Un utilisateur avec cet email existe déjà."
#: accounts/views/views.py:67 #: src/accounts/views/views.py:99
msgid "A user with that username already exists." msgid "A user with that username already exists."
msgstr "Un utilisateur avec ce pseudo existe déjà." msgstr "Un utilisateur avec ce pseudo existe déjà."
#: accounts/views/views.py:95 #: src/accounts/views/views.py:132
msgid "Email already taken." msgid "Email already taken."
msgstr "L'adresse mail est déjà utilisée." msgstr "L'adresse mail est déjà utilisée."
#: accounts/views/views.py:101 #: src/accounts/views/views.py:138
msgid "Username already taken." msgid "Username already taken."
msgstr "Le pseudo est déjà utilisé." msgstr "Le pseudo est déjà utilisé."
#: accounts/views/views.py:105 events/views/teams.py:124 #: src/accounts/views/views.py:142 src/events/views/teams.py:124
msgid "Updated." msgid "Updated."
msgstr "Mis à jour." msgstr "Mis à jour."
#: ctfs/templates/ctfs/ctf_info.html:10 #: src/ctfs/templates/ctfs/ctf_info.html:12
#: events/templates/events/ctf_info.html:12 #: src/events/templates/events/ctf_info.html:12
msgid "Published date" msgid "Published date"
msgstr "Date de publication" msgstr "Date de publication"
#: ctfs/templates/ctfs/ctf_info.html:14 #: src/ctfs/templates/ctfs/ctf_info.html:16
#, fuzzy #, fuzzy
#| msgid "No category available." #| msgid "No category available."
msgid "Challenge is not yet available." msgid "Challenge is not yet available."
msgstr "Il n'y a pas de catégorie disponible." msgstr "Il n'y a pas de catégorie disponible."
#: ctfs/templates/ctfs/ctf_info.html:21 #: src/ctfs/templates/ctfs/ctf_info.html:29
#: events/templates/events/ctf_info.html:18 home/templates/home/home.html:46 #: src/events/templates/events/ctf_info.html:24
msgid ""
"No translation available. Please try another language (English or French)."
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:27
#: events/templates/events/ctf_info.html:32
msgid "Congratulation !" msgid "Congratulation !"
msgstr "Félicitations !" msgstr "Félicitations !"
#: ctfs/templates/ctfs/ctf_info.html:29 #: src/ctfs/templates/ctfs/ctf_info.html:31
#: events/templates/events/ctf_info.html:34 #: src/events/templates/events/ctf_info.html:26
msgid "Already flagged" msgid "Already flagged"
msgstr "Déjà résolu" msgstr "Déjà résolu"
#: ctfs/templates/ctfs/ctf_info.html:31 ctfs/templates/ctfs/ctf_info.html:40 #: src/ctfs/templates/ctfs/ctf_info.html:33
#: events/templates/events/ctf_info.html:42 #: src/ctfs/templates/ctfs/ctf_info.html:42
#: events/templates/events/ctf_info.html:51 #: src/events/templates/events/ctf_info.html:36
#: src/events/templates/events/ctf_info.html:45
msgid "Start the challenge" msgid "Start the challenge"
msgstr "Démarrer le challenge" msgstr "Démarrer le challenge"
#: ctfs/templates/ctfs/ctf_info.html:33 ctfs/templates/ctfs/ctf_info.html:42 #: src/ctfs/templates/ctfs/ctf_info.html:35
#: events/templates/events/ctf_info.html:44 #: src/ctfs/templates/ctfs/ctf_info.html:44
#: events/templates/events/ctf_info.html:53 #: src/events/templates/events/ctf_info.html:38
#: src/events/templates/events/ctf_info.html:47
msgid "Download" msgid "Download"
msgstr "Télécharger" msgstr "Télécharger"
#: ctfs/templates/ctfs/ctf_info.html:37 #: src/ctfs/templates/ctfs/ctf_info.html:39
#: events/templates/events/ctf_info.html:48 #: src/events/templates/events/ctf_info.html:42
msgid "Wrong flag ! You can do it !" msgid "Wrong flag ! You can do it !"
msgstr "Mauvais flag ! Vous pouvez le faire !" msgstr "Mauvais flag ! Vous pouvez le faire !"
#: ctfs/templates/ctfs/ctf_info.html:56 #: src/ctfs/templates/ctfs/ctf_info.html:58
#: events/templates/events/ctf_info.html:66 #: src/events/templates/events/ctf_info.html:60
msgid "Solved by" msgid "Solved by"
msgstr "Résolu par" msgstr "Résolu par"
#: ctfs/templates/ctfs/ctf_info.html:80 #: src/ctfs/templates/ctfs/ctf_info.html:82
#: events/templates/events/ctf_info.html:96 #: src/events/templates/events/ctf_info.html:90
msgid "Nobody has solved this challenge yet." msgid "Nobody has solved this challenge yet."
msgstr "Personne n'a résolu ce CTF." msgstr "Personne n'a résolu ce CTF."
#: ctfs/templates/ctfs/ctf_info.html:87 #: src/ctfs/templates/ctfs/ctf_info.html:89
#: events/templates/events/ctf_info.html:103 #: src/events/templates/events/ctf_info.html:97
msgid "Author" msgid "Author"
msgstr "Auteur" msgstr "Auteur"
#: ctfs/templates/ctfs/ctf_info.html:88 #: src/ctfs/templates/ctfs/ctf_info.html:90
#: events/templates/events/ctf_info.html:104 #: src/events/templates/events/ctf_info.html:98
msgid "Point reward" msgid "Point reward"
msgstr "Points" msgstr "Points"
#: ctfs/templates/ctfs/ctfs_list.html:14 #: src/ctfs/templates/ctfs/ctfs_list.html:14
msgid "Solved" msgid "Solved"
msgstr "Résolu" msgstr "Résolu"
#: ctfs/templates/ctfs/ctfs_list.html:37 #: src/ctfs/templates/ctfs/ctfs_list.html:37
msgid "No ctf available for this category." msgid "No ctf available for this category."
msgstr "Il n'y a pas de challenges dans cette catégorie." msgstr "Il n'y a pas de challenges dans cette catégorie."
#: ctfs/templates/ctfs/ctfs_list.html:42 #: src/ctfs/templates/ctfs/ctfs_list.html:42
msgid "Categories" msgid "Categories"
msgstr "Catégories" msgstr "Catégories"
#: ctfs/templates/ctfs/ctfs_list.html:48 templates/base.html:54 #: src/ctfs/templates/ctfs/ctfs_list.html:48 src/templates/base.html:56
msgid "No category available." msgid "No category available."
msgstr "Il n'y a pas de catégorie disponible." msgstr "Il n'y a pas de catégorie disponible."
#: events/templates/events/create_team.html:10 #: src/events/templates/events/create_team.html:10
#: events/templates/events/join_team.html:10 #: src/events/templates/events/join_team.html:10
#, fuzzy #, fuzzy
#| msgid "This event start at" #| msgid "This event start at"
msgid "This event starts at" msgid "This event starts at"
msgstr "Cet événement débute à" msgstr "Cet événement débute à"
#: events/templates/events/create_team.html:17 #: src/events/templates/events/create_team.html:17
#: events/templates/events/join_team.html:17 #: src/events/templates/events/join_team.html:17
#, fuzzy #, fuzzy
#| msgid "You're already registered to this event." #| msgid "You're already registered to this event."
msgid "You need to be registered to the event." msgid "You need to be registered to the event."
msgstr "Vous êtes déjà inscrit à cet événement." msgstr "Vous êtes déjà inscrit à cet événement."
#: events/templates/events/create_team.html:20 events/views/teams.py:120 #: src/events/templates/events/create_team.html:20
#: src/events/views/teams.py:120
#, fuzzy #, fuzzy
#| msgid "Username already taken." #| msgid "Username already taken."
msgid "Name already taken." msgid "Name already taken."
msgstr "Ce nom est déjà utilisé." msgstr "Ce nom est déjà utilisé."
#: events/templates/events/create_team.html:26 #: src/events/templates/events/create_team.html:26
#: events/templates/events/join_team.html:31 #: src/events/templates/events/join_team.html:31
#: events/templates/events/manage_team.html:22 #: src/events/templates/events/manage_team.html:22
msgid "Team name" msgid "Team name"
msgstr "Nom de l'équipe" msgstr "Nom de l'équipe"
#: events/templates/events/create_team.html:28 #: src/events/templates/events/create_team.html:28
#: events/templates/events/create_team.html:49 #: src/events/templates/events/create_team.html:49
#: events/templates/events/join_team.html:54 #: src/events/templates/events/join_team.html:54
msgid "Create Team" msgid "Create Team"
msgstr "Créer une équipe" msgstr "Créer une équipe"
#: events/templates/events/create_team.html:33 #: src/events/templates/events/create_team.html:33
#: events/templates/events/event_pwd.html:28 #: src/events/templates/events/event_pwd.html:44
#: events/templates/events/join_team.html:38 #: src/events/templates/events/join_team.html:38
msgid "You need to be logged to access this event." msgid "You need to be logged to access this event."
msgstr "Vous devez être connecté pour accéder à cet événement." msgstr "Vous devez être connecté pour accéder à cet événement."
#: events/templates/events/create_team.html:42 #: src/events/templates/events/create_team.html:42
#: events/templates/events/event_info.html:113 #: src/events/templates/events/event_info.html:113
#: events/templates/events/event_pwd.html:36 #: src/events/templates/events/event_pwd.html:52
#: events/templates/events/join_team.html:47 #: src/events/templates/events/join_team.html:47
msgid "Starts at" msgid "Starts at"
msgstr "Début" msgstr "Début"
#: events/templates/events/create_team.html:43 #: src/events/templates/events/create_team.html:43
#: events/templates/events/event_info.html:114 #: src/events/templates/events/event_info.html:114
#: events/templates/events/event_pwd.html:37 #: src/events/templates/events/event_pwd.html:53
#: events/templates/events/join_team.html:48 #: src/events/templates/events/join_team.html:48
msgid "Ends at" msgid "Ends at"
msgstr "Fin" msgstr "Fin"
#: events/templates/events/create_team.html:47 #: src/events/templates/events/create_team.html:47
#: events/templates/events/event_info.html:129 #: src/events/templates/events/event_info.html:129
#: events/templates/events/join_team.html:52 #: src/events/templates/events/join_team.html:52
msgid "Manage my team" msgid "Manage my team"
msgstr "Gérer mon équipe" msgstr "Gérer mon équipe"
#: events/templates/events/create_team.html:48 #: src/events/templates/events/create_team.html:48
#: events/templates/events/join_team.html:33 #: src/events/templates/events/join_team.html:33
#: events/templates/events/join_team.html:53 #: src/events/templates/events/join_team.html:53
msgid "Join Team" msgid "Join Team"
msgstr "Rejoindre une équipe" msgstr "Rejoindre une équipe"
#: events/templates/events/create_team.html:53 #: src/events/templates/events/create_team.html:53
#: events/templates/events/join_team.html:58 #: src/events/templates/events/join_team.html:58
msgid "Auto-matching" msgid "Auto-matching"
msgstr "" msgstr ""
#: events/templates/events/create_team.html:57 #: src/events/templates/events/create_team.html:57
#: events/templates/events/join_team.html:62 #: src/events/templates/events/join_team.html:62
msgid "Find me a team !" msgid "Find me a team !"
msgstr "" msgstr ""
#: events/templates/events/ctf_info.html:10 #: src/events/templates/events/ctf_info.html:10
msgid "Event" msgid "Event"
msgstr "Événement" msgstr "Événement"
#: events/templates/events/ctf_info.html:25 #: src/events/templates/events/ctf_info.html:18
#: events/templates/events/event_info.html:9 msgid ""
msgid "Subscriptions is over." "No translation available. Please try another language (English or French)."
msgstr "Les inscriptions sont terminées." msgstr ""
#: events/templates/events/ctf_info.html:28 #: src/events/templates/events/ctf_info.html:28
#: events/templates/events/event_info.html:12 #: src/events/templates/events/event_info.html:18
#: events/templates/events/event_pwd.html:18
msgid "You're already registered to this event."
msgstr "Vous êtes déjà inscrit à cet événement."
#: events/templates/events/ctf_info.html:36
#: events/templates/events/event_info.html:18
msgid "This event is over." msgid "This event is over."
msgstr "Cet événement est terminé." msgstr "Cet événement est terminé."
#: events/templates/events/ctf_info.html:38 #: src/events/templates/events/ctf_info.html:30
msgid "Error while processing your request. (Invalid Form)" msgid "Error while processing your request. (Invalid Form)"
msgstr "Erreur lors du traitement de votre requête. (Formulaire non valide)" msgstr "Erreur lors du traitement de votre requête. (Formulaire non valide)"
#: events/templates/events/ctf_info.html:40 #: src/events/templates/events/ctf_info.html:32
msgid "" msgid "You must register to the event before submitting flags."
"Error: you're not registered to this event, so you can't register scores, "
"fucking logic."
msgstr "" msgstr ""
"Erreur : vous n'êtes pas inscrit à cet événement, vous ne pouvez donc pas "
"enregistrer de scores,C'est putain de logique."
#: events/templates/events/event_info.html:20 #: src/events/templates/events/ctf_info.html:34
#: events/templates/events/event_pwd.html:9 msgid ""
"This is a team event, please create or join a team before submitting flags."
msgstr ""
#: src/events/templates/events/event_info.html:9
msgid "Subscriptions is over."
msgstr "Les inscriptions sont terminées."
#: src/events/templates/events/event_info.html:12
#: src/events/templates/events/event_pwd.html:33
msgid "You're already registered to this event."
msgstr "Vous êtes déjà inscrit à cet événement."
#: src/events/templates/events/event_info.html:20
#: src/events/templates/events/event_pwd.html:9
msgid "This event start at" msgid "This event start at"
msgstr "Cet événement débute à" msgstr "Cet événement débute à"
#: events/templates/events/event_info.html:30 #: src/events/templates/events/event_info.html:30
#, fuzzy #, fuzzy
#| msgid "Challenge Name" #| msgid "Challenge Name"
msgid "Challenges" msgid "Challenges"
msgstr "Nom du challenge" msgstr "Nom du challenge"
#: events/templates/events/event_info.html:47 #: src/events/templates/events/event_info.html:47
#, fuzzy #, fuzzy
#| msgid "No category available." #| msgid "No category available."
msgid "No challenges available." msgid "No challenges available."
msgstr "Il n'y a pas de catégorie disponible." msgstr "Il n'y a pas de catégorie disponible."
#: events/templates/events/event_info.html:51 #: src/events/templates/events/event_info.html:51
msgid "The event has not started yet." msgid "The event has not started yet."
msgstr "L'événement n'a pas encore commencé." msgstr "L'événement n'a pas encore commencé."
#: events/templates/events/event_info.html:57 #: src/events/templates/events/event_info.html:57
#, fuzzy #, fuzzy
#| msgid "Scoreboard" #| msgid "Scoreboard"
msgid "ScoreBoard" msgid "ScoreBoard"
msgstr "Classement" msgstr "Classement"
#: events/templates/events/event_info.html:88 #: src/events/templates/events/event_info.html:88
msgid "Team" msgid "Team"
msgstr "Équipe" msgstr "Équipe"
#: events/templates/events/event_info.html:106 #: src/events/templates/events/event_info.html:106
msgid "No one have earn point yet, you gonna be the first ?" msgid "No one have earn point yet, you gonna be the first ?"
msgstr "Personne n'a encore gagné de point, allez-vous être le premier ?" msgstr "Personne n'a encore gagné de point, allez-vous être le premier ?"
#: events/templates/events/event_pwd.html:15 #: src/events/templates/events/event_pwd.html:16
#: events/templates/events/join_team.html:22 msgid ""
"This event is reserved for one or more 42 campuses. If you have not "
"connected your intranet to 42CTF, you can do so with this button: "
msgstr ""
#: src/events/templates/events/event_pwd.html:25
msgid ""
"This event is reserved for one or more 42 campuses. And unfortunately your "
"campus can't participate. Do not hesitate to contact us to organize an event "
"on your campus!"
msgstr ""
#: src/events/templates/events/event_pwd.html:30
#: src/events/templates/events/join_team.html:22
msgid "Wrong password submited." msgid "Wrong password submited."
msgstr "Mauvais mot de passe saisi." msgstr "Mauvais mot de passe saisi."
#: events/templates/events/event_pwd.html:20 #: src/events/templates/events/event_pwd.html:35
msgid "This event is password protected" msgid "This event is password protected"
msgstr "Cet événement est protégé par un mot de passe" msgstr "Cet événement est protégé par un mot de passe"
#: events/templates/events/event_pwd.html:21 #: src/events/templates/events/event_pwd.html:36
msgid "You need to submit the event password to gain access to this event." msgid "You need to submit the event password to gain access to this event."
msgstr "Vous devez saisir le mot de passe de l'événement pour y avoir accès." msgstr "Vous devez saisir le mot de passe de l'événement pour y avoir accès."
#: events/templates/events/events_list.html:6 templates/base.html:61 #: src/events/templates/events/events_list.html:6 src/templates/base.html:65
msgid "Events" msgid "Events"
msgstr "Événements" msgstr "Événements"
#: events/templates/events/events_list.html:38 #: src/events/templates/events/events_list.html:38
msgid "See more" msgid "See more"
msgstr "Voir plus" msgstr "Voir plus"
#: events/templates/events/events_list.html:44 #: src/events/templates/events/events_list.html:44
msgid "No events available." msgid "No events available."
msgstr "Pas d'évènement disponible." msgstr "Pas d'évènement disponible."
#: events/templates/events/join_team.html:20 #: src/events/templates/events/join_team.html:20
msgid "Team does not exist." msgid "Team does not exist."
msgstr "Cette équipe n'existe pas." msgstr "Cette équipe n'existe pas."
#: events/templates/events/join_team.html:24 #: src/events/templates/events/join_team.html:24
msgid "Maximum size reached." msgid "Maximum size reached."
msgstr "Taille maximale atteinte." msgstr "Taille maximale atteinte."
#: events/templates/events/manage_team.html:26 #: src/events/templates/events/manage_team.html:26
msgid "Team password" msgid "Team password"
msgstr "Mot de passe de l'équipe" msgstr "Mot de passe de l'équipe"
#: events/templates/events/manage_team.html:44 #: src/events/templates/events/manage_team.html:29
#: events/templates/events/team.html:49 msgid "Apply"
msgstr "Appliquer"
#: src/events/templates/events/manage_team.html:44
#: src/events/templates/events/team.html:49
msgid "Members" msgid "Members"
msgstr "Membres" msgstr "Membres"
#: events/templates/events/manage_team.html:51 #: src/events/templates/events/manage_team.html:52
msgid "Leave Team" msgid "Leave Team"
msgstr "Quitte l'équipe" msgstr "Quitte l'équipe"
#: events/templates/events/team.html:38 #: src/events/templates/events/manage_team.html:59
msgid "Open to automatching"
msgstr ""
#: src/events/templates/events/manage_team.html:66
msgid "Close to automatching"
msgstr ""
#: src/events/templates/events/team.html:38
msgid "It seems that this team has not solved any challenge yet..." msgid "It seems that this team has not solved any challenge yet..."
msgstr "Il semble que cette équipe n'a pas encore résolu de challenge..." msgstr "Il semble que cette équipe n'a pas encore résolu de challenge..."
#: home/templates/home/home.html:20 #: src/home/templates/home/home.html:21
msgid "Weekly Top 5" msgid "Weekly Top 5"
msgstr "" msgstr ""
#: home/templates/home/home.html:56 #: src/home/templates/home/home.html:48
msgid "No article available." msgid "No article available."
msgstr "Il n'y a pas d'article disponible." msgstr "Il n'y a pas d'article disponible."
#: home/templates/home/home.html:61 #: src/home/templates/home/home.html:53
msgid "Latest challenges added" msgid "Latest challenges added"
msgstr "Derniers challenges ajoutés" msgstr "Derniers challenges ajoutés"
#: home/templates/home/home.html:66 #: src/home/templates/home/home.html:58
#, fuzzy #, fuzzy
#| msgid "Points" #| msgid "Points"
msgid "points" msgid "points"
msgstr "Points" msgstr "Points"
#: home/templates/home/home.html:70 #: src/home/templates/home/home.html:62
msgid "No ctf available." msgid "No ctf available."
msgstr "Pas de challenge disponible" msgstr "Pas de challenge disponible"
#: home/templates/home/home.html:74 #: src/home/templates/home/home.html:66
msgid "Latest Flags" msgid "Latest Flags"
msgstr "" msgstr ""
#: home/templates/home/home.html:88 #: src/home/templates/home/home.html:80
msgid "Flags" msgid "Flags"
msgstr "" msgstr ""
#: home/templates/home/home.html:94 #: src/home/templates/home/home.html:86
#, fuzzy #, fuzzy
#| msgid "Username" #| msgid "Username"
msgid "Users" msgid "Users"
msgstr "Pseudo" msgstr "Pseudo"
#: project/settings.py:115 #: src/project/settings.py:116
msgid "English" msgid "English"
msgstr "Anglais" msgstr "Anglais"
#: project/settings.py:116 #: src/project/settings.py:117
msgid "German" msgid "German"
msgstr "Allemand" msgstr "Allemand"
#: project/settings.py:117 #: src/project/settings.py:118
msgid "French" msgid "French"
msgstr "Français" msgstr "Français"
#: project/settings.py:118 #: src/project/settings.py:119
msgid "Russian" msgid "Russian"
msgstr "Russe" msgstr "Russe"
#: scoreboard/templates/scoreboard/scoreboard.html:38 #: src/project/settings.py:120
msgid "Japanese"
msgstr ""
#: src/project/settings.py:121
msgid "Spanish"
msgstr ""
#: src/scoreboard/templates/scoreboard/scoreboard.html:15
msgid "Campus"
msgstr ""
#: src/scoreboard/templates/scoreboard/scoreboard.html:46
msgid "First" msgid "First"
msgstr "Début" msgstr "Début"
#: scoreboard/templates/scoreboard/scoreboard.html:39 #: src/scoreboard/templates/scoreboard/scoreboard.html:47
msgid "Previous" msgid "Previous"
msgstr "Précédente" msgstr "Précédente"
#: scoreboard/templates/scoreboard/scoreboard.html:43 #: src/scoreboard/templates/scoreboard/scoreboard.html:51
msgid "Page " msgid "Page "
msgstr "Page" msgstr "Page"
#: scoreboard/templates/scoreboard/scoreboard.html:47 #: src/scoreboard/templates/scoreboard/scoreboard.html:55
msgid "Next" msgid "Next"
msgstr "Suivante" msgstr "Suivante"
#: scoreboard/templates/scoreboard/scoreboard.html:48 #: src/scoreboard/templates/scoreboard/scoreboard.html:56
msgid "Last" msgid "Last"
msgstr "Fin" msgstr "Fin"
#: templates/base.html:59 #: src/templates/base.html:62
msgid "Scoreboard" msgid "Scoreboard"
msgstr "Classement" msgstr "Classement"
#: templates/base.html:64 #: src/templates/base.html:83
msgid "Resources" #, fuzzy
msgstr "" #| msgid "Become a Patron!"
msgid "Become a member"
msgstr "Soutenez nous via Patreon !"
#: templates/base.html:93 #: src/templates/base.html:93
msgid "Logout" msgid "Logout"
msgstr "Déconnexion" msgstr "Déconnexion"
#: templates/base.html:100 #: src/templates/base.html:100
msgid "Sign Up" msgid "Sign Up"
msgstr "Inscription" msgstr "Inscription"
#: templates/base.html:135 #: src/templates/registration/password_reset_complete.html:11
msgid "Become a Patron!"
msgstr "Soutenez nous via Patreon !"
#: templates/registration/password_reset_complete.html:11
msgid "Your new password has been set." msgid "Your new password has been set."
msgstr "Votre mot de passe a été mis à jour." msgstr "Votre mot de passe a été mis à jour."
#: templates/registration/password_reset_confirm.html:20 #: src/templates/registration/password_reset_confirm.html:20
msgid "Your password cant be too similar to your other personal information." msgid "Your password cant be too similar to your other personal information."
msgstr "Votre mot de passe ne peut pas être similaire à votre adresse mail." msgstr "Votre mot de passe ne peut pas être similaire à votre adresse mail."
#: templates/registration/password_reset_confirm.html:21 #: src/templates/registration/password_reset_confirm.html:21
msgid "Your password must contain at least 8 characters." msgid "Your password must contain at least 8 characters."
msgstr "Votre mot de passe doit contenir au moins 8 caractères." msgstr "Votre mot de passe doit contenir au moins 8 caractères."
#: templates/registration/password_reset_confirm.html:22 #: src/templates/registration/password_reset_confirm.html:22
msgid "Your password cant be a commonly used password." msgid "Your password cant be a commonly used password."
msgstr "Votre mot de passe ne peut pas être un mot de passe commun." msgstr "Votre mot de passe ne peut pas être un mot de passe commun."
#: templates/registration/password_reset_confirm.html:23 #: src/templates/registration/password_reset_confirm.html:23
msgid "Your password cant be entirely numeric." msgid "Your password cant be entirely numeric."
msgstr "Votre mot de passe ne peut pas être entièrement numérique." msgstr "Votre mot de passe ne peut pas être entièrement numérique."
#: templates/registration/password_reset_confirm.html:26 #: src/templates/registration/password_reset_confirm.html:26
msgid "Confirm" msgid "Confirm"
msgstr "Confirmer" msgstr "Confirmer"
#: templates/registration/password_reset_confirm.html:28 #: src/templates/registration/password_reset_confirm.html:28
msgid "Submit" msgid "Submit"
msgstr "Soumettre" msgstr "Soumettre"
#: templates/registration/password_reset_done.html:11 #: src/templates/registration/password_reset_done.html:11
msgid "" msgid ""
"We've emailed you instructions for setting your password. You should receive " "We've emailed you instructions for setting your password. You should receive "
"the email shortly!" "the email shortly!"
@ -627,10 +715,20 @@ msgstr ""
"Vous devrierz recevoir rapidement un email avec des instructions pour " "Vous devrierz recevoir rapidement un email avec des instructions pour "
"réinitialiser votre mot de passe." "réinitialiser votre mot de passe."
#: templates/registration/password_reset_form.html:16 #: src/templates/registration/password_reset_form.html:16
msgid "Reset" msgid "Reset"
msgstr "Réinitialiser" msgstr "Réinitialiser"
#~ msgid "Status: Member"
#~ msgstr "Status : Membre"
#~ msgid ""
#~ "Error: you're not registered to this event, so you can't register scores, "
#~ "fucking logic."
#~ msgstr ""
#~ "Erreur : vous n'êtes pas inscrit à cet événement, vous ne pouvez donc pas "
#~ "enregistrer de scores,C'est putain de logique."
#, fuzzy #, fuzzy
#~| msgid "Manage my team" #~| msgid "Manage my team"
#~ msgid "Manage team" #~ msgid "Manage team"
@ -641,9 +739,3 @@ msgstr "Réinitialiser"
#~ msgid "End at" #~ msgid "End at"
#~ msgstr "Fin" #~ msgstr "Fin"
#~ msgid "Disconnect Discord"
#~ msgstr "Déconnecter Discord"
#~ msgid "Connect Discord"
#~ msgstr "Connecter Discord"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,583 +18,653 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: accounts/templates/accounts/delete.html:8 #: src/accounts/templates/accounts/delete.html:8
msgid "Delete account" msgid "Delete account"
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:11 #: src/accounts/templates/accounts/delete.html:11
msgid "Please confirm your password to delete your account." msgid "Please confirm your password to delete your account."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:12 #: src/accounts/templates/accounts/delete.html:12
msgid "Deleted accounts cannot be recovered." msgid "Deleted accounts cannot be recovered."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:15 #: src/accounts/templates/accounts/delete.html:15
msgid "Password inccorect." msgid "Password incorrect."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:17 #: src/accounts/templates/accounts/delete.html:17
msgid "Your account has been deleted." msgid "Your account has been deleted."
msgstr "" msgstr ""
#: accounts/templates/accounts/delete.html:22 #: src/accounts/templates/accounts/delete.html:22
#: accounts/templates/accounts/login.html:19 #: src/accounts/templates/accounts/login.html:19
#: accounts/templates/accounts/register.html:23 #: src/accounts/templates/accounts/register.html:23
#: events/templates/events/create_team.html:27 #: src/events/templates/events/create_team.html:27
#: events/templates/events/join_team.html:32 #: src/events/templates/events/join_team.html:32
msgid "Password" msgid "Password"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:21 #: src/accounts/templates/accounts/edit.html:21
#: accounts/templates/accounts/login.html:18 #: src/accounts/templates/accounts/login.html:18
#: accounts/templates/accounts/register.html:22 #: src/accounts/templates/accounts/register.html:22
#: ctfs/templates/ctfs/ctf_info.html:61 ctfs/templates/ctfs/ctfs_list.html:12 #: src/ctfs/templates/ctfs/ctf_info.html:63
#: events/templates/events/ctf_info.html:71 #: src/ctfs/templates/ctfs/ctfs_list.html:12
#: events/templates/events/event_info.html:64 #: src/events/templates/events/ctf_info.html:65
#: scoreboard/templates/scoreboard/scoreboard.html:13 #: src/events/templates/events/event_info.html:64
#: src/scoreboard/templates/scoreboard/scoreboard.html:13
msgid "Username" msgid "Username"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:25 #: src/accounts/templates/accounts/edit.html:25
msgid "Email" msgid "Email"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:30 #: src/accounts/templates/accounts/edit.html:30
#: ctfs/templates/ctfs/ctf_info.html:62 #: src/ctfs/templates/ctfs/ctf_info.html:64
#: events/templates/events/ctf_info.html:72 #: src/events/templates/events/ctf_info.html:66
#: events/templates/events/event_info.html:65 #: src/events/templates/events/event_info.html:65
#: scoreboard/templates/scoreboard/scoreboard.html:14 #: src/scoreboard/templates/scoreboard/scoreboard.html:14
msgid "Website" msgid "Website"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:36 #: src/accounts/templates/accounts/edit.html:36
#: events/templates/events/manage_team.html:29 msgid " Apply"
msgid "Apply"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:47 #: src/accounts/templates/accounts/edit.html:45
#: accounts/templates/accounts/profile.html:46 msgid "Connected accounts"
#: ctfs/templates/ctfs/ctf_info.html:63 ctfs/templates/ctfs/ctfs_list.html:13 msgstr ""
#: events/templates/events/event_info.html:66
#: events/templates/events/event_info.html:89 #: src/accounts/templates/accounts/edit.html:53
#: events/templates/events/manage_team.html:40 msgid "Disconnect Discord"
#: events/templates/events/team.html:45 msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:15
#: src/accounts/templates/accounts/edit.html:59
msgid "Connect Discord"
msgstr ""
#: src/accounts/templates/accounts/edit.html:68
msgid "Disconnect 42"
msgstr ""
#: src/accounts/templates/accounts/edit.html:74
#: src/events/templates/events/event_pwd.html:19
msgid "Connect 42"
msgstr ""
#: src/accounts/templates/accounts/edit.html:85
#: src/accounts/templates/accounts/profile.html:46
#: src/ctfs/templates/ctfs/ctf_info.html:65
#: src/ctfs/templates/ctfs/ctfs_list.html:13
#: src/events/templates/events/event_info.html:66
#: src/events/templates/events/event_info.html:89
#: src/events/templates/events/manage_team.html:40
#: src/events/templates/events/team.html:45
#: src/scoreboard/templates/scoreboard/scoreboard.html:16
msgid "Score" msgid "Score"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:55 #: src/accounts/templates/accounts/edit.html:93
#: accounts/templates/accounts/profile.html:60 #: src/accounts/templates/accounts/profile.html:60
msgid "Registered since" msgid "Registered since"
msgstr "" msgstr ""
#: accounts/templates/accounts/edit.html:61 #: src/accounts/templates/accounts/edit.html:99
msgid "Delete my account" msgid " Delete my account"
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:13 #: src/accounts/templates/accounts/login.html:13
msgid "Please, verify your infos." msgid "Please, verify your infos."
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:22 #: src/accounts/templates/accounts/login.html:22
msgid "Reset password" msgid "Reset password"
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:31 #: src/accounts/templates/accounts/login.html:31
#: accounts/templates/accounts/register.html:38 templates/base.html:97 #: src/accounts/templates/accounts/register.html:37 src/templates/base.html:97
#: templates/registration/password_reset_complete.html:18 #: src/templates/registration/password_reset_complete.html:18
#: templates/registration/password_reset_confirm.html:38 #: src/templates/registration/password_reset_confirm.html:38
#: templates/registration/password_reset_done.html:18 #: src/templates/registration/password_reset_done.html:18
#: templates/registration/password_reset_form.html:26 #: src/templates/registration/password_reset_form.html:26
msgid "Login" msgid "Login"
msgstr "" msgstr ""
#: accounts/templates/accounts/login.html:32 #: src/accounts/templates/accounts/login.html:32
#: accounts/templates/accounts/register.html:37 #: src/accounts/templates/accounts/register.html:36
#: templates/registration/password_reset_complete.html:19 #: src/templates/registration/password_reset_complete.html:19
#: templates/registration/password_reset_confirm.html:39 #: src/templates/registration/password_reset_confirm.html:39
#: templates/registration/password_reset_done.html:19 #: src/templates/registration/password_reset_done.html:19
#: templates/registration/password_reset_form.html:27 #: src/templates/registration/password_reset_form.html:27
msgid "Sign up" msgid "Sign up"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:10 #: src/accounts/templates/accounts/profile.html:10
msgid "Challenges Solved by" msgid "Challenges Solved by"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:21 #: src/accounts/templates/accounts/profile.html:21
#: events/templates/events/team.html:20 #: src/events/templates/events/team.html:20
msgid "Challenge Name" msgid "Challenge Name"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:22 #: src/accounts/templates/accounts/profile.html:22
#: events/templates/events/team.html:21 #: src/events/templates/events/team.html:21
msgid "Category" msgid "Category"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:23 #: src/accounts/templates/accounts/profile.html:23
#: events/templates/events/team.html:22 #: src/events/templates/events/team.html:22
msgid "Points" msgid "Points"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:24 #: src/accounts/templates/accounts/profile.html:24
#: ctfs/templates/ctfs/ctf_info.html:64 #: src/ctfs/templates/ctfs/ctf_info.html:66
#: events/templates/events/ctf_info.html:73 #: src/events/templates/events/ctf_info.html:67
#: events/templates/events/team.html:23 #: src/events/templates/events/team.html:23
msgid "Date" msgid "Date"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:39 #: src/accounts/templates/accounts/profile.html:39
msgid "It seems that this user has not solved any challenge yet..." msgid "It seems that this user has not solved any challenge yet..."
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:47 #: src/accounts/templates/accounts/profile.html:47
#: events/templates/events/event_info.html:63 #: src/events/templates/events/event_info.html:63
#: events/templates/events/event_info.html:87 #: src/events/templates/events/event_info.html:87
#: events/templates/events/manage_team.html:41 #: src/events/templates/events/manage_team.html:41
#: events/templates/events/team.html:46 #: src/events/templates/events/team.html:46
#: scoreboard/templates/scoreboard/scoreboard.html:12 #: src/scoreboard/templates/scoreboard/scoreboard.html:12
msgid "Rank" msgid "Rank"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:56 #: src/accounts/templates/accounts/profile.html:56
msgid "Status: Member" msgid "Member"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:58 #: src/accounts/templates/accounts/profile.html:58
msgid "Status: Visitor" msgid " Visitor"
msgstr "" msgstr ""
#: accounts/templates/accounts/profile.html:64 #: src/accounts/templates/accounts/profile.html:64
#: events/templates/events/team.html:57 #: src/events/templates/events/team.html:57
msgid "Categories stats" msgid "Categories stats"
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:13 #: src/accounts/templates/accounts/profile.html:81
msgid "Challenges created"
msgstr ""
#: src/accounts/templates/accounts/profile.html:87
msgid "It seems that this user has not created any challenge yet..."
msgstr ""
#: src/accounts/templates/accounts/register.html:13
msgid "Welcome !" msgid "Welcome !"
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:14 #: src/accounts/templates/accounts/register.html:14
msgid "Your account has been created." msgid "Your account has been created."
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:25 #: src/accounts/templates/accounts/register.html:25
msgid "Personal website" msgid "Personal website"
msgstr "" msgstr ""
#: accounts/templates/accounts/register.html:26 #: src/accounts/templates/accounts/register.html:26
#: events/templates/events/event_info.html:119 #: src/events/templates/events/event_info.html:119
msgid "Register" msgid "Register"
msgstr "" msgstr ""
#: accounts/views/views.py:33 #: src/accounts/views/views.py:33
msgid "Your account was inactive." msgid "Your account was inactive."
msgstr "" msgstr ""
#: accounts/views/views.py:52 #: src/accounts/views/views.py:57
msgid "The password must be at least 8 characters long."
msgstr ""
#: src/accounts/views/views.py:67
msgid "" msgid ""
"The password must contain at least one letter and at least one digit or " "The password must contain at least one letter and at least one digit or "
"punctuation character." "punctuation character."
msgstr "" msgstr ""
#: accounts/views/views.py:54 #: src/accounts/views/views.py:77
msgid "A user with that email already exists." msgid "A user with that email already exists."
msgstr "" msgstr ""
#: accounts/views/views.py:67 #: src/accounts/views/views.py:99
msgid "A user with that username already exists." msgid "A user with that username already exists."
msgstr "" msgstr ""
#: accounts/views/views.py:95 #: src/accounts/views/views.py:132
msgid "Email already taken." msgid "Email already taken."
msgstr "" msgstr ""
#: accounts/views/views.py:101 #: src/accounts/views/views.py:138
msgid "Username already taken." msgid "Username already taken."
msgstr "" msgstr ""
#: accounts/views/views.py:105 events/views/teams.py:124 #: src/accounts/views/views.py:142 src/events/views/teams.py:124
msgid "Updated." msgid "Updated."
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:10 #: src/ctfs/templates/ctfs/ctf_info.html:12
#: events/templates/events/ctf_info.html:12 #: src/events/templates/events/ctf_info.html:12
msgid "Published date" msgid "Published date"
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:14 #: src/ctfs/templates/ctfs/ctf_info.html:16
msgid "Challenge is not yet available." msgid "Challenge is not yet available."
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:21 #: src/ctfs/templates/ctfs/ctf_info.html:29
#: events/templates/events/ctf_info.html:18 home/templates/home/home.html:46 #: src/events/templates/events/ctf_info.html:24
msgid "Congratulation !"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:31
#: src/events/templates/events/ctf_info.html:26
msgid "Already flagged"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:33
#: src/ctfs/templates/ctfs/ctf_info.html:42
#: src/events/templates/events/ctf_info.html:36
#: src/events/templates/events/ctf_info.html:45
msgid "Start the challenge"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:35
#: src/ctfs/templates/ctfs/ctf_info.html:44
#: src/events/templates/events/ctf_info.html:38
#: src/events/templates/events/ctf_info.html:47
msgid "Download"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:39
#: src/events/templates/events/ctf_info.html:42
msgid "Wrong flag ! You can do it !"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:58
#: src/events/templates/events/ctf_info.html:60
msgid "Solved by"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:82
#: src/events/templates/events/ctf_info.html:90
msgid "Nobody has solved this challenge yet."
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:89
#: src/events/templates/events/ctf_info.html:97
msgid "Author"
msgstr ""
#: src/ctfs/templates/ctfs/ctf_info.html:90
#: src/events/templates/events/ctf_info.html:98
msgid "Point reward"
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:14
msgid "Solved"
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:37
msgid "No ctf available for this category."
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:42
msgid "Categories"
msgstr ""
#: src/ctfs/templates/ctfs/ctfs_list.html:48 src/templates/base.html:56
msgid "No category available."
msgstr ""
#: src/events/templates/events/create_team.html:10
#: src/events/templates/events/join_team.html:10
msgid "This event starts at"
msgstr ""
#: src/events/templates/events/create_team.html:17
#: src/events/templates/events/join_team.html:17
msgid "You need to be registered to the event."
msgstr ""
#: src/events/templates/events/create_team.html:20
#: src/events/views/teams.py:120
msgid "Name already taken."
msgstr ""
#: src/events/templates/events/create_team.html:26
#: src/events/templates/events/join_team.html:31
#: src/events/templates/events/manage_team.html:22
msgid "Team name"
msgstr ""
#: src/events/templates/events/create_team.html:28
#: src/events/templates/events/create_team.html:49
#: src/events/templates/events/join_team.html:54
msgid "Create Team"
msgstr ""
#: src/events/templates/events/create_team.html:33
#: src/events/templates/events/event_pwd.html:44
#: src/events/templates/events/join_team.html:38
msgid "You need to be logged to access this event."
msgstr ""
#: src/events/templates/events/create_team.html:42
#: src/events/templates/events/event_info.html:113
#: src/events/templates/events/event_pwd.html:52
#: src/events/templates/events/join_team.html:47
msgid "Starts at"
msgstr ""
#: src/events/templates/events/create_team.html:43
#: src/events/templates/events/event_info.html:114
#: src/events/templates/events/event_pwd.html:53
#: src/events/templates/events/join_team.html:48
msgid "Ends at"
msgstr ""
#: src/events/templates/events/create_team.html:47
#: src/events/templates/events/event_info.html:129
#: src/events/templates/events/join_team.html:52
msgid "Manage my team"
msgstr ""
#: src/events/templates/events/create_team.html:48
#: src/events/templates/events/join_team.html:33
#: src/events/templates/events/join_team.html:53
msgid "Join Team"
msgstr ""
#: src/events/templates/events/create_team.html:53
#: src/events/templates/events/join_team.html:58
msgid "Auto-matching"
msgstr ""
#: src/events/templates/events/create_team.html:57
#: src/events/templates/events/join_team.html:62
msgid "Find me a team !"
msgstr ""
#: src/events/templates/events/ctf_info.html:10
msgid "Event"
msgstr ""
#: src/events/templates/events/ctf_info.html:18
msgid "" msgid ""
"No translation available. Please try another language (English or French)." "No translation available. Please try another language (English or French)."
msgstr "" msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:27 #: src/events/templates/events/ctf_info.html:28
#: events/templates/events/ctf_info.html:32 #: src/events/templates/events/event_info.html:18
msgid "Congratulation !"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:29
#: events/templates/events/ctf_info.html:34
msgid "Already flagged"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:31 ctfs/templates/ctfs/ctf_info.html:40
#: events/templates/events/ctf_info.html:42
#: events/templates/events/ctf_info.html:51
msgid "Start the challenge"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:33 ctfs/templates/ctfs/ctf_info.html:42
#: events/templates/events/ctf_info.html:44
#: events/templates/events/ctf_info.html:53
msgid "Download"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:37
#: events/templates/events/ctf_info.html:48
msgid "Wrong flag ! You can do it !"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:56
#: events/templates/events/ctf_info.html:66
msgid "Solved by"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:80
#: events/templates/events/ctf_info.html:96
msgid "Nobody has solved this challenge yet."
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:87
#: events/templates/events/ctf_info.html:103
msgid "Author"
msgstr ""
#: ctfs/templates/ctfs/ctf_info.html:88
#: events/templates/events/ctf_info.html:104
msgid "Point reward"
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:14
msgid "Solved"
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:37
msgid "No ctf available for this category."
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:42
msgid "Categories"
msgstr ""
#: ctfs/templates/ctfs/ctfs_list.html:48 templates/base.html:54
msgid "No category available."
msgstr ""
#: events/templates/events/create_team.html:10
#: events/templates/events/join_team.html:10
msgid "This event starts at"
msgstr ""
#: events/templates/events/create_team.html:17
#: events/templates/events/join_team.html:17
msgid "You need to be registered to the event."
msgstr ""
#: events/templates/events/create_team.html:20 events/views/teams.py:120
msgid "Name already taken."
msgstr ""
#: events/templates/events/create_team.html:26
#: events/templates/events/join_team.html:31
#: events/templates/events/manage_team.html:22
msgid "Team name"
msgstr ""
#: events/templates/events/create_team.html:28
#: events/templates/events/create_team.html:49
#: events/templates/events/join_team.html:54
msgid "Create Team"
msgstr ""
#: events/templates/events/create_team.html:33
#: events/templates/events/event_pwd.html:28
#: events/templates/events/join_team.html:38
msgid "You need to be logged to access this event."
msgstr ""
#: events/templates/events/create_team.html:42
#: events/templates/events/event_info.html:113
#: events/templates/events/event_pwd.html:36
#: events/templates/events/join_team.html:47
msgid "Starts at"
msgstr ""
#: events/templates/events/create_team.html:43
#: events/templates/events/event_info.html:114
#: events/templates/events/event_pwd.html:37
#: events/templates/events/join_team.html:48
msgid "Ends at"
msgstr ""
#: events/templates/events/create_team.html:47
#: events/templates/events/event_info.html:129
#: events/templates/events/join_team.html:52
msgid "Manage my team"
msgstr ""
#: events/templates/events/create_team.html:48
#: events/templates/events/join_team.html:33
#: events/templates/events/join_team.html:53
msgid "Join Team"
msgstr ""
#: events/templates/events/create_team.html:53
#: events/templates/events/join_team.html:58
msgid "Auto-matching"
msgstr ""
#: events/templates/events/create_team.html:57
#: events/templates/events/join_team.html:62
msgid "Find me a team !"
msgstr ""
#: events/templates/events/ctf_info.html:10
msgid "Event"
msgstr ""
#: events/templates/events/ctf_info.html:25
#: events/templates/events/event_info.html:9
msgid "Subscriptions is over."
msgstr ""
#: events/templates/events/ctf_info.html:28
#: events/templates/events/event_info.html:12
#: events/templates/events/event_pwd.html:18
msgid "You're already registered to this event."
msgstr ""
#: events/templates/events/ctf_info.html:36
#: events/templates/events/event_info.html:18
msgid "This event is over." msgid "This event is over."
msgstr "" msgstr ""
#: events/templates/events/ctf_info.html:38 #: src/events/templates/events/ctf_info.html:30
msgid "Error while processing your request. (Invalid Form)" msgid "Error while processing your request. (Invalid Form)"
msgstr "" msgstr ""
#: events/templates/events/ctf_info.html:40 #: src/events/templates/events/ctf_info.html:32
msgid "" msgid "You must register to the event before submitting flags."
"Error: you're not registered to this event, so you can't register scores, "
"fucking logic."
msgstr "" msgstr ""
#: events/templates/events/event_info.html:20 #: src/events/templates/events/ctf_info.html:34
#: events/templates/events/event_pwd.html:9 msgid ""
"This is a team event, please create or join a team before submitting flags."
msgstr ""
#: src/events/templates/events/event_info.html:9
msgid "Subscriptions is over."
msgstr ""
#: src/events/templates/events/event_info.html:12
#: src/events/templates/events/event_pwd.html:33
msgid "You're already registered to this event."
msgstr ""
#: src/events/templates/events/event_info.html:20
#: src/events/templates/events/event_pwd.html:9
msgid "This event start at" msgid "This event start at"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:30 #: src/events/templates/events/event_info.html:30
msgid "Challenges" msgid "Challenges"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:47 #: src/events/templates/events/event_info.html:47
msgid "No challenges available." msgid "No challenges available."
msgstr "" msgstr ""
#: events/templates/events/event_info.html:51 #: src/events/templates/events/event_info.html:51
msgid "The event has not started yet." msgid "The event has not started yet."
msgstr "" msgstr ""
#: events/templates/events/event_info.html:57 #: src/events/templates/events/event_info.html:57
msgid "ScoreBoard" msgid "ScoreBoard"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:88 #: src/events/templates/events/event_info.html:88
msgid "Team" msgid "Team"
msgstr "" msgstr ""
#: events/templates/events/event_info.html:106 #: src/events/templates/events/event_info.html:106
msgid "No one have earn point yet, you gonna be the first ?" msgid "No one have earn point yet, you gonna be the first ?"
msgstr "" msgstr ""
#: events/templates/events/event_pwd.html:15 #: src/events/templates/events/event_pwd.html:16
#: events/templates/events/join_team.html:22 msgid ""
"This event is reserved for one or more 42 campuses. If you have not "
"connected your intranet to 42CTF, you can do so with this button: "
msgstr ""
#: src/events/templates/events/event_pwd.html:25
msgid ""
"This event is reserved for one or more 42 campuses. And unfortunately your "
"campus can't participate. Do not hesitate to contact us to organize an event "
"on your campus!"
msgstr ""
#: src/events/templates/events/event_pwd.html:30
#: src/events/templates/events/join_team.html:22
msgid "Wrong password submited." msgid "Wrong password submited."
msgstr "" msgstr ""
#: events/templates/events/event_pwd.html:20 #: src/events/templates/events/event_pwd.html:35
msgid "This event is password protected" msgid "This event is password protected"
msgstr "" msgstr ""
#: events/templates/events/event_pwd.html:21 #: src/events/templates/events/event_pwd.html:36
msgid "You need to submit the event password to gain access to this event." msgid "You need to submit the event password to gain access to this event."
msgstr "" msgstr ""
#: events/templates/events/events_list.html:6 templates/base.html:61 #: src/events/templates/events/events_list.html:6 src/templates/base.html:65
msgid "Events" msgid "Events"
msgstr "" msgstr ""
#: events/templates/events/events_list.html:38 #: src/events/templates/events/events_list.html:38
msgid "See more" msgid "See more"
msgstr "" msgstr ""
#: events/templates/events/events_list.html:44 #: src/events/templates/events/events_list.html:44
msgid "No events available." msgid "No events available."
msgstr "" msgstr ""
#: events/templates/events/join_team.html:20 #: src/events/templates/events/join_team.html:20
msgid "Team does not exist." msgid "Team does not exist."
msgstr "" msgstr ""
#: events/templates/events/join_team.html:24 #: src/events/templates/events/join_team.html:24
msgid "Maximum size reached." msgid "Maximum size reached."
msgstr "" msgstr ""
#: events/templates/events/manage_team.html:26 #: src/events/templates/events/manage_team.html:26
msgid "Team password" msgid "Team password"
msgstr "" msgstr ""
#: events/templates/events/manage_team.html:44 #: src/events/templates/events/manage_team.html:29
#: events/templates/events/team.html:49 msgid "Apply"
msgstr ""
#: src/events/templates/events/manage_team.html:44
#: src/events/templates/events/team.html:49
msgid "Members" msgid "Members"
msgstr "" msgstr ""
#: events/templates/events/manage_team.html:51 #: src/events/templates/events/manage_team.html:52
msgid "Leave Team" msgid "Leave Team"
msgstr "" msgstr ""
#: events/templates/events/team.html:38 #: src/events/templates/events/manage_team.html:59
msgid "Open to automatching"
msgstr ""
#: src/events/templates/events/manage_team.html:66
msgid "Close to automatching"
msgstr ""
#: src/events/templates/events/team.html:38
msgid "It seems that this team has not solved any challenge yet..." msgid "It seems that this team has not solved any challenge yet..."
msgstr "" msgstr ""
#: home/templates/home/home.html:20 #: src/home/templates/home/home.html:21
msgid "Weekly Top 5" msgid "Weekly Top 5"
msgstr "" msgstr ""
#: home/templates/home/home.html:56 #: src/home/templates/home/home.html:48
msgid "No article available." msgid "No article available."
msgstr "" msgstr ""
#: home/templates/home/home.html:61 #: src/home/templates/home/home.html:53
msgid "Latest challenges added" msgid "Latest challenges added"
msgstr "" msgstr ""
#: home/templates/home/home.html:66 #: src/home/templates/home/home.html:58
msgid "points" msgid "points"
msgstr "" msgstr ""
#: home/templates/home/home.html:70 #: src/home/templates/home/home.html:62
msgid "No ctf available." msgid "No ctf available."
msgstr "" msgstr ""
#: home/templates/home/home.html:74 #: src/home/templates/home/home.html:66
msgid "Latest Flags" msgid "Latest Flags"
msgstr "" msgstr ""
#: home/templates/home/home.html:88 #: src/home/templates/home/home.html:80
msgid "Flags" msgid "Flags"
msgstr "" msgstr ""
#: home/templates/home/home.html:94 #: src/home/templates/home/home.html:86
msgid "Users" msgid "Users"
msgstr "" msgstr ""
#: project/settings.py:115 #: src/project/settings.py:116
msgid "English" msgid "English"
msgstr "" msgstr ""
#: project/settings.py:116 #: src/project/settings.py:117
msgid "German" msgid "German"
msgstr "" msgstr ""
#: project/settings.py:117 #: src/project/settings.py:118
msgid "French" msgid "French"
msgstr "" msgstr ""
#: project/settings.py:118 #: src/project/settings.py:119
msgid "Russian" msgid "Russian"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:38 #: src/project/settings.py:120
msgid "Japanese"
msgstr ""
#: src/project/settings.py:121
msgid "Spanish"
msgstr ""
#: src/scoreboard/templates/scoreboard/scoreboard.html:15
msgid "Campus"
msgstr ""
#: src/scoreboard/templates/scoreboard/scoreboard.html:46
msgid "First" msgid "First"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:39 #: src/scoreboard/templates/scoreboard/scoreboard.html:47
msgid "Previous" msgid "Previous"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:43 #: src/scoreboard/templates/scoreboard/scoreboard.html:51
msgid "Page " msgid "Page "
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:47 #: src/scoreboard/templates/scoreboard/scoreboard.html:55
msgid "Next" msgid "Next"
msgstr "" msgstr ""
#: scoreboard/templates/scoreboard/scoreboard.html:48 #: src/scoreboard/templates/scoreboard/scoreboard.html:56
msgid "Last" msgid "Last"
msgstr "" msgstr ""
#: templates/base.html:59 #: src/templates/base.html:62
msgid "Scoreboard" msgid "Scoreboard"
msgstr "" msgstr ""
#: templates/base.html:64 #: src/templates/base.html:83
msgid "Resources" msgid "Become a member"
msgstr "" msgstr ""
#: templates/base.html:93 #: src/templates/base.html:93
msgid "Logout" msgid "Logout"
msgstr "" msgstr ""
#: templates/base.html:100 #: src/templates/base.html:100
msgid "Sign Up" msgid "Sign Up"
msgstr "" msgstr ""
#: templates/base.html:135 #: src/templates/registration/password_reset_complete.html:11
msgid "Become a Patron!"
msgstr ""
#: templates/registration/password_reset_complete.html:11
msgid "Your new password has been set." msgid "Your new password has been set."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:20 #: src/templates/registration/password_reset_confirm.html:20
msgid "Your password cant be too similar to your other personal information." msgid "Your password cant be too similar to your other personal information."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:21 #: src/templates/registration/password_reset_confirm.html:21
msgid "Your password must contain at least 8 characters." msgid "Your password must contain at least 8 characters."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:22 #: src/templates/registration/password_reset_confirm.html:22
msgid "Your password cant be a commonly used password." msgid "Your password cant be a commonly used password."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:23 #: src/templates/registration/password_reset_confirm.html:23
msgid "Your password cant be entirely numeric." msgid "Your password cant be entirely numeric."
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:26 #: src/templates/registration/password_reset_confirm.html:26
msgid "Confirm" msgid "Confirm"
msgstr "" msgstr ""
#: templates/registration/password_reset_confirm.html:28 #: src/templates/registration/password_reset_confirm.html:28
msgid "Submit" msgid "Submit"
msgstr "" msgstr ""
#: templates/registration/password_reset_done.html:11 #: src/templates/registration/password_reset_done.html:11
msgid "" msgid ""
"We've emailed you instructions for setting your password. You should receive " "We've emailed you instructions for setting your password. You should receive "
"the email shortly!" "the email shortly!"
msgstr "" msgstr ""
#: templates/registration/password_reset_form.html:16 #: src/templates/registration/password_reset_form.html:16
msgid "Reset" msgid "Reset"
msgstr "" msgstr ""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,8 @@ INSTALLED_APPS = [
'scoreboard.apps.ScoreboardConfig', 'scoreboard.apps.ScoreboardConfig',
'resources.apps.ResourcesConfig', 'resources.apps.ResourcesConfig',
'django.contrib.sites', 'django.contrib.sites',
'api.apps.ApiConfig',
'django.contrib.sitemaps',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
@ -150,7 +152,10 @@ TEMPLATES[0]['OPTIONS']['context_processors'].append("ctfs.context_processors.ca
MEDIA_URL = '/media/' MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media') MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
LOGIN_URL = '/accounts/signin/' LOGIN_URL = '/accounts/signin/'
EMAIL_BACKEND = 'django_mailjet.backends.MailjetBackend' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = 'in-v3.mailjet.com' EMAIL_HOST = 'mail.42ctf.local'
EMAIL_PORT = 587 EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = '42ctf <no-reply@42ctf.org>' EMAIL_USE_TLS = True
EMAIL_HOST_USER = os.getenv("EMAIL_USER")
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_PASSWORD")
DEFAULT_FROM_EMAIL = '42CTF <no-reply@42ctf.org>'

View File

@ -24,6 +24,7 @@ urlpatterns = [
path('', include('home.urls')), path('', include('home.urls')),
path('set_lang/<str:lang_code>', home.views.set_language, name="set_language"), path('set_lang/<str:lang_code>', home.views.set_language, name="set_language"),
path('dashboard/secret/admin', admin.site.urls), path('dashboard/secret/admin', admin.site.urls),
path('api/', include('api.urls'))
] ]
urlpatterns += i18n_patterns( urlpatterns += i18n_patterns(

View File

@ -7,8 +7,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: 2022-02-04 05:53+0100\n" "PO-Revision-Date: 2022-02-10 19:27+0100\n"
"Last-Translator: Clément Hamada <clementhamada@pm.me>\n" "Last-Translator: Clément Hamada <clementhamada@pm.me>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: de\n" "Language: de\n"
@ -17,15 +17,15 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: resources/templates/resources/42ctf.html:7 #: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "Was ist 42CTF?" msgstr "Was ist 42CTF?"
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "Eine kurze Einführung zu CTF" msgstr "Eine kurze Einführung zu CTF"
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
@ -35,65 +35,67 @@ msgstr ""
"indem Teilnehmer Herausforderungen verschiedener Kategorien lösen müssen um " "indem Teilnehmer Herausforderungen verschiedener Kategorien lösen müssen um "
"die meisten Punkte zu verdienen." "die meisten Punkte zu verdienen."
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
"The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr "" msgstr ""
"Die Herausforderungen bestehen darin eine Art Passwort zu finden: sogenannte " "Die Herausforderungen bestehen darin eine Art Passwort zu finden: sogenannte "
"\\" "\\"
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "Funktionsweise von 42CTF" msgstr "Funktionsweise von 42CTF"
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "42CTF ist ein sogenanntes Dauer-CTF." msgstr "42CTF ist ein sogenanntes Dauer-CTF."
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "Außer bei" msgstr "Außer bei"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "Ereignissen" msgstr "Ereignissen"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "sind Herausforderungen auf der Plattform unbegrenzt zugänglich." msgstr "sind Herausforderungen auf der Plattform unbegrenzt zugänglich."
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "" msgstr ""
"Die Registrierung bei 42CTF ist für jeden offen, ob 42-Student oder nicht." "Die Registrierung bei 42CTF ist für jeden offen, ob 42-Student oder nicht."
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
msgstr "" msgstr ""
"Ereignisse können öffentlich oder privat sein. Wenn Sie ein Ereignisse bei " "Ereignisse können öffentlich oder privat sein. Wenn Sie ein Ereignis bei "
"42CTF organisieren möchten, kontaktieren Sie uns." "42CTF organisieren möchten, kontaktieren Sie uns."
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "das 42CTF Team" msgstr "das 42CTF Team"
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "42CTF wird von 42-Studenten verwaltet." msgstr "42CTF wird von 42-Studenten verwaltet."
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "Treffen können Sie das Team auf" msgstr "Treffen können Sie das Team auf"
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr ""
"Herausforderungen werden von verschiedenen Mitwirkende beigetragen, nicht " "Herausforderungen werden von verschiedenen Mitwirkende beigetragen, nicht "
"zwingend 42-Studenten." "zwingend 42-Studenten."
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
@ -101,199 +103,185 @@ msgstr ""
"Beiträge sind von jedem willkommen, entweder auf dem Dauer-CTF, oder für ein " "Beiträge sind von jedem willkommen, entweder auf dem Dauer-CTF, oder für ein "
"bestimmtes Ereignis." "bestimmtes Ereignis."
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Become a 42CTF member"
msgstr "42CTF-Mitglied werden"
#: src/resources/templates/resources/becomeMember.html:13
#, fuzzy
#| msgid "Become a 42CTF member"
msgid "Why should I become a 42CTF member ?"
msgstr "42CTF-Mitglied werden"
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
"Weitere Vorteile können später folgen, und Sie können uns Ihre Ideen "
"mitteilen."
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges" msgid "Create new challenges"
msgstr "Erstelle neue Herausforderungen" msgstr "Erstelle neue Herausforderungen"
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "" msgstr ""
"Falls Sie Herausforderungen für 42CTF erstellen möchten, schicken Sie uns " "Falls Sie Herausforderungen für 42CTF erstellen möchten, schicken Sie uns "
"eine Nachricht auf " "eine Nachricht auf "
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "" msgstr ""
"Falls Ihre Herausforderung offline ist, müssen Sie uns nicht im voraus " "Falls Ihre Herausforderung offline ist, müssen Sie uns nicht im voraus "
"fragen." "fragen."
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
"Falls Ihre Herausforderung online ist (z.B. web oder pwn), dann sollten sie " "Falls Ihre Herausforderung online ist (z.B. web oder pwn), dann sollten Sie "
"uns eine kurze Beschreibung von dessen was sie vorhaben geben." "uns eine kurze Beschreibung Ihres Vorhabens geben."
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr ""
"Wir können Ihnen helfen oder Ressourcen sowie Dockerfiles zur Verfügung " "Wir können Ihnen helfen oder Ressourcen sowie Dockerfiles zur Verfügung "
"stellen." "stellen."
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "Wir haben vor diese Ressourcen in naher Zukunft zu veröffentlichen." msgstr "Wir haben vor diese Ressourcen in naher Zukunft zu veröffentlichen."
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "Spenden" msgstr "Spenden"
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr "42CTF-Mitglied werden"
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr ""
"42CTF ist eine gemeinnützige Organisation mit einem Rechtsstatus nach "
"französischem Recht (Association loi 1901)."
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr ""
"Sie können uns unterstützen indem Sie Mitglied werden und 15 Euro zahlen."
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr "Die Mitgliedschaft wird dann für ein Jahr gewährt."
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr "Wenn sie Mitglied werden, bekommen sie folgende Vorteile:"
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
"Eine verschiedene Farbe für Ihren Nutzernamen im Punktestand, sodass jeder "
"weiß dass Sie ein Mitglied sind."
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
"Die Möglichkeit einen vergangenen CTF zu wiederholen, mit Herausforderungen "
"die nicht mehr verfügbar sind, in Form von privaten Ereignissen mit Menschen "
"Ihrer Wahl."
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
"Z.B.: Sie haben am Welcome CTF 2021 teilgenommen, und wollen es mit Ihren "
"Freunden an einem Wochenende wiederholen."
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr ""
"Oder sie haben nicht am Welcome CTF 2021 teilgenommen weil sie nicht "
"berechtigt waren."
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
"Weitere Vorteile können später folgen, und Sie können uns Ihre Ideen "
"mitteilen."
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
"Trotzdem werden wir keine zeitlich begrenzte CTFs nur für Mitglieder "
"organisieren, da diese Zahlungspflichtige Ereignissen gleichen, und wir "
"42CTF KOSTENLOS für alle zugänglich behalten wollen."
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr "An 42CTF spenden"
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
"Folgende Zahlungsmethoden sind für eine Spende an 42CTF den Kauf einer "
"Mitgliedshaft verfügbar:"
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
msgstr "" msgstr ""
"Falls Sie möchten, dass wir eine andere Zahlungsmethode hinzufügen oder " "Falls Sie möchten, dass wir eine andere Zahlungsmethode hinzufügen oder "
"lieber Bar zahlen möchten, schicken sie uns eine Nachricht!" "lieber Bar zahlen möchten, schicken Sie uns eine Nachricht!"
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
"Falls sie für eine Mitgliedschaft zahlen, vergessen sie nicht uns Ihren vor "
"und Nachnamen, sowie Ihren 42CTF Nutzernamen mitzuteilen."
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
"Wir verwenden diese Daten nur um den Überblick über unsere Mitglieder zu "
"Behalten und ihnen Vorteile zu bieten, und werden sie niemals an einem "
"Dritten übermitteln."
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "Diese Seite bearbeiten" msgstr "Diese Seite bearbeiten"
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
"Weitere Information wird folgen, doch sowie Sie es erraten können benötigt " "Weitere Information wird folgen, doch sowie Sie es erraten können benötigt "
"es eine Pull Request auf ihrer lieblings" "es eine Pull Request auf Ihrer lieblings"
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "Empfohlene Werkzeuge" msgstr "Empfohlene Werkzeuge"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "" msgstr "Zum beginnen haben wir eine VM erstellt die Sie einfach auf"
"Zum beginnen haben wir eine VM erstellt die Sie einfach importieren können"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "mit vielen nützlichen Werkzeugen." msgstr "importieren können, mit vielen nützlichen Werkzeugen."
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "Herunterladen können Sie die OVA" msgstr "Herunterladen können Sie die OVA"
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "Hier" msgstr "Hier"
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "Folgende Werkzeuge sind auf der VM vorinstalliert:" msgstr "Folgende Werkzeuge sind auf der VM vorinstalliert:"
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
msgstr "" msgstr ""
"Falls sie die Herausforderung auf Ihrer eigenen Maschine lösen möchten, " "Falls Sie die Herausforderung auf Ihrer eigenen Maschine lösen möchten, "
"empfehlen wir Ihnen einen Linux Betriebssystem zu verwenden." "empfehlen wir Ihnen einen Linux Betriebssystem zu verwenden."
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
@ -301,50 +289,41 @@ msgstr ""
"Die meisten Reverse-Engineering Herausforderungen sind ELF-Binärdateien und " "Die meisten Reverse-Engineering Herausforderungen sind ELF-Binärdateien und "
"können auf macOS oder Windows nicht ausgeführt werden." "können auf macOS oder Windows nicht ausgeführt werden."
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "Zusätzlich, werden sie folgende Skript-Interpreter benötigen:" msgstr "Zusätzlich, werden Sie folgende Skript-Interpreter benötigen:"
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "42CTF Übersetzen" msgstr "42CTF Übersetzen"
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "42CTF's Quellcode ist öffentlich zugänglich auf dieser" msgstr "42CTF's Quellcode ist öffentlich zugänglich auf"
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
"accessible." "accessible."
msgstr "" msgstr ""
"Übersetzung benötigt keine Programmierkenntnisse und ist ein gute " "Übersetzung benötigt keine Programmierkenntnisse und ist ein gute "
"Möglichkeit beizutragen wenn sie uns helfen möchten, indem Sie diese " "Möglichkeit beizutragen wenn Sie uns helfen möchten, indem Sie diese "
"Plattform immer zugänglicher machen." "Plattform immer zugänglicher machen."
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "Wir haben einen" msgstr "Wir haben einen"
# FIXME: internalization -> internationalization # FIXME: internalization -> internationalization
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
"indem beschrieben wird wie man mit dem Django Internationalisierungsmodul " "indem beschrieben wird wie man mit dem Django Internationalisierungsmodul "
"Seiten übersetzt." "Seiten übersetzt."
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
"Wir laden Sie dazu ein es zu lesen um alle Einzelheiten zur Kenntnis zu "
"nehmen, doch schrecken Sie sich nicht ab, es ist nichts mehr als "
"Textverarbeitung, keine Programmierkenntnisse sind benötigt ;)"
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
@ -354,6 +333,92 @@ msgstr ""
"eine Pull Request eröffnen, sodass wir Ihre Beiträge in unsere Repository " "eine Pull Request eröffnen, sodass wir Ihre Beiträge in unsere Repository "
"mergen können." "mergen können."
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "Zögern Sie nicht, nach Hilfe zu bitten auf" msgstr "Zögern Sie nicht, nach Hilfe zu bitten auf"
#~ msgid ""
#~ "42CTF is a non-profit organization with a legal status under the french "
#~ "law (Association loi 1901)."
#~ msgstr ""
#~ "42CTF ist eine gemeinnützige Organisation mit einem Rechtsstatus nach "
#~ "französischem Recht (Association loi 1901)."
#~ msgid ""
#~ "You can support us by becoming a member and paying a fee of 15 euros."
#~ msgstr ""
#~ "Sie können uns unterstützen indem Sie Mitglied werden und 15 Euro zahlen."
#~ msgid "Membership is then granted for 1 year."
#~ msgstr "Die Mitgliedschaft wird dann ein Jahr lang gewährt."
#~ msgid "When you become a member, you gain the following advantages:"
#~ msgstr "Wenn Sie Mitglied werden, bekommen Sie folgende Vorteile:"
#~ msgid ""
#~ "A different color for your pseudo in the scoreboard, to let everyone know "
#~ "you're a member."
#~ msgstr ""
#~ "Eine verschiedene Farbe für Ihren Nutzernamen im Punktestand, sodass "
#~ "jeder weiß dass Sie ein Mitglied sind."
#~ msgid ""
#~ "The possibility to play again past CTF, with challenges no longer "
#~ "available, in the form of private events with the people of your choice."
#~ msgstr ""
#~ "Die Möglichkeit einen vergangenen CTF zu wiederholen, mit "
#~ "Herausforderungen die nicht mehr verfügbar sind, in Form von privaten "
#~ "Ereignissen mit Menschen Ihrer Wahl."
#~ msgid ""
#~ "Ex: you played Welcome CTF 2021, and want to play it again with your "
#~ "friends during one weekend."
#~ msgstr ""
#~ "Z.B.: Sie haben am Welcome CTF 2021 teilgenommen, und wollen es mit Ihren "
#~ "Freunden an einem Wochenende wiederholen."
#~ msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
#~ msgstr ""
#~ "Oder Sie haben nicht am Welcome CTF 2021 teilgenommen weil Sie nicht dazu "
#~ "berechtigt waren."
#~ msgid ""
#~ "However, we will not organize limited time CTF for members only, as this "
#~ "will be equivalent to organize paid events, and we want 42CTF to remain "
#~ "FREE for all."
#~ msgstr ""
#~ "Trotzdem werden wir keine zeitlich begrenzte CTFs nur für Mitglieder "
#~ "organisieren, da diese Zahlungspflichtige Ereignissen gleichen, und wir "
#~ "42CTF KOSTENLOS für alle zugänglich behalten wollen."
#~ msgid "Donate to 42CTF"
#~ msgstr "An 42CTF spenden"
#~ msgid ""
#~ "You can donate to 42CTF or pay your membership with the following means:"
#~ msgstr ""
#~ "Folgende Zahlungsmethoden sind für eine Spende an 42CTF oder den Kauf "
#~ "einer Mitgliedshaft verfügbar:"
#~ msgid ""
#~ "If you're paying for your membership, don't forget to send us your first "
#~ "and last name, as well as your 42CTF pseudo."
#~ msgstr ""
#~ "Falls Sie für eine Mitgliedschaft zahlen, vergessen Sie nicht uns Ihren "
#~ "vor und Nachnamen, sowie Ihren 42CTF Nutzernamen mitzuteilen."
#~ msgid ""
#~ "We will only use thoe data to keep track of our members and grant you "
#~ "advantages, and we will never communicate them to any third party."
#~ msgstr ""
#~ "Wir verwenden diese Daten nur um den Überblick über unsere Mitglieder zu "
#~ "Behalten und ihnen Vorteile zu bieten, und werden Sie niemals an einem "
#~ "Dritten übermitteln."
#~ msgid ""
#~ "We invite you to read it to know all the details, but it merely requires "
#~ "you to edit text files, so you see, no programming skills required ;)"
#~ msgstr ""
#~ "Wir laden Sie dazu ein es zu lesen um alle Einzelheiten zur Kenntnis zu "
#~ "nehmen, doch schrecken Sie sich nicht ab, es ist nichts mehr als "
#~ "Textverarbeitung, keine Programmierkenntnisse sind benötigt ;)"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,278 +18,281 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: resources/templates/resources/42ctf.html:7 #: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
"and progress on the scoreboard." "and progress on the scoreboard."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
"The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Become a 42CTF member"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:13
msgid "Why should I become a 42CTF member ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges" msgid "Create new challenges"
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr ""
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr ""
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr ""
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr ""
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr ""
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr ""
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr ""
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
"accessible." "accessible."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
"repository." "repository."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: 2022-02-09 10:55+0100\n" "PO-Revision-Date: 2022-02-09 10:55+0100\n"
"Last-Translator: Javier Uhagón (uhagontorralvojavier@gmail.com)\n" "Last-Translator: Javier Uhagón (uhagontorralvojavier@gmail.com)\n"
"Language-Team: \n" "Language-Team: \n"
@ -18,53 +18,58 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: resources/templates/resources/42ctf.html:7 #: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "¿ Qué es 42CTF ?" msgstr "¿ Qué es 42CTF ?"
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "Una corta introducción a CTF" msgstr "Una corta introducción a CTF"
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
"and progress on the scoreboard." "and progress on the scoreboard."
msgstr "" msgstr ""
"CTF significa Capture the Flag. Es una competición de ciberseguridad, en la que " "CTF significa Capture the Flag. Es una competición de ciberseguridad, en la "
"los participantes tienen que resolver retos de diferentes categorías para ganar puntos " "que los participantes tienen que resolver retos de diferentes categorías "
"y progresar en la Tabla de puntos." "para ganar puntos y progresar en la Tabla de puntos."
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
msgstr "Los retos requieren que los participantes encuentren unas contraseñas llamadas \\" "The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr ""
"Los retos requieren que los participantes encuentren unas contraseñas "
"llamadas \\"
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "Funcionamiento de 42CTF" msgstr "Funcionamiento de 42CTF"
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "42CTF es lo que llamamos un CTF permanente." msgstr "42CTF es lo que llamamos un CTF permanente."
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "A excepción de" msgstr "A excepción de"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "eventos" msgstr "eventos"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "los retos están disponibles en la plataforma sin limites de tiempo." msgstr "los retos están disponibles en la plataforma sin limites de tiempo."
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "El registro a 42CTF está abierto a todo el mundo, estudiantes de 42 o no." msgstr ""
"El registro a 42CTF está abierto a todo el mundo, estudiantes de 42 o no."
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
@ -72,143 +77,132 @@ msgstr ""
"Los eventos pueden o no estar abiertos. Si quieres organizar un evento en " "Los eventos pueden o no estar abiertos. Si quieres organizar un evento en "
"42CTF, sientete libre de contactarnos." "42CTF, sientete libre de contactarnos."
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "Equipo de 42CTF" msgstr "Equipo de 42CTF"
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "42CTF está gestionado por estudiantes de 42." msgstr "42CTF está gestionado por estudiantes de 42."
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "Puedes conocer al equipo en" msgstr "Puedes conocer al equipo en"
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr ""
"Los retos son creados por varios contribuidores, no necesariamente estudiantes de 42." "Los retos son creados por varios contribuidores, no necesariamente "
"estudiantes de 42."
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
msgstr "" msgstr ""
"Todo el mundo está bienvenido a publicar sus propios retos, en el CTF permanente o en " "Todo el mundo está bienvenido a publicar sus propios retos, en el CTF "
"un evento en específico." "permanente o en un evento en específico."
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Become a 42CTF member"
msgstr "Convertirse en un miembro de 42CTF"
#: src/resources/templates/resources/becomeMember.html:13
#, fuzzy
#| msgid "Become a 42CTF member"
msgid "Why should I become a 42CTF member ?"
msgstr "Convertirse en un miembro de 42CTF"
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr "Más ideas llegarán pronto, y puedes enviarnos ideas."
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges" msgid "Create new challenges"
msgstr "Crear retos nuevos" msgstr "Crear retos nuevos"
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "Si quieres crear nuevos retos para 42CTF, mandanos un mensaje en " msgstr "Si quieres crear nuevos retos para 42CTF, mandanos un mensaje en "
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "Si tu reto es offline, no nos tienes que avisar por adelantado." msgstr "Si tu reto es offline, no nos tienes que avisar por adelantado."
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
"Si tu evento es online (por ejemplo web o pwn), entonces deberias " "Si tu evento es online (por ejemplo web o pwn), entonces deberias mandarnos "
"mandarnos una corta descripción de lo que quieres hacer." "una corta descripción de lo que quieres hacer."
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr "Podemos ser de ayuda o darte recursos como dockerfiles."
"Podemos ser de ayuda o darte recursos como dockerfiles."
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "Planeamos publicar estos recursos al publico en un futuro cercano." msgstr "Planeamos publicar estos recursos al publico en un futuro cercano."
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "Donar" msgstr "Donar"
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr "Convertirse en un miembro de 42CTF"
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr ""
"42CTF es una organización sin ánimo de lucro bajo un estatus legal bajo la ley francesa "
"(loi de asociación 1901)."
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr "Puedes apoyarnos convirtiendote en un miebro y pagandonos una comisión de 15 euros."
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr "La membresia dura 1 año."
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr "Cuando te conviertes en un miembro, ganas las siguientes ventajas:"
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
"Un color diferente para tu pseudo en la tabla de puntuaciones para "
"que todo el mundo sepa que eres un miembro."
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
"La posibilidad e jugar un CTF del pasado, con retos que ya no están disponibles, "
"crear eventos privados con gente de tu elección."
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
"Ejemplo: Si jugaste CTF 2021, y quieres volverlo a jugar con tus amigos "
"durante un fin de semana."
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr "O no jugaste el Welcome CTF 2021 porque no estabas disponible."
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr "Más ideas llegarán pronto, y puedes enviarnos ideas."
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
"Sin embargo, no organizaremos CTF de tiempo limitado para miembros, ya que "
"esto sería equivalente a organizar eventos de pago, y queremos mantener 42CTF "
"GRATIS para todos."
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr "Dona a 42CTF"
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
"Puedes donar a 42CTF o pagar tu membresía con los siguientes métodos de pago:"
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
@ -216,59 +210,65 @@ msgstr ""
"Si quieres que añadamos otro metodo de pago o quieres pagarnos en efectivo " "Si quieres que añadamos otro metodo de pago o quieres pagarnos en efectivo "
"¡Mandanos un mensaje!" "¡Mandanos un mensaje!"
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
"Si estás pagando por tu membresía, no olvides mandarnos tu nombre y apellido, también "
"tu nombre de usuario en 42CTF"
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
"Solo usarmos los datos para tener control de la lista de miembros y darte "
"las ventajas de miembro, nunca se los daremos a ningún tercero."
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "Editar esta página" msgstr "Editar esta página"
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
"Más información llegará pronto, pero como puedes imaginar requiere hacer un pull request " "Más información llegará pronto, pero como puedes imaginar requiere hacer un "
"a tu favorito" "pull request a tu favorito"
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "Herramientas Recomendadas" msgstr "Herramientas Recomendadas"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "Para empezar, hemos creado una Máquina Virtual que simplemente puedes importar." msgstr ""
"Para empezar, hemos creado una Máquina Virtual que simplemente puedes "
"importar."
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "con unas cuantas herramientas útiles." msgstr "con unas cuantas herramientas útiles."
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "Puedes descargar este OVA" msgstr "Puedes descargar este OVA"
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "aquí" msgstr "aquí"
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "Aquí están las herramientas instaladas en la Máquina Virtual:" msgstr "Aquí están las herramientas instaladas en la Máquina Virtual:"
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
@ -276,7 +276,7 @@ msgstr ""
"Si quieres resolver los retos en tu propia máquina, te recomendamos usar " "Si quieres resolver los retos en tu propia máquina, te recomendamos usar "
"Linux como sistema operativo." "Linux como sistema operativo."
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
@ -284,19 +284,19 @@ msgstr ""
"La mayoría de retos de ingeniería inversa usan binarios ELF y no funcionarán " "La mayoría de retos de ingeniería inversa usan binarios ELF y no funcionarán "
"en Mac OS o Windows." "en Mac OS o Windows."
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "Además, necesitarás tender los siguientes interpretes de lenguaje:" msgstr "Además, necesitarás tender los siguientes interpretes de lenguaje:"
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "Traducir 42CTF" msgstr "Traducir 42CTF"
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "El código de 42CTF está disponible al público aquí" msgstr "El código de 42CTF está disponible al público aquí"
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
@ -306,34 +306,110 @@ msgstr ""
"contribuir si quieres ayudarnos, haciendo la plataforma siempre más " "contribuir si quieres ayudarnos, haciendo la plataforma siempre más "
"accesible." "accesible."
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "Tenemos un" msgstr "Tenemos un"
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
"Describiendo como traducir las páginas con el modulo de internacionalización Django." "Describiendo como traducir las páginas con el modulo de internacionalización "
"Django."
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
"Te invitamos a leerlo para conocer todos los detalles, pero simplemente rquiere "
"que edites archivos de texto, asi que como ves, no hace falta saber programar ;)"
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
"repository." "repository."
msgstr "" msgstr ""
"Vas a necesitar hacer un Fork del repositorio de git, hacer tus cambios, hacer un push y " "Vas a necesitar hacer un Fork del repositorio de git, hacer tus cambios, "
"entonces abrir un Pull request para que podamos hacer merge de tus cambios a " "hacer un push y entonces abrir un Pull request para que podamos hacer merge "
"nuestro repositorio." "de tus cambios a nuestro repositorio."
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "No dudes en pedirnos ayuda" msgstr "No dudes en pedirnos ayuda"
#~ msgid ""
#~ "42CTF is a non-profit organization with a legal status under the french "
#~ "law (Association loi 1901)."
#~ msgstr ""
#~ "42CTF es una organización sin ánimo de lucro bajo un estatus legal bajo "
#~ "la ley francesa (loi de asociación 1901)."
#~ msgid ""
#~ "You can support us by becoming a member and paying a fee of 15 euros."
#~ msgstr ""
#~ "Puedes apoyarnos convirtiendote en un miebro y pagandonos una comisión de "
#~ "15 euros."
#~ msgid "Membership is then granted for 1 year."
#~ msgstr "La membresia dura 1 año."
#~ msgid "When you become a member, you gain the following advantages:"
#~ msgstr "Cuando te conviertes en un miembro, ganas las siguientes ventajas:"
#~ msgid ""
#~ "A different color for your pseudo in the scoreboard, to let everyone know "
#~ "you're a member."
#~ msgstr ""
#~ "Un color diferente para tu pseudo en la tabla de puntuaciones para que "
#~ "todo el mundo sepa que eres un miembro."
#~ msgid ""
#~ "The possibility to play again past CTF, with challenges no longer "
#~ "available, in the form of private events with the people of your choice."
#~ msgstr ""
#~ "La posibilidad e jugar un CTF del pasado, con retos que ya no están "
#~ "disponibles, crear eventos privados con gente de tu elección."
#~ msgid ""
#~ "Ex: you played Welcome CTF 2021, and want to play it again with your "
#~ "friends during one weekend."
#~ msgstr ""
#~ "Ejemplo: Si jugaste CTF 2021, y quieres volverlo a jugar con tus amigos "
#~ "durante un fin de semana."
#~ msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
#~ msgstr "O no jugaste el Welcome CTF 2021 porque no estabas disponible."
#~ msgid ""
#~ "However, we will not organize limited time CTF for members only, as this "
#~ "will be equivalent to organize paid events, and we want 42CTF to remain "
#~ "FREE for all."
#~ msgstr ""
#~ "Sin embargo, no organizaremos CTF de tiempo limitado para miembros, ya "
#~ "que esto sería equivalente a organizar eventos de pago, y queremos "
#~ "mantener 42CTF GRATIS para todos."
#~ msgid "Donate to 42CTF"
#~ msgstr "Dona a 42CTF"
#~ msgid ""
#~ "You can donate to 42CTF or pay your membership with the following means:"
#~ msgstr ""
#~ "Puedes donar a 42CTF o pagar tu membresía con los siguientes métodos de "
#~ "pago:"
#~ msgid ""
#~ "If you're paying for your membership, don't forget to send us your first "
#~ "and last name, as well as your 42CTF pseudo."
#~ msgstr ""
#~ "Si estás pagando por tu membresía, no olvides mandarnos tu nombre y "
#~ "apellido, también tu nombre de usuario en 42CTF"
#~ msgid ""
#~ "We will only use thoe data to keep track of our members and grant you "
#~ "advantages, and we will never communicate them to any third party."
#~ msgstr ""
#~ "Solo usarmos los datos para tener control de la lista de miembros y darte "
#~ "las ventajas de miembro, nunca se los daremos a ningún tercero."
#~ msgid ""
#~ "We invite you to read it to know all the details, but it merely requires "
#~ "you to edit text files, so you see, no programming skills required ;)"
#~ msgstr ""
#~ "Te invitamos a leerlo para conocer todos los detalles, pero simplemente "
#~ "rquiere que edites archivos de texto, asi que como ves, no hace falta "
#~ "saber programar ;)"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,300 +18,336 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n" "Plural-Forms: nplurals=2; plural=(n > 1);\n"
#: resources/templates/resources/42ctf.html:7 #: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "Qu'est ce que 42CTF ?" msgstr "Qu'est-ce que 42CTF ?"
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "Une brève introduction aux CTF" msgstr "Une brève introduction aux CTF"
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
"and progress on the scoreboard." "and progress on the scoreboard."
msgstr "" msgstr ""
"CTF signifie \"Capture The Flag\". C'est une compétition de cybersécurité où "
"les participants doivent résoudre des challenges dans différentes catégories "
"pour gagner des points et progresser dans le classement."
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
"The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr "" msgstr ""
"Les challenges demandent aux participants de trouver des sortes de mots de "
"passe appelés \"flags\" et de les soumettre sur la plateforme."
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "" msgstr "Fonctionnement de 42CTF"
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "" msgstr "42CTF est ce qu'on appelle un CTF permanent."
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "" msgstr "Sauf pour les"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "" msgstr "évènements"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "" msgstr ""
"les challenges sont disponnibles sur la plateforme sans limites de temps."
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "" msgstr "L'inscription à 42CTF est ouverte à tous, étudiant de 42 ou non."
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
msgstr "" msgstr ""
"Les évènements peuvent être publics ou non. Si tu souhaites organiser un "
"évènement sur 42CTF, n'hésite pas à nous contacter."
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "" msgstr "Équipe de 42CTF"
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "" msgstr "42CTF est géré par des étudiants de 42"
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "" msgstr "Tu peux rencontrer l'équipe sur"
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr ""
"Les challenges sont créés par divers contributeurs, pas nécessairement des "
"étudiants de 42."
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
msgstr "" msgstr ""
"Tout le monde est invité à soumettre ses propres défis, que ce soit sur le "
"CTF permanent ou pour un évènement spécifique."
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Create new challenges" msgid "Become a 42CTF member"
msgstr "Adhérer à 42CTF"
#: src/resources/templates/resources/becomeMember.html:13
#, fuzzy
#| msgid "Become a 42CTF member"
msgid "Why should I become a 42CTF member ?"
msgstr "Pourquoi devrais-je adhérer à 42CTF ?"
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr ""
"\n"
" 42CTF est une Association loi 1901 (France).<br>\n"
" Maintenir une plateforme de CTF coûte de l'argent, et nous ne sommes actuellement financés par personne à part toi.<br>\n"
" Tu peux adhérer à 42CTF si tu veux soutenir notre activité :) \n"
" "
#: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr "Je veux adhérer !"
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr "Bienvenue ! Pour adhérer, il suffit de nous donner 15 euros et ton adhésion sera valable pour une année complète."
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr "Si tu souhaite utiliser un autre mode de paiment, n'hésite pas à nous contacter !"
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr "Qu'est ce que j'y gagne ?"
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
"\n"
" - Une <span class='is-member'>couleur différente</span> pour ton "
"pseudo dans le scoreboard, pour que tout le monde sache que tu as adhéré.<br>\n"
" - La possibilité de (re)jouer les CTFs passés, dont les challenges ne sont plus disponibles, sous la forme d'un évènement privé avec les personnes de ton choix."
"<br>\n"
" "
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
"Plus d'avantages pourraient être disponibles plus tard, et tu peux nous "
"soumettre vos idées."
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges"
msgstr "Créer de nouveaux challenges"
#: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "" msgstr ""
"Si tu souhaites créer de nouveaux challenges pour 42CTF, envoie-nous un "
"message sur "
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "" msgstr ""
"Si ton challenge est hors ligne, tu n'as pas besoin de nous demander à "
"l'avance."
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
"Si ton challenge est en ligne (par exemple web or pwn), alors tu devras "
"nous donner une courte description de ce que tu veux faire."
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr ""
"Nous pouvons être en mesure de t'aider ou de te fournir des ressources "
"comme des dockerfiles."
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "" msgstr ""
"Nous prévoyons de rendre ces ressources accessibles au public dans un avenir "
"proche."
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "Donner" msgstr "Donner"
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr "Devenez membre de 42CTF"
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr "42CTF est une association loi 1901 (loi française)."
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr ""
"Vous pouvez nous aider financièrement en devenant membre, au cout de 15 "
"euros."
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr "Le status de membre est valable 1 an au paiement de la cotisation."
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr "Lorsque vous adherez à 42CTF, vous obtenez les avantages suivants :"
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
"Une couleur différente pour votre pseudo sur le scoreboard, pour que tout le "
"monde sache que vous êtes membre."
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
"La possibilité de jouer de nouveau aux CTF passés, avec des challenges qui "
"ne sont plus disponibles, sous la forme d'un événement privé avec les "
"personnes de votre choix."
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
"Ex: vous avez joué au Welcome CTF 2021, et vous voulez renouveler "
"l'expérience avec vos amis le temps d'un weekend."
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr "Ou au contraire vous n'avez pas joué car vous n'étiez pas éligible."
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
"Plus d'avantages pourraient être disponibles plus tard, et vous pouvez nous "
"soumettre vos idées."
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
"Cependant, nous n'organiserons pas de CTF en temps limité réservé aux "
"membres, car cela serait équivalent à organiser des événements payants, and "
"nous voulons que 42CTF reste GRATUIT pour tous."
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr "Donnez à 42CTF"
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
"Vous pouvez donner à 42CTF ou payer votre adhésion avec les moyens suivants :"
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
msgstr "" msgstr ""
"Si vous aimeriez qu'on ajoute un autre moyen de paiement, ou si vous voulez " "Si tu aimerais qu'on ajoute un autre moyen de paiement, ou si tu veux "
"payer en liquide, envoyez nous un message !" "payer en liquide, envoie-nous un message !"
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
"Si vous payez pour l'adhesion, n'oubliez pas de nous envoyer vos noms et "
"prénoms, ainsi que votre pseudo 42CTF."
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
"Nous utiliserons ces données exclusivement pour tenir compte de nos membres "
"et vous accorder des avantages, nous ne transmettrons jamais ces données à "
"des tierces parties."
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "" msgstr "Modifier cette page"
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
"De plus amples informations seront bientôt disponibles, mais comme tu "
"pouvez le deviner, tu peux faire une pull request sur ton bien aimé"
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "" msgstr "Outils recommandés"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "" msgstr ""
"Pour commencer, nous avons construit une VM que tu peux simplement "
"importer dans"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "" msgstr "avec quelques outils utiles"
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "" msgstr "Tu peux télécharger l'OVA"
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "" msgstr "ici"
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "" msgstr "Voici la liste des outils installés sur la VM:"
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
msgstr "" msgstr ""
"Si tu veux résoudre les challenges sur ta propre machine, nous "
"recommandons l'utilisation de Linux."
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
msgstr "" msgstr ""
"La plupart des challenges de reverse sont des binaires ELF et ne "
"fonctionneront pas sur MacOS ou Windows."
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "" msgstr "De plus, tu auras besoin des interpréteurs de langage suivants :"
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "" msgstr "Traduire 42CTF"
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "" msgstr "Le code source de 42CTF est publiquement disponible sur ce"
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
"accessible." "accessible."
msgstr "" msgstr ""
"La traduction ne nécessite aucune compétence en programmation et constitue "
"un bon moyen de contribuer si tu souhaites nous aider, en rendant la "
"plateforme toujours plus accessible."
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "" msgstr "Nous avons un"
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
"qui décrit comment traduire des pages avec le module d'internalisation de "
"Django."
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
"repository." "repository."
msgstr "" msgstr ""
"Tu devras fork le dépôt git, effectuer tes modifications, les push, puis "
"ouvrir une pull request afin que nous puissions merge tes contributions dans "
"notre repo."
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "" msgstr "N'hésite pas à demander de l'aide sur"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -18,278 +18,281 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n"
#: resources/templates/resources/42ctf.html:7 #: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
"and progress on the scoreboard." "and progress on the scoreboard."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
"The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Become a 42CTF member"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:13
msgid "Why should I become a 42CTF member ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges" msgid "Create new challenges"
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr ""
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr ""
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr ""
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr ""
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr ""
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr ""
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr ""
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
"accessible." "accessible."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
"repository." "repository."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "" msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-06 23:31+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -17,278 +17,397 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
#: resources/templates/resources/42ctf.html:7
#: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "" msgstr "42CTFとは"
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "" msgstr "CTFについての簡単な紹介"
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
"and progress on the scoreboard." "and progress on the scoreboard."
msgstr "" msgstr ""
"42CTFとは、Capture The Flagの略です。サイバーセキュリティの競技会のことで、参"
"加者は様々なカテゴリーの課題を解決してポイントを獲得し、スコアボードでの順位"
"を上げていきます。"
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
"The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr "" msgstr ""
"この課題では、参加者は\"フラグ\"と呼ばれるパスワードを見つけて、プラット"
"フォームに送信することになっています。"
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "" msgstr "42CTFの機能紹介"
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "" msgstr "42CTFは、いわゆる永続的CTFです。"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "" msgstr "こちらを除き"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "" msgstr "(イベント)"
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "" msgstr "時間制限なしにプラットフォーム上でチャレンジ可能です。"
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "" msgstr "42CTFへの登録は、42の学生であるかどうかに関わらず、誰でも可能です。"
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
msgstr "" msgstr ""
"イベントは開催する場合としない場合があります。42CTFでのイベント開催をご希望の"
"方は、お気軽にお問い合わせください。"
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "" msgstr "42CTFチーム"
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "" msgstr "42CTFは42の学生によって運営されています。"
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "" msgstr "こちらでチームに会えます:"
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr "課題は42の学生だけではなく、様々な協力者によって作られます。"
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
msgstr "" msgstr ""
"常設のCTFでも、特定のイベントでも、誰でも自身が作成した課題を提出することがで"
"きます。"
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Create new challenges" msgid "Become a 42CTF member"
msgstr "42CTFのメンバーになる"
#: src/resources/templates/resources/becomeMember.html:13
#, fuzzy
#| msgid "Become a 42CTF member"
msgid "Why should I become a 42CTF member ?"
msgstr "42CTFのメンバーになる"
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
"もっと多くの利点があるかもしれませんし、あなたのアイデアを私たちに提供してい"
"ただくことも可能です。"
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges"
msgstr "新しい課題を作成する"
#: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "" msgstr ""
"42CTFの新しい課題を作成したい方は、こちらでメッセージを送ってください"
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "" msgstr "オフラインでの課題であれば、事前にご相談いただく必要はありません。"
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
"課題がオンラインの場合webやpwn、何をしたいのかを簡単に説明してくださ"
"い。"
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr ""
"私たちがお手伝いをさせていただいたり、dockerfileなどのリソースを提供させてい"
"ただく場合があります。"
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "" msgstr "近日、これらのリソースを公開する予定です。"
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "" msgstr "寄付"
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr ""
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr ""
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr ""
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr ""
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr ""
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr ""
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr ""
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
msgstr "" msgstr ""
"他のお支払い方法や現金でのお支払いをご希望の場合は、メッセージをお送りくださ"
"い。"
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "" msgstr "このページの編集"
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
"詳細は近日中にお知らせしますが、お察しの通り、以下にプルリクエストをすること"
"になります:"
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "" msgstr "おすすめのツール"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "" msgstr "手始めに、Virtual BoxでインストールするだけのVMを構築しました"
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "" msgstr "便利なツールを使用しました。"
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "" msgstr "このOVAはこちらからダウンロードできます"
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "" msgstr "こちら"
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "" msgstr "以下に、VMにインストールされたツールを紹介します"
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
msgstr "" msgstr ""
"自分のマシンで課題にチャレンジしたい場合は、Linux OSを使用することをお勧めし"
"ます。"
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
msgstr "" msgstr "ReversingのほとんどはELFバイナリで、Mac OSやWindowsでは動作しません。"
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "" msgstr "さらに、以下の言語のインタプリタが必要です。"
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "" msgstr "42CTFを翻訳"
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "" msgstr "42CTFのソースコードはこのサイトで公開されています。"
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
"accessible." "accessible."
msgstr "" msgstr ""
"翻訳にはプログラミングのスキルは必要ありません。プラットフォームをより使いや"
"すくすることで、私たちに貢献したいとお考えの方には良い方法です。"
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "" msgstr "こちらがあります。:"
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
"djangoのinternalizationモジュールを使ってページを翻訳する方法を説明したもので"
"す。"
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
"repository." "repository."
msgstr "" msgstr ""
"gitリポジトリをフォークしていただき、変更を加えてプッシュし、プルリクエストを"
"作成していただくことで、皆さんの貢献を私たちのリポジトリにマージすることがで"
"きます。"
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "" msgstr "躊躇せずに、こちらで助けを求めてください。:"
#~ msgid ""
#~ "42CTF is a non-profit organization with a legal status under the french "
#~ "law (Association loi 1901)."
#~ msgstr ""
#~ "42CTFは、フランスの法律Association loi 1901に基づく法的地位を有する非"
#~ "営利団体です。"
#~ msgid ""
#~ "You can support us by becoming a member and paying a fee of 15 euros."
#~ msgstr ""
#~ "メンバーになって、15ユーロの会費を払うことで、私たちをサポートすることがで"
#~ "きます。"
#~ msgid "Membership is then granted for 1 year."
#~ msgstr "その後、1年間のメンバーシップが付与されます。"
#~ msgid "When you become a member, you gain the following advantages:"
#~ msgstr "会員になると、以下のようなメリットがあります:"
#~ msgid ""
#~ "A different color for your pseudo in the scoreboard, to let everyone know "
#~ "you're a member."
#~ msgstr ""
#~ "スコアボードに表示されるアカウント名の色が変わり、メンバーであることが誰に"
#~ "でもわかるように。"
#~ msgid ""
#~ "The possibility to play again past CTF, with challenges no longer "
#~ "available, in the form of private events with the people of your choice."
#~ msgstr ""
#~ "チャレンジができなくなった過去のCTFを、好きな人とプライベートイベントの形"
#~ "で再びチャレンジできる可能性。"
#~ msgid ""
#~ "Ex: you played Welcome CTF 2021, and want to play it again with your "
#~ "friends during one weekend."
#~ msgstr ""
#~ "例Welcome CTF 2021 に一度チャレンジして、週末に友達ともう一度チャレンジ"
#~ "したいと思っている方。"
#~ msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
#~ msgstr ""
#~ "または、Welcome CTF 2021 への参加資格がなかったため、チャレンジできなかっ"
#~ "た方。"
#~ msgid ""
#~ "However, we will not organize limited time CTF for members only, as this "
#~ "will be equivalent to organize paid events, and we want 42CTF to remain "
#~ "FREE for all."
#~ msgstr ""
#~ "しかし、メンバーのみ参加できる期間限定CTFを開催することはありません。これ"
#~ "は、有料のイベントを開催することと同義であり、私たちは42CTFがすべての人に"
#~ "とって無料であることを望んでいます。"
#~ msgid "Donate to 42CTF"
#~ msgstr "42CTFに寄付する"
#~ msgid ""
#~ "You can donate to 42CTF or pay your membership with the following means:"
#~ msgstr ""
#~ "42CTFへのご寄付やメンバーシップのお支払いは、以下の手段で行うことができま"
#~ "す:"
#~ msgid ""
#~ "If you're paying for your membership, don't forget to send us your first "
#~ "and last name, as well as your 42CTF pseudo."
#~ msgstr ""
#~ "メンバーシップをお支払いになる場合は、氏名と42CTFのアカウント名を忘れずに"
#~ "お送りください。"
#~ msgid ""
#~ "We will only use thoe data to keep track of our members and grant you "
#~ "advantages, and we will never communicate them to any third party."
#~ msgstr ""
#~ "これらのデータは、メンバーの管理と特典の付与のためにのみ使用し、第三者に提"
#~ "供することはありません。"
#~ msgid ""
#~ "We invite you to read it to know all the details, but it merely requires "
#~ "you to edit text files, so you see, no programming skills required ;)"
#~ msgstr ""
#~ "詳細はぜひ読んでいただきたいのですが、単にテキストファイルを編集するだけな"
#~ "ので、プログラミングのスキルは必要ありません ;)"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-02-04 19:27+0100\n" "POT-Creation-Date: 2022-08-16 19:28+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -20,278 +20,281 @@ msgstr ""
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n" "%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n"
"%100>=11 && n%100<=14)? 2 : 3);\n" "%100>=11 && n%100<=14)? 2 : 3);\n"
#: resources/templates/resources/42ctf.html:7 #: src/resources/templates/resources/about.html:11
msgid "What is 42CTF ?" msgid "What is 42CTF ?"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:10 #: src/resources/templates/resources/about.html:14
msgid "A short introduction to CTF" msgid "A short introduction to CTF"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:11 #: src/resources/templates/resources/about.html:15
msgid "" msgid ""
"CTF stands for Capture The Flag. It is a cybersecurity competition, where " "CTF stands for Capture The Flag. It is a cybersecurity competition, where "
"participants have to solve challenges of various categories to gain points " "participants have to solve challenges of various categories to gain points "
"and progress on the scoreboard." "and progress on the scoreboard."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:12 #: src/resources/templates/resources/about.html:16
msgid "The challenges require participants to find sort of passwords called \\" msgid ""
"The challenges require participants to find sort of passwords called \"flags"
"\" and to submit them on the platform."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:15 #: src/resources/templates/resources/about.html:19
msgid "Functionment of 42CTF" msgid "Functionment of 42CTF"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:16 #: src/resources/templates/resources/about.html:20
msgid "42CTF is what we call a permanent CTF." msgid "42CTF is what we call a permanent CTF."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "Except from the" msgid "Except from the"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "events" msgid "events"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:17 #: src/resources/templates/resources/about.html:21
msgid "challenges are available on the platform without time limitations." msgid "challenges are available on the platform without time limitations."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:18 #: src/resources/templates/resources/about.html:22
msgid "The registration on 42CTF is open to everyone, 42 students or not." msgid "The registration on 42CTF is open to everyone, 42 students or not."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:19 #: src/resources/templates/resources/about.html:23
msgid "" msgid ""
"Events may or may not be open. If you would like to organize an event on " "Events may or may not be open. If you would like to organize an event on "
"42CTF, feel free to contact us." "42CTF, feel free to contact us."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:22 #: src/resources/templates/resources/about.html:26
msgid "42CTF Team" msgid "42CTF Team"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:23 #: src/resources/templates/resources/about.html:27
msgid "42CTF is managed by 42 students." msgid "42CTF is managed by 42 students."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:24 #: src/resources/templates/resources/about.html:28
msgid "You can meet the team on" msgid "You can meet the team on"
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:25 #: src/resources/templates/resources/about.html:29
msgid "" msgid ""
"Challenges are created by various contributors, not necessarily 42 students." "Challenges are created by various contributors, not necessarily 42 students."
msgstr "" msgstr ""
#: resources/templates/resources/42ctf.html:26 #: src/resources/templates/resources/about.html:30
msgid "" msgid ""
"Anyone is welcome to submit their own challenges, either on the permanent " "Anyone is welcome to submit their own challenges, either on the permanent "
"CTF or for a specific event." "CTF or for a specific event."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:7 #: src/resources/templates/resources/becomeMember.html:8
msgid "Become a 42CTF member"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:13
msgid "Why should I become a 42CTF member ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:18
msgid ""
"\n"
" 42CTF is a non-profit organization with a legal status under "
"the french law (Association loi 1901).<br>\n"
" Running a CTF platform costs money, and we are not currently "
"funded by anyone except you.<br>\n"
" You can become a 42CTF member if you want to support our "
"activity :)\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:27
msgid "I want to be a member !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:30
msgid ""
"You're welcome ! To become a member, all you need to do is to donate us 15 "
"euros and your membership will last for a year."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:36
msgid "If you want to use another payment method, please contact us !"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:43
msgid "What do I get ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:45
msgid ""
"\n"
" - A <span class='is-member'>different color</span> for your "
"pseudo in the scoreboard, to let everyone know you're a member.<br>\n"
" - The possibility to play past CTF, with challenges no longer "
"available, in the form of private events with the people of your choice."
"<br>\n"
" "
msgstr ""
#: src/resources/templates/resources/becomeMember.html:51
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: src/resources/templates/resources/becomeMember.html:56
msgid "How do I claim it ?"
msgstr ""
#: src/resources/templates/resources/becomeMember.html:59
msgid ""
"Once you've donated the 15 euros, you just need to contact us on discord or "
"by mail:"
msgstr ""
#: src/resources/templates/resources/create_challenge.html:7
msgid "Create new challenges" msgid "Create new challenges"
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:10 #: src/resources/templates/resources/create_challenge.html:10
msgid "If you want to create new challenges for 42CTF, send us a message on " msgid "If you want to create new challenges for 42CTF, send us a message on "
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:11 #: src/resources/templates/resources/create_challenge.html:11
msgid "If your challenge is offline, then you don't have to ask us in advance." msgid "If your challenge is offline, then you don't have to ask us in advance."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:12 #: src/resources/templates/resources/create_challenge.html:12
msgid "" msgid ""
"If your challenge is online (for example web or pwn), then you should give " "If your challenge is online (for example web or pwn), then you should give "
"us a short description of what you want to do." "us a short description of what you want to do."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:13 #: src/resources/templates/resources/create_challenge.html:13
msgid "" msgid ""
"We may be able to help you or to give you resources such as dockerfiles." "We may be able to help you or to give you resources such as dockerfiles."
msgstr "" msgstr ""
#: resources/templates/resources/create_challenge.html:14 #: src/resources/templates/resources/create_challenge.html:14
msgid "We plan to make those resources publicly available in a near future." msgid "We plan to make those resources publicly available in a near future."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:7 #: src/resources/templates/resources/donate.html:7
msgid "Donate" msgid "Donate"
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:10 #: src/resources/templates/resources/donate.html:14
msgid "Become a 42CTF member"
msgstr ""
#: resources/templates/resources/donate.html:11
msgid ""
"42CTF is a non-profit organization with a legal status under the french law "
"(Association loi 1901)."
msgstr ""
#: resources/templates/resources/donate.html:12
msgid "You can support us by becoming a member and paying a fee of 15 euros."
msgstr ""
#: resources/templates/resources/donate.html:13
msgid "Membership is then granted for 1 year."
msgstr ""
#: resources/templates/resources/donate.html:15
msgid "When you become a member, you gain the following advantages:"
msgstr ""
#: resources/templates/resources/donate.html:16
msgid ""
"A different color for your pseudo in the scoreboard, to let everyone know "
"you're a member."
msgstr ""
#: resources/templates/resources/donate.html:17
msgid ""
"The possibility to play again past CTF, with challenges no longer available, "
"in the form of private events with the people of your choice."
msgstr ""
#: resources/templates/resources/donate.html:18
msgid ""
"Ex: you played Welcome CTF 2021, and want to play it again with your friends "
"during one weekend."
msgstr ""
#: resources/templates/resources/donate.html:19
msgid "Or you didn't play Welcome CTF 2021 because you were not eligible."
msgstr ""
#: resources/templates/resources/donate.html:22
msgid "More advantages may come later, and you can submit us your ideas."
msgstr ""
#: resources/templates/resources/donate.html:23
msgid ""
"However, we will not organize limited time CTF for members only, as this "
"will be equivalent to organize paid events, and we want 42CTF to remain FREE "
"for all."
msgstr ""
#: resources/templates/resources/donate.html:26
msgid "Donate to 42CTF"
msgstr ""
#: resources/templates/resources/donate.html:27
msgid ""
"You can donate to 42CTF or pay your membership with the following means:"
msgstr ""
#: resources/templates/resources/donate.html:46
msgid "" msgid ""
"If you would like us to add another payment method or if you want to pay in " "If you would like us to add another payment method or if you want to pay in "
"cash, send us a message !" "cash, send us a message !"
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:48 #: src/resources/templates/resources/donate.html:18
msgid "" msgid "What will we do with your money ?"
"If you're paying for your membership, don't forget to send us your first and "
"last name, as well as your 42CTF pseudo."
msgstr "" msgstr ""
#: resources/templates/resources/donate.html:49 #: src/resources/templates/resources/donate.html:21
#, python-format
msgid "" msgid ""
"We will only use thoe data to keep track of our members and grant you " "Hosting a website - and especially a CTF platform - costs money: more "
"advantages, and we will never communicate them to any third party." "precisely, it costs us <b>50 euros per month</b>.\n"
" <br><br>\n"
" If we had <b>40 members</b> each year, it would be "
"enough to cover the hosting of 42CTF.\n"
" <br>\n"
" We currently have %(nb_members)s members.\n"
" <br><br>\n"
" With the additional money, we could for example offer "
"prizes for limited-time events, but we will update this page as soon as we "
"reach this threshold :)"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:7 #: src/resources/templates/resources/edit.html:7
msgid "Edit this page" msgid "Edit this page"
msgstr "" msgstr ""
#: resources/templates/resources/edit.html:12 #: src/resources/templates/resources/edit.html:12
msgid "" msgid ""
"More information coming soon, but as you can guess it involves making a pull " "More information coming soon, but as you can guess it involves making a pull "
"request to your favorite" "request to your favorite"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:7 #: src/resources/templates/resources/tools.html:7
msgid "Recommended Tools" msgid "Recommended Tools"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "To get you started, we built a VM that you can simply import in" msgid "To get you started, we built a VM that you can simply import in"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:10 #: src/resources/templates/resources/tools.html:10
msgid "with a bunch of useful tools." msgid "with a bunch of useful tools."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "You can dowload this OVA" msgid "You can dowload this OVA"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:11 #: src/resources/templates/resources/tools.html:11
msgid "here" msgid "here"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:13 #: src/resources/templates/resources/tools.html:13
msgid "Here are the tools installed on the VM:" msgid "Here are the tools installed on the VM:"
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:22 #: src/resources/templates/resources/tools.html:22
msgid "" msgid ""
"If you want to solve the challenges on your own machine, we recommend you to " "If you want to solve the challenges on your own machine, we recommend you to "
"use a Linux operating system." "use a Linux operating system."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:23 #: src/resources/templates/resources/tools.html:23
msgid "" msgid ""
"Most of the reverse challenges are ELF binaries and won't run on Mac OS or " "Most of the reverse challenges are ELF binaries and won't run on Mac OS or "
"Windows." "Windows."
msgstr "" msgstr ""
#: resources/templates/resources/tools.html:25 #: src/resources/templates/resources/tools.html:25
msgid "Additionnaly, you will need the following languages interpreters:" msgid "Additionnaly, you will need the following languages interpreters:"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:7 #: src/resources/templates/resources/translate.html:7
msgid "Translate 42CTF" msgid "Translate 42CTF"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:10 #: src/resources/templates/resources/translate.html:10
msgid "42CTF source code is publicly available on this" msgid "42CTF source code is publicly available on this"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:11 #: src/resources/templates/resources/translate.html:12
msgid "" msgid ""
"Translation does not require any programming skill and is a good way to " "Translation does not require any programming skill and is a good way to "
"contribute if you want to help us, by making the platform always more " "contribute if you want to help us, by making the platform always more "
"accessible." "accessible."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "We have a" msgid "We have a"
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:12 #: src/resources/templates/resources/translate.html:14
msgid "" msgid ""
"describing how to translate pages with the Django internalization module." "describing how to translate pages with the Django internalization module."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:13 #: src/resources/templates/resources/translate.html:16
msgid ""
"We invite you to read it to know all the details, but it merely requires you "
"to edit text files, so you see, no programming skills required ;)"
msgstr ""
#: resources/templates/resources/translate.html:14
msgid "" msgid ""
"You will need to fork the git repository, make your changes, push them, and " "You will need to fork the git repository, make your changes, push them, and "
"then open a pull request so that we can merge your contributions into our " "then open a pull request so that we can merge your contributions into our "
"repository." "repository."
msgstr "" msgstr ""
#: resources/templates/resources/translate.html:15 #: src/resources/templates/resources/translate.html:17
msgid "Don't hesitate to reach for help on" msgid "Don't hesitate to reach for help on"
msgstr "" msgstr ""

12
src/resources/sitemaps.py Normal file
View File

@ -0,0 +1,12 @@
from django.contrib import sitemaps
from django.urls import reverse
class StaticViewSitemap(sitemaps.Sitemap):
priority = 0.5
changefreq = 'monthly'
i18n = True
def items(self):
return ['resources:about', 'resources:howToStart', 'resources:contribute', 'resources:becomeMember']
def location(self, item):
return reverse(item)

View File

@ -1,15 +1,20 @@
{% extends 'base.html' %}
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
{% get_current_language as lang %} {% get_current_language as lang %}
<div class="col-sm-12 col-md-6"> <div class="row">
<div class="col-12 ctf-head">
<h1>{% trans "About 42ctf" %}</h1>
</div>
<div class="col-sm-12">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head text-center">
<center><h3>{% trans "What is 42CTF ?" %}</h3></center> <h1>{% trans "What is 42CTF ?" %}</h1>
</div> </div>
<div class="ctf-body"> <div class="ctf-body">
<h4>{% trans "A short introduction to CTF" %}</h4> <h4>{% trans "A short introduction to CTF" %}</h4>
{% trans "CTF stands for Capture The Flag. It is a cybersecurity competition, where participants have to solve challenges of various categories to gain points and progress on the scoreboard." %} {% trans "CTF stands for Capture The Flag. It is a cybersecurity competition, where participants have to solve challenges of various categories to gain points and progress on the scoreboard." %}
{% trans "The challenges require participants to find sort of passwords called \"flags\" and to submit them on the platform."%} {% blocktranslate %}The challenges require participants to find sort of passwords called "flags" and to submit them on the platform.{% endblocktranslate %}
<br><br> <br><br>
<h4>{% trans "Functionment of 42CTF" %}</h4> <h4>{% trans "Functionment of 42CTF" %}</h4>
@ -27,5 +32,5 @@
</div> </div>
</div> </div>
</div> </div>
</div>
{% endblock %} {% endblock %}

View File

@ -0,0 +1,73 @@
{% extends 'base.html' %}
{% load static %}
{% block content %}
{% load i18n %}
{% get_current_language as lang %}
<div class="row">
<div class="col-12 ctf-head">
<h1>{% trans "Become a 42CTF member" %}</h1>
</div>
<div class="col-sm-6">
<div class="ctf-block text-center">
<div class="ctf-head text-center">
<h4>{% trans "Why should I become a 42CTF member ?" %}</h4>
</div>
<div class="ctf-body">
<img src="{% static "img/42ctf_logo_big_no_bg_full_white.svg" %}" width="200px" alt="42ctf logo"/>
<br><br>
{% blocktranslate %}
42CTF is a non-profit organization with a legal status under the french law (Association loi 1901).<br>
Running a CTF platform costs money, and we are not currently funded by anyone except you.<br>
You can become a 42CTF member if you want to support our activity :)
{% endblocktranslate %}
</div>
</div>
<div class="ctf-block text-center">
<div class="ctf-head text-center">
<h4>{% trans "I want to be a member !" %}</h4>
</div>
<div>
<br/>
{% trans "You're welcome ! To become a member, all you need to do is to donate us 15 euros and your membership will last for a year." %}
<br>
<a href="https://www.paypal.com/donate/?hosted_button_id=M6YBYZ63MQGAY" target="_blank">
<img src="/static/img/paypal.png" width="200">
</a>
<br>
{% trans "If you want to use another payment method, please contact us !" %}
</div>
</div>
</div>
<div class="col-sm-6">
<div class="ctf-block">
<div class="ctf-head text-center">
<h4>{% trans "What do I get ?" %}</h4>
</div>
<br><br>
{% blocktranslate %}
- A <span class='is-member'>different color</span> for your pseudo in the scoreboard, to let everyone know you're a member.<br>
- The possibility to play past CTF, with challenges no longer available, in the form of private events with the people of your choice.<br>
{% endblocktranslate %}
<br>
<p class="text-center">
{% trans "More advantages may come later, and you can submit us your ideas." %}
</p>
</div>
<div class="ctf-block text-center">
<div class="ctf-head text-center">
<h4>{% trans "How do I claim it ?" %}</h4>
</div>
<div class="ctf-body">
{% trans "Once you've donated the 15 euros, you just need to contact us on discord or by mail:" %}
<br>
<br>
<a href="https://discord.gg/DwZqPpA">
<img width="250px" src="https://discordapp.com/api/guilds/606162827274616845/widget.png?style=banner2" style="margin-bottom:5px" alt="42ctf discord server banner">
</a>
<br>
42ctf@protonmail.com
</div>
</div>
</div>
</div>
{% endblock %}

View File

@ -3,11 +3,11 @@
{% load i18n %} {% load i18n %}
{% get_current_language as lang %} {% get_current_language as lang %}
<div class="row"> <div class="row">
{% block 42ctf %} <div class="col-12 ctf-head">
{% include "./42ctf.html" %} <h1>{% trans "Contribute to 42ctf" %}</h1>
{% endblock %} </div>
{% block tools %} {% block donate %}
{% include "./tools.html" %} {% include "./donate.html" %}
{% endblock %} {% endblock %}
{% block translate %} {% block translate %}
{% include "./translate.html" %} {% include "./translate.html" %}
@ -15,11 +15,5 @@
{% block create_challenge %} {% block create_challenge %}
{% include "./create_challenge.html" %} {% include "./create_challenge.html" %}
{% endblock %} {% endblock %}
{% block edit %}
{% include "./edit.html" %}
{% endblock %}
{% block donate %}
{% include "./donate.html" %}
{% endblock %}
</div> </div>
{% endblock %} {% endblock %}

View File

@ -3,14 +3,14 @@
{% get_current_language as lang %} {% get_current_language as lang %}
<div class="col-sm-12 col-md-6"> <div class="col-sm-12 col-md-6">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head text-center">
<center><h3>{% trans "Create new challenges" %}</h3></center> <h3>{% trans "Create new challenges" %}</h3>
</div> </div>
<div class="ctf-body"> <div class="ctf-body">
{% trans "If you want to create new challenges for 42CTF, send us a message on " %}<a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a> !<br><br> {% trans "If you want to create new challenges for 42CTF, send us a message on " %}<a class="footer_imgs" href="https://discord.gg/DwZqPpA" target="_blank"><img src="/static/img/discord.png" width="30"></a> !<br><br>
{% trans "If your challenge is offline, then you don't have to ask us in advance." %}<br> {% trans "If your challenge is offline, then you don't have to ask us in advance." %}<br>
{% trans "If your challenge is online (for example web or pwn), then you should give us a short description of what you want to do." %} {% trans "If your challenge is online (for example web or pwn), then you should give us a short description of what you want to do." %}<br>
{% trans "We may be able to help you or to give you resources such as dockerfiles." %} {% trans "We may be able to help you or to give you resources such as dockerfiles." %}<br><br>
{% trans "We plan to make those resources publicly available in a near future." %} {% trans "We plan to make those resources publicly available in a near future." %}
</div> </div>
</div> </div>

View File

@ -2,52 +2,29 @@
{% load i18n %} {% load i18n %}
{% get_current_language as lang %} {% get_current_language as lang %}
<div class="col-sm-12"> <div class="col-sm-12">
<div class="ctf-block"> <div class="ctf-block text-center">
<div class="ctf-head"> <div class="ctf-head">
<center><h3>{% trans "Donate" %}</h3></center> <h3>{% trans "Donate" %}</h3>
</div> </div>
<div class="ctf-body"> <div class="ctf-body">
<h4>{% trans "Become a 42CTF member" %}</h4> <a href="https://www.paypal.com/donate/?hosted_button_id=M6YBYZ63MQGAY" target="_blank">
{% trans "42CTF is a non-profit organization with a legal status under the french law (Association loi 1901)." %}<br> <img src="/static/img/paypal.png" width="200" style="margin-top:-30px;">
{% trans "You can support us by becoming a member and paying a fee of 15 euros." %}<br> </a><br>
{% trans "Membership is then granted for 1 year." %}<br><br> <p class="small">
{% trans "If you would like us to add another payment method or if you want to pay in cash, send us a message !" %}<br><br>
{% trans "When you become a member, you gain the following advantages:" %}<br> </p>
- {% trans "A different color for your pseudo in the scoreboard, to let everyone know you're a member." %}<br> </div>
- {% trans "The possibility to play again past CTF, with challenges no longer available, in the form of private events with the people of your choice." %}<br> <div class="ctf-head">
{% trans "Ex: you played Welcome CTF 2021, and want to play it again with your friends during one weekend." %} <h3>{% trans "What will we do with your money ?" %}</h3>
{% trans "Or you didn't play Welcome CTF 2021 because you were not eligible." %} </div>
<br><br> <div class="ctf-body">
{% blocktranslate %}Hosting a website - and especially a CTF platform - costs money: more precisely, it costs us <b>50 euros per month</b>.
{% trans "More advantages may come later, and you can submit us your ideas." %}<br> <br><br>
{% trans "However, we will not organize limited time CTF for members only, as this will be equivalent to organize paid events, and we want 42CTF to remain FREE for all." %}<br> If we had <b>40 members</b> each year, it would be enough to cover the hosting of 42CTF.
<br><br> <br>
We currently have {{nb_members}} members.
<center><h4>{% trans "Donate to 42CTF" %}</h4> <br><br>
{% trans "You can donate to 42CTF or pay your membership with the following means:" %}<br> With the additional money, we could for example offer prizes for limited-time events, but we will update this page as soon as we reach this threshold :){% endblocktranslate %}
<a href="https://www.patreon.com/42ctf" target="_blank" class="patreon li-patreon">
<!-- <div class="patreon-content"> -->
<span class="svg-box">
<svg viewBox="0 0 569 546" xmlns="http://www.w3.org/2000/svg"><g><circle cx="362.589996" cy="204.589996" data-fill="1" id="Oval" r="204.589996"></circle><rect data-fill="2" height="545.799988" id="Rectangle" width="100" x="0" y="0"></rect></g></svg>
</span>
<span class="patreon-text">
Patreon
</span>
<!-- </div> -->
</a>
<a href="https://www.paypal.com/donate/?hosted_button_id=M6YBYZ63MQGAY" target="_blank">
<img src="/static/img/paypal.png" width="200" style="margin-top: -10px;">
</a>
<a href="https://www.helloasso.com/associations/42ctf/adhesions/adhesion" target="_blank">
<img src="/static/img/hello_asso.png" width="180" style="margin-top: -10px;">
</a>
</center>
<br>
{% trans "If you would like us to add another payment method or if you want to pay in cash, send us a message !" %}<br><br>
{% trans "If you're paying for your membership, don't forget to send us your first and last name, as well as your 42CTF pseudo." %}
{% trans "We will only use thoe data to keep track of our members and grant you advantages, and we will never communicate them to any third party." %}
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,15 +1,15 @@
{% block content %} {% block content %}
{% load i18n %} {% load i18n %}
{% get_current_language as lang %} {% get_current_language as lang %}
<div class="col-sm-12 col-md-6"> <div class="col-sm-12">
<div class="ctf-block"> <div class="ctf-block">
<div class="ctf-head"> <div class="ctf-head text-center">
<center><h3>{% trans "Edit this page" %}</h3></center> <h3>{% trans "Edit this page" %}</h3>
</div> </div>
<div class="ctf-body"> <div class="ctf-body">
<br> <br>
<br> <br>
{% trans "More information coming soon, but as you can guess it involves making a pull request to your favorite" %} <a href="https://github.com/Danhia/42CTF/">repository</a> ;) {% trans "More information coming soon, but as you can guess it involves making a pull request to your favorite" %} <a href="https://gitea.42ctf.org/42CTF/website">repository</a> ;)
<br> <br>
<br> <br>
<br> <br>

View File

@ -0,0 +1,14 @@
{% extends 'base.html' %}
{% block content %}
{% load i18n %}
{% get_current_language as lang %}
<div class="row">
<div class="col-12 ctf-head">
<h1>{% trans "Beginner guide" %}</h1>
</div>
{% block tools %}
{% include "./tools.html" %}
{% endblock %}
</div>
{% endblock %}

Some files were not shown because too many files have changed in this diff Show More