Skip to content

Commit 3ad1f3e

Browse files
committed
copyright update
1 parent a4dc0b1 commit 3ad1f3e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1409
-1110
lines changed

classes/event/onlinejudge_task_judged.php

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,23 @@
11
<?php
2+
// This file is part of Moodle - https://moodle.org
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
216

317
/**
418
* @package mod_onlinejudge
5-
* @author Andrew Nagyeb <andrewnajeeb at fci dot helwan dot edu dot eg>
6-
* @copyright 2018 Andrew Nagyeb
19+
* @author Andrew Naguib <andrewnajeeb at fci dot helwan dot edu dot eg>
20+
* @copyright 2018 Andrew Naguib
721
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
822
*/
923

cli/judged.php

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
<?php
2-
///////////////////////////////////////////////////////////////////////////
3-
// NOTICE OF COPYRIGHT //
4-
// //
5-
// Online Judge Moodle 3.4+ //
6-
// Copyright (C) 2018 onwards Andrew Nagyeb //
7-
// This program is based on the work of Sun Zhigang (C) 2009 Moodle 2.6. //
8-
// //
9-
// Modifications were made in order to upgrade the program so that //
10-
// it is compatible to Moodle 3.4+. //
11-
// Original License Follows //
12-
///////////////////////////////////////////////////////////////////////////
13-
14-
///////////////////////////////////////////////////////////////////////////
15-
// //
16-
// NOTICE OF COPYRIGHT //
17-
// //
18-
// Online Judge for Moodle //
19-
// https://github.com/hit-moodle/moodle-local_onlinejudge //
20-
// //
21-
// Copyright (C) 2009 onwards Sun Zhigang http://sunner.cn //
22-
// //
23-
// This program is free software; you can redistribute it and/or modify //
24-
// it under the terms of the GNU General Public License as published by //
25-
// the Free Software Foundation; either version 3 of the License, or //
26-
// (at your option) any later version. //
27-
// //
28-
// This program is distributed in the hope that it will be useful, //
29-
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
30-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
31-
// GNU General Public License for more details: //
32-
// //
33-
// http://www.gnu.org/copyleft/gpl.html //
34-
// //
35-
///////////////////////////////////////////////////////////////////////////
2+
// This file is part of Moodle - https://moodle.org
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
17+
/**
18+
* NOTICE OF COPYRIGHT
19+
*
20+
* Online Judge for Moodle
21+
* https://github.com/hit-moodle/moodle-local_onlinejudge
22+
*
23+
* Copyright (C) 2009 onwards
24+
* Sun Zhigang http://sunner.cn
25+
* Andrew Naguib <andrew at fci helwan edu eg>
26+
* This program is free software; you can redistribute it and/or modify
27+
* it under the terms of the GNU General Public License as published by
28+
* the Free Software Foundation; either version 3 of the License, or
29+
* (at your option) any later version.
30+
*
31+
* This program is distributed in the hope that it will be useful,
32+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+
* GNU General Public License for more details:
35+
*
36+
* http://www.gnu.org/copyleft/gpl.html
37+
*/
3638

