Commit Graph

148 Commits

Author SHA1 Message Date
Li Chen
c772fa61c2 Team.class: add drop function 2013-11-30 15:43:53 +01:00
Li Chen
c90e41b6b7 certificate.php: delete useless code and add SALT_ADMIN 2013-11-30 13:55:42 +01:00
Némunaire
9cc1110717 Add function to generate strong URL 2013-11-29 03:10:12 +01:00
Li Chen
7bd2e3eecf Add ThemeNotFoundException 2013-11-28 22:25:54 +01:00
Li Chen
a6ad7597c8 Add a simple page for admin/exercice 2013-11-28 22:03:27 +01:00
Li Chen
655842bb3a Handle submission_dir in root.xml 2013-11-28 17:35:34 +01:00
Li Chen
dd766cf774 Team layout: change 'modifier' to 'info' 2013-11-28 17:13:03 +01:00
Li Chen
4f2dbf5470 Add progress bar in the me page
Fixed class panel-body name in the me.tpl
2013-11-28 17:03:14 +01:00
Li Chen
b406ae93e3 Add team informations in the me page 2013-11-28 16:28:43 +01:00
Li Chen
67b5422c28 Deleted team/home
Change the default page of team to summary page
2013-11-28 16:03:36 +01:00
Quentin Grosyeux
11dc0c153a Fix some code errors that should not be commited yesterday... (sry) 2013-11-26 20:25:25 +01:00
Quentin Grosyeux
62fca492ad Add timestamp comparison in ranking system 2013-11-25 23:06:26 +01:00
Li Chen
3bd7654e81 Delete href in logos and add Epita in the footer 2013-11-25 21:16:23 +01:00
Li Chen
04d9601409 Deleted heads bloc in layout and team.tpl 2013-11-25 21:16:23 +01:00
Li Chen
7cf991d537 Add a textarea to show the output of the CA.sh 2013-11-25 21:16:23 +01:00
Li Chen
e3f51487ab Fixed client certificate generation 2013-11-25 21:16:23 +01:00
Li Chen
30802be380 Fixed create or delete ca redirection page 2013-11-25 21:16:23 +01:00
Li Chen
a9fdcaf9f2 Use a variable to handle the misc_dir 2013-11-25 21:16:23 +01:00
Quentin Grosyeux
e137e755c0 Add public array 2013-11-25 21:12:01 +01:00
Némunaire
fd855c0f0d Add clock.tpl 2013-11-25 15:38:42 +01:00
Némunaire
861b644b9e Add some checks on directories 2013-11-25 15:38:06 +01:00
Némunaire
b6792f3b72 Use same header on public and teams interface 2013-11-25 15:35:56 +01:00
Némunaire
4efc90a5f0 Add images to home page; fix countdown 2013-11-25 11:55:35 +01:00
Némunaire
631b9c8c88 Fix after bootstrap update 2013-11-25 11:53:19 +01:00
Li Chen
c78d379527 import_users: generate client certificate 2013-11-12 22:41:10 +01:00
Li Chen
ecd35df7af Generate newca, disable the output 2013-11-12 22:29:30 +01:00
Li Chen
05fa4128b1 admin/home.php: disable the error message about root CA 2013-11-12 21:21:06 +01:00
Li Chen
f58998a2c6 admin/home.tpl: Add a button to return after generated the ca 2013-11-12 20:29:16 +01:00
Li Chen
c5c54f3b1a Possibility to generate and delete the root CA in the admin panel 2013-11-12 20:24:34 +01:00
Li Chen
2d77512cdc Code cleaned 2013-11-12 16:52:50 +01:00
Li Chen
f7f277d46b carousel: fixed key value 2013-11-08 22:37:37 +01:00
Li Chen
db5a36d194 Public score page updated 2013-11-08 22:27:49 +01:00
Li Chen
6f57e24e08 score.tpl: change the css 2013-11-08 22:27:49 +01:00
Li Chen
2e48c90761 is_unlock: the first exo is always unlocked 2013-11-08 22:27:49 +01:00
Némunaire
327781e996 Fix theme importation 2013-11-08 21:19:39 +01:00
Némunaire
61965f79a8 Fix user->team 2013-11-08 20:56:37 +01:00
Némunaire
ffe0c2a7c4 Admin part: can import, export and drop themes 2013-11-08 20:46:55 +01:00
Li Chen
4d1a860a01 Disable the button href when exercice is unlocked 2013-11-08 20:39:58 +01:00
Li Chen
c10fc68a35 Exercice.php: is_unlocked done 2013-11-08 20:30:33 +01:00
Li Chen
257803cb85 Fixed submission 2013-11-08 20:30:33 +01:00
Némunaire
166be860c8 Admin part: home and teams part done 2013-11-08 19:15:51 +01:00
Quentin Grosyeux
568a6beef0 Change fic url 2013-11-08 19:00:06 +01:00
Quentin Grosyeux
6b487c0a83 Add colors in summary table 2013-11-08 18:59:45 +01:00
Némunaire
e3384eaa6b Plein de trucs fonctionnent maintenant 2013-11-08 15:47:55 +01:00
Quentin Grosyeux
8758598104 Summary table done. 2013-11-07 21:53:35 +01:00
Quentin Grosyeux
bf36486bf3 Add sumarry 2013-11-05 05:15:18 +01:00
Li Chen
a0657ff619 Merge branch 'master' of ssh://git.nemunai.re:6224/fic2014-server
Conflicts:
	onyx/include/team/exercice.php
	onyx/tpl/bootstrap/teams/exercice.tpl
