Skip to content
Local cultural events calendar [DEPRECATED - Do not deploy this application on public servers; a new major version is in development, if you are interested in contributing to it contact us]
Branch: master
Clone or download
Latest commit e777dc7 Jun 25, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
admin fix(files): after moved uploads and interface img to web/ (css, etc.) Jun 17, 2019
config fix(database): update of schema sql with changes since 2016 Jun 24, 2019
css impr(user): layout home and form, removed fields (tel, address) Jun 21, 2019
docs docs(admin): dir Jun 25, 2019
images chore(files): moved uploads and interface img to web/ Jun 17, 2019
includes fix(home): cookie to dismiss recruitment announce Jun 18, 2019
js feat(event-copy): replaced old date selects by datepicker, Zebra updated May 10, 2019
librairies fix(login): remember me was broken after changed setcookie Jun 20, 2019
logs chore(logs): logging of main user actions with a simple class May 21, 2019
nbproject Merge branch 'event-add' May 18, 2019
templates feat(event-copy): replaced old date selects by datepicker, Zebra updated May 10, 2019
vendor fix(lieu): map width in mobile view, removed useless geoip2 lib May 28, 2019
web chore(files): moved uploads and interface img to web/ Jun 17, 2019
.buildpath Ôté France dans home, agenda, lieux pour la partie Lausannoise; inter… Jun 20, 2017
.gitattributes 🎉 Added .gitattributes Jun 27, 2016
.gitignore chore(git): gitignore Apr 28, 2019
404.inc.php Initial Jun 27, 2016
404.php Initial Jun 27, 2016
README.md docs(readme): takes into account the last additions Jun 24, 2019
_config.yml Set theme jekyll-theme-cayman May 3, 2019
action_favori.php impr(logs): english msg, more data, formatting, fixes May 22, 2019
agenda.php fix(agenda): view per week missing arg in sql req Jun 16, 2019
ajouterCommentaire.php impr(security): added CSRF protection by token Jun 18, 2019
ajouterDescription.php impr(security): added CSRF protection by token Jun 18, 2019
ajouterEvenement.php fix(event-add): photo uploaded was not saved in tiny and small formats Jun 20, 2019
ajouterLieu.php impr(security): added CSRF protection by token Jun 18, 2019
ajouterOrganisateur.php impr(security): added CSRF protection by token Jun 18, 2019
ajouterPersonne.php fix(user): affiliations were lost when profil edited by user not admin Jun 23, 2019
ajouterSalle.php impr(security): added CSRF protection by token Jun 18, 2019
annonce_erreur.php Initial Jun 27, 2016
annoncerEvenement.php feat(even): allow no logged users to submit an event and webmasters t… Jun 2, 2019
apropos.php impr(misc): layout fixes, libs updrades, copy event links... May 14, 2019
charte-editoriale.php fix(region): removed Fribourg from content and meta Apr 1, 2019
composer.json chore(libraries): composer.json with details of project Jun 10, 2019
contacteznous.php chore(files): moved uploads and interface img to web/ Jun 17, 2019
copierEvenement.php
email_evenement.php impr(layout): prev/next evenement navigations; btns submit larger Jun 14, 2019
evenement.php fix(files): after moved uploads and interface img to web/ (css, etc.) Jun 17, 2019
evenement_ics.php feat(even): allow no logged users to submit an event and webmasters t… Jun 2, 2019
event.php fix(lieu): auth for add/edit presentation, misc fixes and refactor May 31, 2019
faireUnDon.php Initial Jun 27, 2016
index.php fix(home): cookie to dismiss recruitment announce Jun 18, 2019
inscription.php chore(files): moved uploads and interface img to web/ Jun 17, 2019
ladecadanse.sql fix(database): update of schema sql with changes since 2016 Jun 24, 2019
liens.php Initial Jun 27, 2016
lieu.php fix(misc): layout, texts, etc. Jun 15, 2019
lieux.php feat(lieux): 1st impl of map of all places (reserved to admins) Jun 22, 2019
login.php chore(files): moved uploads and interface img to web/ Jun 17, 2019
logout.php impr(logs): english msg, more data, formatting, fixes May 22, 2019
motdepasse_demande.php chore(files): moved uploads and interface img to web/ Jun 17, 2019
motdepasse_reset.php impr(logs): english msg, more data, formatting, fixes May 22, 2019
organisateur.php
organisateurs.php chore(files): moved uploads and interface img to web/ Jun 17, 2019
personne.php impr(user): layout home and form, removed fields (tel, address) Jun 21, 2019
recherche.php chore(files): moved uploads and interface img to web/ Jun 17, 2019
robots.txt Initial Jun 27, 2016
rss.php feat(even): allow no logged users to submit an event and webmasters t… Jun 2, 2019
signaler_erreur.php impr(layout): prev/next evenement navigations; btns submit larger Jun 14, 2019
supprimer.php impr(security): added CSRF protection by token Jun 18, 2019

README.md

La décadanse

Agenda culturel local

La décadanse présente une sélection d'événements culturels accessibles, ouverts et intéressants, et donnant la possibilité aux organisateurs d'ajouter leurs propres événements.

La majeur partie du site est composée d'un agenda permettant de naviguer dans les événements passés ou futurs. Chacun de ceux-ci a sa fiche détaillée avec la possibilité donnée aux personnes inscrites d'y laisser un commentaire. Une rubrique Lieux répertorie des endroits où se déroulent des événements, et sont dans le meilleure des cas accompagnés de photos et de descriptifs.

Installation

  1. (optionnel) installer Pear Mail pour que les require_once Mail.php; dans le code fonctionnent
  2. copier config/params_model.php vers config/params.php
  3. créer la base de données et y importer ladecadanse.sql
  4. dans config/params.php saisir
  • le path et url du site
  • les données de connexion à la base de données
  • MASTER_KEY : un mot de passe "magique" qui fonctionne pour tous les identifiants
  • les clés Google pour Recaptcha 3 (formulaire Proposer un événement) et Maps (cartes des lieux)
  1. afin de gérer le site, créer user admin (groupe 1) dans la table personne à la main avec pour le mot de passe : sha1($gds.sha1($pass)) (à faire par ex. en PHP CLI)

Testé avec Apache 2.4, PHP 7.0, MariaDB 10

You can’t perform that action at this time.