Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Urls.tsx 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. * Copyright (c) 2019 - 2020 Arnaud Vergnet.
  3. *
  4. * This file is part of Campus INSAT.
  5. *
  6. * Campus INSAT is free software: you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation, either version 3 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * Campus INSAT is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with Campus INSAT. If not, see <https://www.gnu.org/licenses/>.
  18. */
  19. const STUDENT_SERVER = 'https://etud.insa-toulouse.fr/';
  20. const AMICALE_SERVER = 'https://www.amicale-insat.fr/';
  21. const GIT_SERVER =
  22. 'https://git.etud.insa-toulouse.fr/vergnet/application-amicale/';
  23. const PLANEX_SERVER = 'http://planex.insa-toulouse.fr/';
  24. const AMICALE_ENDPOINT = AMICALE_SERVER + 'api/';
  25. const APP_ENDPOINT = STUDENT_SERVER + '~amicale_app/v2/';
  26. const PROXIMO_ENDPOINT = STUDENT_SERVER + '~proximo/v2/api/';
  27. const PROXIMO_IMAGES_ENDPOINT =
  28. STUDENT_SERVER + '~proximo/api_proximo/storage/app/public/';
  29. const APP_IMAGES_ENDPOINT = STUDENT_SERVER + '~amicale_app/images/';
  30. export default {
  31. amicale: {
  32. api: AMICALE_ENDPOINT,
  33. resetPassword: AMICALE_SERVER + 'password/reset',
  34. events: AMICALE_ENDPOINT + 'event/list',
  35. },
  36. app: {
  37. api: APP_ENDPOINT,
  38. dashboard: APP_ENDPOINT + 'dashboard/dashboard_data.json',
  39. menu: APP_ENDPOINT + 'menu/menu_data.json',
  40. },
  41. proximo: {
  42. articles: PROXIMO_ENDPOINT + 'articles',
  43. categories: PROXIMO_ENDPOINT + 'categories',
  44. images: PROXIMO_IMAGES_ENDPOINT + 'img/',
  45. icons: PROXIMO_IMAGES_ENDPOINT + 'icon/',
  46. },
  47. planex: {
  48. planning: PLANEX_SERVER,
  49. groups: PLANEX_SERVER + 'wsAdeGrp.php?projectId=1',
  50. },
  51. images: {
  52. proxiwash: APP_IMAGES_ENDPOINT + 'Proxiwash.png',
  53. washer: APP_IMAGES_ENDPOINT + 'ProxiwashLaveLinge.png',
  54. dryer: APP_IMAGES_ENDPOINT + 'ProxiwashSecheLinge.png',
  55. proximo: APP_IMAGES_ENDPOINT + 'Proximo.png',
  56. clubs: APP_IMAGES_ENDPOINT + 'Clubs.png',
  57. profile: APP_IMAGES_ENDPOINT + 'ProfilAmicaliste.png',
  58. equipment: APP_IMAGES_ENDPOINT + 'Materiel.png',
  59. vote: APP_IMAGES_ENDPOINT + 'Vote.png',
  60. amicale: APP_IMAGES_ENDPOINT + 'WebsiteAmicale.png',
  61. wiketud: APP_IMAGES_ENDPOINT + 'Wiketud.png',
  62. elusEtudiants: APP_IMAGES_ENDPOINT + 'EEC.png',
  63. tutorInsa: APP_IMAGES_ENDPOINT + 'TutorINSA.png',
  64. bib: APP_IMAGES_ENDPOINT + 'Bib.png',
  65. menu: APP_IMAGES_ENDPOINT + 'RU.png',
  66. availableRooms: APP_IMAGES_ENDPOINT + 'Salles.png',
  67. bluemind: APP_IMAGES_ENDPOINT + 'Bluemind.png',
  68. ent: APP_IMAGES_ENDPOINT + 'ENT.png',
  69. insaAccount: APP_IMAGES_ENDPOINT + 'Account.png',
  70. },
  71. websites: {
  72. amicale: AMICALE_SERVER,
  73. availableRooms: 'http://planex.insa-toulouse.fr/salles.php',
  74. bib: 'https://bibbox.insa-toulouse.fr/',
  75. bluemind: 'https://etud-mel.insa-toulouse.fr/webmail/',
  76. elusEtudiants: STUDENT_SERVER + '~eeinsat/',
  77. ent: 'https://ent.insa-toulouse.fr/',
  78. insaAccount: 'https://moncompte.insa-toulouse.fr/',
  79. tutorInsa: STUDENT_SERVER + '~tutorinsa/',
  80. wiketud: 'https://wiki.etud.insa-toulouse.fr/',
  81. },
  82. about: {
  83. appstore: 'https://apps.apple.com/us/app/campus-amicale-insat/id1477722148',
  84. playstore:
  85. 'https://play.google.com/store/apps/details?id=fr.amicaleinsat.application',
  86. react: 'https://facebook.github.io/react-native/',
  87. git: GIT_SERVER + 'src/branch/master/README.md',
  88. changelog: GIT_SERVER + 'src/branch/master/Changelog.md',
  89. license: GIT_SERVER + 'src/branch/master/LICENSE',
  90. },
  91. feedback: {
  92. git: GIT_SERVER,
  93. trello: 'https://trello.com/b/RMej49Uq/application-campus-insa',
  94. facebook: 'https://www.facebook.com/campus.insat',
  95. mail: `mailto:app@amicale-insat.fr?subject=[FEEDBACK] Application CAMPUS
  96. &body=Coucou Arnaud j'ai du feedback\n\n\n\nBien cordialement.`,
  97. discord: 'https://discord.gg/W8MeTec',
  98. },
  99. };