Skip to content
Permalink
Browse files

OSS release

  • Loading branch information...
adamyi committed May 20, 2019
1 parent 6e1f6ff commit f60892f2a3d1a357ccfc8c81faa0d9b21d52d22f
Showing with 862 additions and 488 deletions.
  1. +2 −2 .env.example
  2. +661 −0 LICENSE
  3. +55 −1 README.md
  4. +1 −4 app/Assignment.php
  5. +1 −4 app/Card.php
  6. +1 −4 app/Committee.php
  7. +1 −4 app/Conference.php
  8. +1 −4 app/Console/Kernel.php
  9. +1 −4 app/Dais.php
  10. +1 −4 app/Delegate.php
  11. +1 −4 app/Delegategroup.php
  12. +1 −4 app/Document.php
  13. +1 −4 app/Email.php
  14. +1 −4 app/Event.php
  15. +1 −4 app/Eventtype.php
  16. +1 −4 app/Form.php
  17. +1 −4 app/Good.php
  18. +1 −4 app/Handin.php
  19. +1 −4 app/Helpers/CollectionHelper.php
  20. +1 −4 app/Helpers/DateHelper.php
  21. +1 −4 app/Helpers/EncryptionHelper.php
  22. +1 −4 app/Helpers/EnumsHelper.php
  23. +1 −4 app/Helpers/InterfaceHelper.php
  24. +1 −4 app/Helpers/StatHelper.php
  25. +1 −4 app/Helpers/StringHelper.php
  26. +1 −4 app/Helpers/UrlHelper.php
  27. +1 −4 app/Http/Controllers/ApiController.php
  28. +1 −4 app/Http/Controllers/Auth/ForgotPasswordController.php
  29. +1 −4 app/Http/Controllers/Auth/LoginController.php
  30. +1 −4 app/Http/Controllers/Auth/RegisterController.php
  31. +1 −4 app/Http/Controllers/Auth/ResetPasswordController.php
  32. +1 −4 app/Http/Controllers/CardController.php
  33. +1 −4 app/Http/Controllers/ChatController.php
  34. +1 −4 app/Http/Controllers/Controller.php
  35. +1 −4 app/Http/Controllers/DatatablesController.php
  36. +1 −4 app/Http/Controllers/EmailController.php
  37. +1 −4 app/Http/Controllers/ExcelController.php
  38. +1 −4 app/Http/Controllers/FormController.php
  39. +1 −4 app/Http/Controllers/GeeTestController.php
  40. +1 −4 app/Http/Controllers/HomeController.php
  41. +1 −4 app/Http/Controllers/ImageController.php
  42. +1 −4 app/Http/Controllers/InterviewController.php
  43. +1 −4 app/Http/Controllers/NoteController.php
  44. +1 −4 app/Http/Controllers/PayController.php
  45. +0 −51 app/Http/Controllers/PayController.php.bak
  46. +1 −4 app/Http/Controllers/PortalController.php
  47. +1 −4 app/Http/Controllers/RoleAllocController.php
  48. +1 −4 app/Http/Controllers/SessionController.php
  49. +1 −4 app/Http/Controllers/SmsController.php
  50. +1 −4 app/Http/Controllers/StoreController.php
  51. +1 −4 app/Http/Controllers/UserController.php
  52. +1 −4 app/Http/Middleware/CheckForMaintenanceMode.php
  53. +1 −4 app/Http/Middleware/CheckGeeTest.php
  54. +1 −4 app/Http/Middleware/CheckVerification.php
  55. +1 −4 app/Http/Middleware/CheckreCAPTCHA.php
  56. +1 −4 app/Http/Middleware/DomainRouting.php
  57. +1 −4 app/Http/Middleware/EncryptCookies.php
  58. +1 −4 app/Http/Middleware/HttpsSchema.php
  59. +1 −4 app/Http/Middleware/Optimize.php
  60. +1 −4 app/Http/Middleware/RedirectIfAuthenticated.php
  61. +1 −4 app/Http/Middleware/SentryContext.php
  62. +1 −4 app/Http/Middleware/TrustProxies.php
  63. +1 −4 app/Http/Middleware/VerifyCsrfToken.php
  64. +1 −4 app/Interview.php
  65. +1 −4 app/Interviewer.php
  66. +1 −4 app/Nation.php
  67. +1 −4 app/Nationgroup.php
  68. +1 −4 app/Note.php
  69. +1 −4 app/Observer.php
  70. +1 −4 app/Option.php
  71. +1 −4 app/Order.php
  72. +1 −4 app/Orgteam.php
  73. +2 −5 app/Permission.php
  74. +1 −4 app/Reg.php
  75. +2 −5 app/Role.php
  76. +1 −4 app/School.php
  77. +1 −4 app/Teamadmin.php
  78. +1 −4 app/User.php
  79. +1 −4 app/Volunteer.php
  80. +1 −4 config/analytics.php
  81. +1 −4 config/api.php
  82. +1 −4 config/app.php
  83. +1 −4 config/auth.php
  84. +1 −4 config/blade.php
  85. +1 −4 config/broadcasting.php
  86. +1 −4 config/cache.php
  87. +1 −4 config/cart.php
  88. +1 −4 config/cdn.php
  89. +1 −4 config/compile.php
  90. +1 −4 config/database.php
  91. +1 −4 config/datatables.php
  92. +1 −4 config/debugbar.php
  93. +1 −4 config/excel.php
  94. +1 −4 config/filesystems.php
  95. +1 −4 config/geetest.php
  96. +1 −4 config/geoip.php
  97. +1 −4 config/luosimao.php
  98. +1 −4 config/mail.php
  99. +1 −4 config/munpanel.php
  100. +1 −4 config/pusher.php
  101. +1 −4 config/queue.php
  102. +1 −4 config/recaptcha.php
  103. +1 −4 config/sentry.php
  104. +1 −4 config/services.php
  105. +1 −4 config/session.php
  106. +1 −4 config/teegon.php
  107. +1 −4 config/trustedproxy.php
  108. +1 −4 config/twilio.php
  109. +1 −4 config/view.php
  110. +1 −4 routes/api.php
  111. +1 −4 routes/console.php
  112. +1 −4 routes/web.php
  113. +34 −0 vision.md