2013-11-05 04:52:17 +01:00
Li Chen
0db1d6a0c1 Theme.class: fixed get_exercicesOrdered 2013-11-05 04:42:47 +01:00
Li Chen
3c4b6296ba Exercice.class: fixed set_number 2013-11-05 04:41:50 +01:00
Li Chen
6baf37d4d6 Add get_exercicesOrdered in Theme 2013-11-05 04:07:19 +01:00
Li Chen
0f18ed8dcf Exercice page done with submission and confirmation 2013-11-05 02:53:48 +01:00
Li Chen
097023a32a feed.sql: add some files 2013-11-05 00:35:35 +01:00
Li Chen
41b83ef725 Exercice.class: Fixed the constructor, add get_solved and set_number 2013-11-04 23:49:18 +01:00
Quentin Grosyeux
33935063a4 New templates 2013-11-04 23:20:16 +01:00
Némunaire
af58e84324 Fix db feed 2013-10-27 00:57:28 +02:00
Quentin Grosyeux
070f1b263f Merge branch 'master' of ssh://git.nemunai.re:6224/fic2014-server 2013-10-26 21:45:10 +02:00
Quentin Grosyeux
99f86c6b28 Add some classes and fix some bugs in class Theme 2013-10-26 21:44:49 +02:00
Quentin Grosyeux
eac6118532 Add some classes and fix some bugs in class Team 2013-10-26 21:44:19 +02:00
Li Chen
bbe02d2367 Fixed a php error in team.php 2013-10-26 21:01:49 +02:00
Li Chen
868e49c834 Add simple tpl for each php
Change the home.css to common.css
2013-10-26 21:01:02 +02:00
Li Chen
d2060ce1b8 Exercice.class: fixed the id type 2013-10-26 20:54:15 +02:00
Quentin Grosyeux
7a2902f6d4 Merge Team.class 2013-10-26 19:20:24 +02:00
Némunaire
b069d8f4ed New class Member, use it in Team ; update DB schema 2013-10-26 18:17:25 +02:00
Némunaire
30a7f65616 Add missing team.tpl page 2013-10-26 17:42:18 +02:00
Némunaire
867d1d6f74 Connected: fix top bar menu 2013-10-26 09:00:21 +02:00
Némunaire
f8eff22c22 Public part: home and team part 2013-10-26 08:59:59 +02:00
Némunaire
7571c8c1b1 Move directory tpl users to teams 2013-10-26 08:56:06 +02:00
Li Chen
5abb9d8713 Deleted login.php, login.tpl, login.css 2013-10-24 17:40:12 +02:00
Némunaire
9c3173c682 Fix User -> Team 2013-10-23 21:32:17 +02:00
Quentin Grosyeux
a767c4d900 Correct some bugs in Team class. 2013-10-22 08:56:38 +02:00
Némunaire
bed471d75a New router and associated pages 2013-10-22 08:16:02 +02:00
Quentin Grosyeux
68dcb996c9 Add get_teams and get_top functions for User class 2013-10-22 07:58:39 +02:00
Quentin Grosyeux
b69ecd3e70 Merge branch 'master' of ssh://git.nemunai.re:6224/fic2014-server 2013-10-22 06:09:53 +02:00
Némunaire
38ed722d15 Review 2013-10-10 05:52:48 +02:00
Li Chen
6d99a5285b layout-nav: Add score page link 2013-10-10 05:43:45 +02:00
Li Chen
1eac1fa295 Add a example page of score, tpl and css 2013-10-10 05:43:45 +02:00
Li Chen
a58c1bed3e layout.tpl: add block end 2013-10-10 05:43:45 +02:00
Némunaire
b64257a80e Add EOC 2013-10-10 05:43:37 +02:00
Némunaire
ce28dd8cbb Display a confirmation message after the importation 2013-10-10 05:22:52 +02:00
Némunaire
ea27ea5855 Fix alert messages 2013-10-10 05:13:51 +02:00
Némunaire
e89c4e3df5 Add END var in templates 2013-10-10 05:13:51 +02:00
Némunaire
33c70f850f Add SHA1 to files 2013-10-10 05:13:51 +02:00
Quentin Grosyeux
fffb86e971 Add sha1 feature in Exercice class 2013-10-10 05:11:40 +02:00
Némunaire
ef983a3a82 Add admin pages: import_users and import_exercices 2013-10-10 04:50:20 +02:00
Némunaire
1733afb963 Change relative path to absolute path for css, js, ... 2013-10-10 04:48:47 +02:00
Némunaire
ee2147cf74 Can always login from login page, even if already logged 2013-10-10 04:47:37 +02:00
Némunaire
0fdc0703f6 Add classes to common includes 2013-10-10 04:47:02 +02:00
Quentin Grosyeux
dc0f544e2b Add Theme class and some new functions in Exercice class 2013-10-10 03:44:46 +02:00
Quentin Grosyeux
edd8eb45a5 Merge branch 'master' of ssh://git.nemunai.re:6224/fic2014-server 2013-10-10 01:18:55 +02:00
Quentin Grosyeux
a5893d468f Add Theme and User class 2013-10-10 01:18:49 +02:00
Li Chen
028f46913f Add a new layout for nav bar 2013-10-09 23:48:09 +02:00
Li Chen
b954494cae functions.php: change selt 2013-10-09 23:46:19 +02:00
Li Chen
b687a54fb0 Login page done 2013-10-09 23:41:52 +02:00
Némunaire
d6dd5f022c Update debug launch 2013-10-09 23:04:45 +02:00
Némunaire
1c9cd9208f Update to Smarty 3.1.15 2013-10-09 19:08:38 +02:00
Némunaire
bee365e47c Add Hello World page 2013-10-09 17:51:22 +02:00
Némunaire
fc87921627 Add .gitignore 2013-10-09 17:48:50 +02:00
Némunaire
998d011cd3 Initial commit 2013-10-09 15:40:23 +02:00