Commit 462cabb
committed
Restrict max size per document
Uses the new `maximum_size_per_doc` param to the ALExhibits
object to limit the size of individual documents.
In order to attempt to account for the OCR'd layer on the PDF (which
is added after the user uploads their files), it makes the limit stricter
by 1 MB. Might not be enough, but it gets more difficult when the document
that is upload isn't the exact same one that we submit.
Depends on SuffolkLITLab/docassemble-AssemblyLine#1002.1 parent 13fee10 commit 462cabb
File tree
2 files changed
+17
-3
lines changed- docassemble/MotionToStayEviction/data/questions
2 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
1074 | 1074 | | |
1075 | 1075 | | |
1076 | 1076 | | |
1077 | | - | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
1078 | 1082 | | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
1079 | 1087 | | |
1080 | 1088 | | |
1081 | 1089 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| 94 | + | |
94 | 95 | | |
95 | 96 | | |
96 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
0 commit comments