3739
/**
3840
* Judges all unjudged tasks

clients/mod/assign/feedback/onlinejudge/backup/moodle2/backup_assignfeedback_onlinejudge_subplugin.class.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
2-
3-
4-
// This file is part of Moodle - http://moodle.org/
2+
// This file is part of Moodle - https://moodle.org
53
//
64
// Moodle is free software: you can redistribute it and/or modify
75
// it under the terms of the GNU General Public License as published by

clients/mod/assign/feedback/onlinejudge/backup/moodle2/restore_assignfeedback_onlinejudge_subplugin.class.php

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
<?php
2-
///////////////////////////////////////////////////////////////////////////
3-
// NOTICE OF COPYRIGHT //
4-
// //
5-
// Online Judge Moodle 3.4 //
6-
// Copyright (C) 2018 onwards Andrew Nagyeb //
7-
// This program is based on the work of Sun Zhigang (C) 2009 Moodle 2.6. //
8-
// //
9-
// Modifications were made in order to upgrade the program so that //
10-
// it is compatible to Moodle 3.4. //
11-
// Original License Follows //
12-
///////////////////////////////////////////////////////////////////////////
13-
14-
// This file is part of Moodle - http://moodle.org/
2+
// This file is part of Moodle - https://moodle.org
153
//
164
// Moodle is free software: you can redistribute it and/or modify
175
// it under the terms of the GNU General Public License as published by
@@ -26,6 +14,28 @@
2614
// You should have received a copy of the GNU General Public License
2715
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
2816

17+
/**
18+
* NOTICE OF COPYRIGHT
19+
*
20+
* Online Judge for Moodle
21+
* https://github.com/hit-moodle/moodle-local_onlinejudge
22+
*
23+
* Copyright (C) 2009 onwards
24+
* Sun Zhigang http://sunner.cn
25+
* Andrew Naguib <andrew at fci helwan edu eg>
26+
* This program is free software; you can redistribute it and/or modify
27+
* it under the terms of the GNU General Public License as published by
28+
* the Free Software Foundation; either version 3 of the License, or
29+
* (at your option) any later version.
30+
*
31+
* This program is distributed in the hope that it will be useful,
32+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+
* GNU General Public License for more details:
35+
*
36+
* http://www.gnu.org/copyleft/gpl.html
37+
*/
38+
2939
/**
3040
* @package local_onlinejudge
3141
* @subpackage backup-moodle2

clients/mod/assign/feedback/onlinejudge/db/events.php

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
<?php
2-
///////////////////////////////////////////////////////////////////////////
3-
// NOTICE OF COPYRIGHT //
4-
// //
5-
// Online Judge Moodle 3.4+ //
6-
// Copyright (C) 2018 onwards Andrew Nagyeb //
7-
// This program is based on the work of Sun Zhigang (C) 2009 Moodle 2.6. //
8-
// //
9-
// Modifications were made in order to upgrade the program so that //
10-
// it is compatible to Moodle 3.4+. //
11-
// Original License Follows //
12-
///////////////////////////////////////////////////////////////////////////
2+
// This file is part of Moodle - https://moodle.org
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1316

14-
///////////////////////////////////////////////////////////////////////////
15-
// //
16-
// NOTICE OF COPYRIGHT //
17-
// //
18-
// Online Judge for Moodle //
19-
// https://github.com/hit-moodle/moodle-local_onlinejudge //
20-
// //
21-
// Copyright (C) 2009 onwards Sun Zhigang http://sunner.cn //
22-
// //
23-
// This program is free software; you can redistribute it and/or modify //
24-
// it under the terms of the GNU General Public License as published by //
25-
// the Free Software Foundation; either version 3 of the License, or //
26-
// (at your option) any later version. //
27-
// //
28-
// This program is distributed in the hope that it will be useful, //
29-
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
30-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
31-
// GNU General Public License for more details: //
32-
// //
33-
// http://www.gnu.org/copyleft/gpl.html //
34-
// //
35-
///////////////////////////////////////////////////////////////////////////
17+
/**
18+
* NOTICE OF COPYRIGHT
19+
*
20+
* Online Judge for Moodle
21+
* https://github.com/hit-moodle/moodle-local_onlinejudge
22+
*
23+
* Copyright (C) 2009 onwards
24+
* Sun Zhigang http://sunner.cn
25+
* Andrew Naguib <andrew at fci helwan edu eg>
26+
* This program is free software; you can redistribute it and/or modify
27+
* it under the terms of the GNU General Public License as published by
28+
* the Free Software Foundation; either version 3 of the License, or
29+
* (at your option) any later version.
30+
*
31+
* This program is distributed in the hope that it will be useful,
32+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+
* GNU General Public License for more details:
35+
*
36+
* http://www.gnu.org/copyleft/gpl.html
37+
*/
3638