@@ -54,8 +54,8 @@ TEE_ORDERID_PREFIX=MP.BJC17.
ANALYTICS_ENABLED=false
ANALYTICS_TRACKINGID=UA-88064834-1

LUOSIMAO_SMS_KEY=yassiZuiKeAiLe
LUOSIMAO_CALL_KEY=adamyiLovesNewZealand
LUOSIMAO_SMS_KEY=REDACTED
LUOSIMAO_CALL_KEY=REDACTED

GEETEST_ID=
GEETEST_KEY=
661 LICENSE

Large diffs are not rendered by default.

@@ -1 +1,55 @@
MUNPANEL, an all-in-one platform for Model United Nations.
For MUNPANELers, please visit [go/v1-oss-survey-review](https://go.corp.munpanel.com/v1-oss-survey-review).

# MUNPANEL (v1)

An all-in-one platform for Model United Nations

一个面向模拟联合国的一体化平台

This system was live from November 2016 till July 2017. It had served 3 conferences, 170+ registered schools, and 2,000+ users, with 500+ maximum DAU (daily active users), 235,000+ total visits and 490,000+ CNY cash flow.

该系统自 2016 年 11 月至 2017 年 7 月之间,服务了 3 场模拟联合国会议,共有 170+ 注册学校,2000+ 注册用户,最高日活跃用户 500+,共计 235,000+ 次访问,现金流达 490,000 + 人民币。

For more details, please check the 2017 report down below or [vision.md](vision.md).

关于更多详情,请查看下方的 2017 年度报告以及[vision.md (in English)](vision.md)

## Opensourcing

At MUNPANEL, we value our community a lot, and open-sourcing is a way we do it. That's why we decided to open-source MUNPANEL v1, the same server code that served 170+ school clubs, 2,000+ users, and 200,000+ page views, and powered BJMUNC 2017, BJMUNSS 2017, and ROMUNC 2017. We are hoping that the source code could provide an insight into how MUNPANEL works below surface, and also inspire those young students, like us, interested in making the world a better place with technology.

在 MUNPANEL,我们十分重视我们所在的社区,而开源是我们对社区的一种回馈。我们决定开源 MUNPANEL v1,这个服务了170+学校社团,2000+用户和20余万次访问的,驱动了 BJMUNC 2017、BJMUNSS 2017 以及 ROMUNC 2017 的代码。我们希望源代码可以透露一些 MUNPANEL 在底层是如何运作的,并且启迪那些对和我们一样期待着用科技去改变世界的年轻人们。

## 2017 Report

We have also written a report about the past year (2017) at MUNPANEL (yes, we all love numbers!!!), feel free to take a look at https://github.com/munpanel/2017report/blob/master/munpanel2017.pdf (GitHub stars are welcome!!!

我们也整理了一份关于 MUNPANEL 在 2017 年的开发和运营的报告(是的,我们都喜欢数字!),欢迎访问 https://github.com/munpanel/2017report/blob/master/munpanel2017.pdf (也欢迎在GitHub 上 star)

For MUNPANELers: use [go/2017-report](https://go.corp.munpanel.com/2017-report) instead

## Issues

For why MUNPANEL is currently not under maintainance, please visit [MUNPANEL and ROMUN - To SZR (in Chinese)](https://docs.google.com/document/d/1AVrHc3mKUdNqbtbwcsT1UsqGHOYaHSUyFr_J7X81nus/edit) (link inaccessible in Mainland China)

目前 MUNPANEL 不在积极维护的原因请见 [MUNPANEL and ROMUN - To SZR](https://form.chinagdg.org/document/d/1AVrHc3mKUdNqbtbwcsT1UsqGHOYaHSUyFr_J7X81nus/edit?hl=zh_cn) (中国大陆请使用此链接)

Since this is not under active maintatinance, we offer limited support for the source code, and do not offer external documentation as for deploying and configuration.

因此,我们仅对这份源码提供有限的支持,也恕不对外提供部署、配置相关文档。

If you need to contact us, please use Github issues, or email munpanel-oss-support@adamyi.com and support@munpanel.com

如需联系我们,请使用 Github Issues 或 email munpanel-oss-support@adamyi.com 和 support@munpanel.com

For MUNPANLers:

For (technical) issues with MUNPANEL v1, please visit [go/v1-issues](https://go.corp.munpanel.com/v1-issues)

## Maintainers

* Adam Yi: [GitHub](https://github.com/adamyi) | [Website](https://www.adamyi.com)
* Zirui Song: [GitHub](https://github.com/CRH380B-6216L)

## License
[AGPLv3](LICENSE)
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App\Console;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
/**
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
/**
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
function crypto_rand_secure($min, $max) {
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
/**
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
/**
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
use App\Delegate;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
/**
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
/**
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App\Http\Controllers;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App\Http\Controllers\Auth;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App\Http\Controllers\Auth;
@@ -3,10 +3,7 @@
* Copyright (C) MUNPANEL
* This file is part of MUNPANEL System.
*
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
*
* Developed by Adam Yi <xuan@yiad.am>
* Open-sourced under AGPL v3 License.
*/
namespace App\Http\Controllers\Auth;

0 comments on commit f60892f

Please sign in to comment.
You can’t perform that action at this time.