Commit Graph

96 Commits

Author SHA1 Message Date
Aina Sitraka
e935f8a0db fix encode title (#4336) 2023-07-11 15:39:49 +02:00
jygaulier
e7027c7220 PHRAS-3800_xss (#4219)
* add encode option to record::get_title ; render preview.record_title in twig

* html-escape facet values
2023-03-15 11:05:34 +01:00
Aina Sitraka
e7b280a70c PHRAS-3823 Report - command line report generator (#4265)
* command report connections

* some report

* prefix beta

* Update .dockerignore

* some fix, add range option

---------

Co-authored-by: Nicolas Maillat <maillat@alchemy.fr>
2023-03-11 16:40:27 +01:00
Aina Sitraka
1c9e26245d PHRAS-3724 restrict download option when print (#4112) 2022-10-04 16:41:09 +02:00
Aina Sitraka
d968dddb92 PHRAS-3708 display unexpressed vote (#4093) 2022-07-12 10:37:08 +02:00
Aina Sitraka
4ee8b67e79 PHRAS-3706 Prod - 500 error when print a feedback report (#4088)
* owner have not a vote

* general fix

* unused var
2022-07-08 18:45:31 +02:00
Aina Sitraka
767b9a31d7 PHRAS-3699 fix missing translation (#4076) 2022-07-06 12:18:26 +02:00
Aina Sitraka
5bd63b1c34 PHRAS-3697 printed pdf improvement (#4063)
* field with label on print

* option to hide record information in preview when print

* add column printable

* add color picker

* patch on 4 1 6 cr4

* update locale

* bump version to 4.1.6-rc4

* fix bloc info color

* font size bloc info

* some fix

* Fallback to thumbnail when chosen subdefinition is not present or not printable
2022-06-23 10:13:42 +02:00
Aina Sitraka
2b6cc0f43a fix print feedback report (#4015) 2022-05-09 16:11:55 +02:00
Aina Sitraka
bbf5ef0d75 PROD - PRINT - PDF - Generated pdf cant be printed even if no password is defined (#4008)
* fix password

* owner pass

* fix
2022-04-28 17:22:05 +02:00
aynsix
640823dfbb some fix 2022-02-11 18:36:00 +03:00
aynsix
6d3510b8f2 title as pdf name 2022-02-11 12:15:31 +03:00
aynsix
f8732ff007 fix original name on download 2022-02-09 12:09:52 +03:00
aynsix
f22eed2783 add option filename when download check 2022-02-08 16:14:26 +03:00
aynsix
c944135eb4 add download link in title 2022-02-04 17:01:17 +03:00
aynsix
f7fbec3cf7 some improvement 2022-02-04 16:16:20 +03:00
aynsix
da6435824c some fix 2022-02-02 18:23:16 +03:00
aynsix
6086b3d4c3 use substitution image if subdef not available 2022-02-02 17:28:36 +03:00
aynsix
6240f1f888 check right on subdef 2022-02-01 16:44:24 +03:00
aynsix
720b8ba232 add check file on download 2022-02-01 11:28:15 +03:00
aynsix
b52fdddb2b select subdef to download 2022-01-31 19:56:55 +03:00
aynsix
94a9a37569 subdef mapping 2022-01-31 17:07:34 +03:00
aynsix
67d3055391 fix item number and force download 2022-01-28 16:58:22 +03:00
aynsix
8f915f322e add some options 2022-01-27 19:12:34 +03:00
aynsix
308c2dd896 some fix 2022-01-26 16:27:03 +03:00
aynsix
f9aaec1e49 PHRAS-3633 add tittle and message on print 2022-01-25 16:24:51 +03:00
aynsix
0099a0b415 PHRAS-3080 change cgu pdf filename 2021-02-19 11:09:38 +03:00
aynsix
02973eff96 change pdf name 2021-02-18 15:08:13 +03:00
aina esokia
97aacd0029 PHRAS-3080 add infodate 2021-02-17 15:08:58 +03:00
aina esokia
824e34d621 PHRAS-3080 add records thumbnail in cgu pdf 2021-02-17 13:54:33 +03:00
aina esokia
2fb345b936 do not cgu if no exist 2021-02-16 18:19:17 +03:00
aina esokia
74c66a7fef PHRAS-3080 add pdf file cgu in zip 2021-02-16 15:09:52 +03:00
aynsix
1996e1efec fix missing string 2020-02-04 11:10:27 +03:00
aynsix
d1374ef47f don't print fiels with attribute gui_visible false 2020-01-24 11:48:51 +03:00
aynsix
e3f596963a add base name in pdf feedback 2020-01-23 12:12:59 +03:00
aynsix
5b38565e1a add format deedback only and fix pdf text 2020-01-23 11:38:17 +03:00
Jean-Yves Gaulier
32fbf049cf PHRAS-2757_print-feedback_4.1
Add a print format when printing a feedback basket
Only the creator of the feedback can print it.
2020-01-09 20:31:09 +01:00
jygaulier
b8bebbce11 PHRAS-2189 report v2 master (#2742)
move code to services
added "download" report
change services to factory
added excel lib
added prod/report routes (download)
cleanup api routes
add : allow anonymized (user, fonction, societe... are "-")
removed : xls support (memory eating lib) in favor of xlsx
add : report download only on "document" and "preview" subdef classes
cs : report factory
add : restored "site" filter (see todos in src)
remove debug, cs

todo : doc
2018-11-12 19:43:40 +01:00
aina-esokia
b6ed165dd5 add print caption 2018-05-23 15:09:06 +04:00
Jean-Yves Gaulier
642da0fca5 PHRAS-508_acl-cache
- wip
2016-10-26 16:13:47 +02:00
Jean-Yves Gaulier
433c840622 PHRAS-1125_backport
fix : on thumbnail grid (pdf), thumbnail title is now over the thumbnail image.
2016-06-13 18:27:59 +02:00
Benoît Burnichon
1e18b3e69f This is a combination of 33 commits.
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Benoît Burnichon
ce4b9f25d9 PHPCS: Parameter types are declared wrong way 2016-01-26 14:25:08 +01:00
Benoît Burnichon
614394edc7 Method renaming 2016-01-26 14:25:08 +01:00
Thibaud Fabre
c92d5da9fe Merge branch 'clean-boxes' into merge-clean-boxes 2016-01-06 19:53:43 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Jean-Yves Gaulier
854a180b0c #PHRAS-568 #time 5m
- copy fix from 3.8
2015-08-24 18:56:27 +02:00
Benoît Burnichon
38ae7bc2ac Rename get_number/set_number to getNumber/setNumber 2015-07-13 17:50:20 +02:00
Thibaud Fabre
ea6a4fdbf0 Extract repository and factory classes for collections 2015-07-09 12:32:06 +02:00
Benoît Burnichon
d645b92afa Add AclAware Trait 2015-07-02 12:33:18 +02:00