3739
/**
3840
* Defines event handlers

clients/mod/assign/feedback/onlinejudge/db/upgrade.php

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
<?php
2-
///////////////////////////////////////////////////////////////////////////
3-
// NOTICE OF COPYRIGHT //
4-
// //
5-
// Online Judge Moodle 3.4+ //
6-
// Copyright (C) 2018 onwards Andrew Nagyeb //
7-
// This program is based on the work of Sun Zhigang (C) 2009 Moodle 2.6. //
8-
// //
9-
// Modifications were made in order to upgrade the program so that //
10-
// it is compatible to Moodle 3.4+. //
11-
// Original License Follows //
12-
///////////////////////////////////////////////////////////////////////////
13-
14-
///////////////////////////////////////////////////////////////////////////
15-
// //
16-
// NOTICE OF COPYRIGHT //
17-
// //
18-
// Online Judge for Moodle //
19-
// https://github.com/hit-moodle/moodle-local_onlinejudge //
20-
// //
21-
// Copyright (C) 2009 onwards Sun Zhigang http://sunner.cn //
22-
// //
23-
// This program is free software; you can redistribute it and/or modify //
24-
// it under the terms of the GNU General Public License as published by //
25-
// the Free Software Foundation; either version 3 of the License, or //
26-
// (at your option) any later version. //
27-
// //
28-
// This program is distributed in the hope that it will be useful, //
29-
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
30-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
31-
// GNU General Public License for more details: //
32-
// //
33-
// http://www.gnu.org/copyleft/gpl.html //
34-
// //
35-
///////////////////////////////////////////////////////////////////////////
2+
// This file is part of Moodle - https://moodle.org
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16+
17+
/**
18+
* NOTICE OF COPYRIGHT
19+
*
20+
* Online Judge for Moodle
21+
* https://github.com/hit-moodle/moodle-local_onlinejudge
22+
*
23+
* Copyright (C) 2009 onwards
24+
* Sun Zhigang http://sunner.cn
25+
* Andrew Naguib <andrew at fci helwan edu eg>
26+
* This program is free software; you can redistribute it and/or modify
27+
* it under the terms of the GNU General Public License as published by
28+
* the Free Software Foundation; either version 3 of the License, or
29+
* (at your option) any later version.
30+
*
31+
* This program is distributed in the hope that it will be useful,
32+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+
* GNU General Public License for more details:
35+
*
36+
* http://www.gnu.org/copyleft/gpl.html
37+
*/
3638

3739
/**
3840
* Upgrade database

clients/mod/assign/feedback/onlinejudge/lang/en/assignfeedback_onlinejudge.php

Lines changed: 35 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,40 @@
11
<?php
2-
///////////////////////////////////////////////////////////////////////////
3-
// NOTICE OF COPYRIGHT //
4-
// //
5-
// Online Judge Moodle 3.4+ //
6-
// Copyright (C) 2018 onwards Andrew Nagyeb //
7-
// This program is based on the work of Sun Zhigang (C) 2009 Moodle 2.6. //
8-
// //
9-
// Modifications were made in order to upgrade the program so that //
10-
// it is compatible to Moodle 3.4+. //
11-
// Original License Follows //
12-
///////////////////////////////////////////////////////////////////////////
2+
// This file is part of Moodle - https://moodle.org
3+
//
4+
// Moodle is free software: you can redistribute it and/or modify
5+
// it under the terms of the GNU General Public License as published by
6+
// the Free Software Foundation, either version 3 of the License, or
7+
// (at your option) any later version.
8+
//
9+
// Moodle is distributed in the hope that it will be useful,
10+
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
// GNU General Public License for more details.
13+
//
14+
// You should have received a copy of the GNU General Public License
15+
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
1316

14-
///////////////////////////////////////////////////////////////////////////
15-
// //
16-
// NOTICE OF COPYRIGHT //
17-
// //
18-
// Online Judge for Moodle //
19-
// https://github.com/hit-moodle/moodle-local_onlinejudge //
20-
// //
21-
// Copyright (C) 2009 onwards Sun Zhigang http://sunner.cn //
22-
// //
23-
// This program is free software; you can redistribute it and/or modify //
24-
// it under the terms of the GNU General Public License as published by //
25-
// the Free Software Foundation; either version 3 of the License, or //
26-
// (at your option) any later version. //
27-
// //
28-
// This program is distributed in the hope that it will be useful, //
29-
// but WITHOUT ANY WARRANTY; without even the implied warranty of //
30-
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
31-
// GNU General Public License for more details: //
32-
// //
33-
// http://www.gnu.org/copyleft/gpl.html //
34-
// //
35-
///////////////////////////////////////////////////////////////////////////
17+
/**
18+
* NOTICE OF COPYRIGHT
19+
*
20+
* Online Judge for Moodle
21+
* https://github.com/hit-moodle/moodle-local_onlinejudge
22+
*
23+
* Copyright (C) 2009 onwards
24+
* Sun Zhigang http://sunner.cn
25+
* Andrew Naguib <andrew at fci helwan edu eg>
26+
* This program is free software; you can redistribute it and/or modify
27+
* it under the terms of the GNU General Public License as published by
28+
* the Free Software Foundation; either version 3 of the License, or
29+
* (at your option) any later version.
30+
*
31+
* This program is distributed in the hope that it will be useful,
32+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
33+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34+
* GNU General Public License for more details:
35+
*
36+
* http://www.gnu.org/copyleft/gpl.html
37+
*/
3638

3739
/**
3840
* Strings for Online Judge Assignment Type

0 commit comments

Comments
 (0)