Commit Graph

39 Commits

Author SHA1 Message Date
Imre Jonk
7ba352f0e5 Set URLs to https if HTTP X-Forwarded-Proto=https
This line changes all URLs to https URLs if the Framadate installation
is behind a reverse proxy, and the reverse proxy adds the
X-Forwarded-Proto header with the 'https' value. Configuration for
nginx:

proxy_set_header X-Forwarded-Proto https;

This setup is currently used by the Framadate installation of
Bits of Freedom (https://kies.bof.nl).
2015-10-26 15:02:02 +01:00
Olivier PEREZ
4b6f7b685e getUrlSondage: Cannot define links for EDIT and ACTION at the same time 2015-10-05 23:50:51 +02:00
Olivier PEREZ
254512c55a Install: Redirections between Install and Index 2015-09-07 16:36:42 +02:00
Olivier PEREZ
a6788d81c2 Host can now force URL, used behind a reverse-proxy 2015-06-23 22:03:56 +02:00
Antonin
0505ab6bb2 Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
	app/classes/Framadate/Utils.php
2015-04-13 16:16:02 +02:00
Antonin
fbd45960b7 Changing some actions from POST to GET. 2015-04-13 15:45:01 +02:00
Olivier PEREZ
3ef40417b2 Fix usage of markdown 2015-04-13 14:52:43 +02:00
Olivier PEREZ
7b4bc4ad7f Replace $html_lang by $locale 2015-04-13 12:10:07 +02:00
Olivier PEREZ
e4b61ff54b Don't redirect to studs when you edit a vote from adminstuds 2015-04-11 17:03:10 +02:00
Antonin
a3f5763edd New edition possibility is taken into account
- Also added Framadate\Message à link attribute
	- Added local anchor #edit with vote edition
	- For now, when the poll owner check the new edit option (ie: "Votes are editable solely by their owner"), users get their update link on vote creation
2015-04-05 17:44:29 +02:00
Antonin
4c137748b4 Editing vote by link with unique id
- Changed the smarty modifier poll_url to a function and added the vote_id parameter
	- Modified accordingly all poll_url occurence in templates
	- Added htaccess.txt to be sure to keep poll's URL changes up to date
	- Escaped some templates output in order to avoid to broke HTML
	- Using vote's uniqId instead of vote's id when it's needed
2015-04-02 16:56:52 +02:00
Olivier Perez
d8c70a5f77 Fix back links to create_poll.php + Use values in session if _post is not present 2015-03-31 00:02:37 +02:00
Olivier PEREZ
da2cdeda12 Smartysize infos_creation, and rename it to create_poll 2015-03-29 22:13:22 +02:00
Olivier PEREZ
778a03f802 Fix usage of preg_replace 2015-03-05 13:22:55 +01:00
Olivier PEREZ
b3bc68bbe6 Fix pb when host on domain name starting with 'admin'
* Do str_replace only on the $dirname variable
2015-03-05 00:02:45 +01:00
Olivier PEREZ
8a0c8bd8d3 Make language selection work better 2015-01-20 00:05:43 +01:00
Olivier PEREZ
80be71d382 Improve management of errors in infos_sondage page 2015-01-17 16:25:12 +01:00
FramaJosephK
35ba152199 Retouches après série de merges
(cherry picked from commit 6751a8a9cf)

Conflicts:
	adminstuds.php
	app/classes/Framadate/Utils.php
	creation_sondage.php
2015-01-04 18:29:36 +01:00
Spanti Nicola (RyDroid)
381c4444e3 Minor modifications to Utils.php
(cherry picked from commit e6d171a4b0)

Conflicts:
	app/classes/Framadate/Utils.php
2015-01-04 18:18:59 +01:00
Spanti Nicola (RyDroid)
7483620880 Minor modifications to Utils.php
Cherry-picked :
        e6d171a4

Conflicts:
	app/classes/Framadate/Utils.php
2015-01-04 16:41:11 +01:00
Olivier PEREZ
985842edf3 CSV Export: Implements export for classical polls 2015-01-03 19:06:03 +01:00
Olivier PEREZ
a8345cf7f8 Parse markdown on classic votes 2015-01-01 23:24:17 +01:00
Olivier PEREZ
1111b86e2a Define a prefix for database table names. 2014-12-31 15:19:15 +01:00
Olivier PEREZ
1ca7502216 Translate database names (table+columns) to English + Reorganize some columns 2014-12-30 01:41:25 +01:00
Olivier PEREZ
8109b11b70 Move mail sending to class \Framadate\Service\MailService 2014-12-23 00:58:00 +01:00
Olivier PEREZ
288ddd2efc admin: Add availability to add a slot to a poll 2014-12-23 00:30:05 +01:00
Olivier PEREZ
ceb6ae3bca Remove old code + Add doc 2014-12-17 13:52:52 +01:00
Olivier PEREZ
fcaea63b84 A big part of refactoring
* Use Smarty to split View and Controller on studs page (work in progress)
* Add field "active" to Poll
* And some other stuff...
2014-12-12 13:46:55 +01:00
Olivier PEREZ
3743ad55f1 Make add vote working 2014-12-07 23:12:08 +01:00
Olivier PEREZ
46ea697cb6 Refactor on choix_autre.php
* Utils::issetAndNoEmpty is now removed
* Use Form object to store value from page to page
2014-12-06 19:42:01 +01:00
Olivier PEREZ
fae91f6f3e Refactor poll creation
* Rename fields in Sondage table
* Add field "editable" which tells when users can edit their votes
* PDO : Configure 2 options (FETCH_OBJ + ERRMODE_EX)
* "formatsondage" does contains "+" (or not) anymore
2014-12-05 01:08:38 +01:00
Olivier PEREZ
1437eaf47e Refactoring some code:
* Store all informations about forms into an object "Form" stored in $_SESSION['form']
* Replace connection to database by PDO object
* Check if database is ready in bandeaux.php file
2014-12-03 21:08:08 +01:00
FramaJosephK
307f36ae64 fix a11y + reprise config.inc + bug date_format win 2014-11-14 17:35:22 +01:00
FramaJosephK
6cc5fa3a13 purge auto limitée à 20 pour 1 créé 2014-11-13 21:58:03 +01:00
FramaJosephK
e0ff6ec0e7 liens et images autorisés par défaut + purge auto limitée à 50 pour 1 créé 2014-11-13 21:33:20 +01:00
JosephK
5993579238 Oublié les sauts de ligne 2014-11-06 15:37:03 +01:00
FramaJosephK
83b5848689 Compilation .po, fix a11y, issue #15 2014-11-06 15:20:03 +01:00
FramaJosephK
051575fa64 The big one 2014-10-21 01:31:26 +02:00
FramaJosephK
7f87858ff7 Mise à jour du dépôt avec la dernière version sur Github 2014-09-04 17:52:18 +02:00