rugk
429d43dc78
Make some functions of AttachmentHandler private
...
They are only used/referenced in the same module, so there is no need to
make them public.
6 years ago
rugk
14a7fd7091
Fix https://github.com/PrivateBin/PrivateBin/issues/315
...
Fixes some display issues related to file display.
6 years ago
rugk
da45d347e2
Fix attachment issues
...
Fixes https://github.com/PrivateBin/PrivateBin/issues/315
The attachment viewer is also used for storing to be uploaded
attachments, which caused some confusion in handling them.
I also tried to add some comments clarifying it as it seems to work.
Additionally I fixed the issue that you could submit an empty paste and
it was not rejected.
6 years ago
El RIDO
db7c7e2e16
Merge branch 'otaku-fixbootstrap'
6 years ago
El RIDO
b618bad51c
minor fix
6 years ago
El RIDO
df88db926d
Merge branch 'fixbootstrap' of https://github.com/otaku/PrivateBin into otaku-fixbootstrap
6 years ago
rugk
7ba968ce1d
Merge branch 'Quenty31-patch-1'
6 years ago
Quentí
580b5393c2
Update Occitan translation
6 years ago
Alexander Do
1648780269
Fix bootstrap template
6 years ago
El RIDO
30de630bfb
Merge branch 'thororm-attachment-handling'
6 years ago
El RIDO
2c82279292
Merge branch 'attachment-handling' of https://github.com/thororm/PrivateBin into thororm-attachment-handling
...
apart from resolving conflicts:
- added missing docs
- inlined functions that were used in only one location
- updated unit test to support all previews
- fixed a regression that displayed the preview even when there was no preview and too early
6 years ago
El RIDO
939a62ab2c
Merge branch 'otaku-blob'
6 years ago
El RIDO
de4b96c5ed
Merge branch 'blob' of https://github.com/otaku/PrivateBin into otaku-blob
6 years ago
El RIDO
3f508b737c
adding npm mime-types dependency, missing in travis CI
6 years ago
El RIDO
e4bf41202e
Merge branch 'master' into js-unit-testing
6 years ago
Alexander Do
5bee666a6b
Update SRI hashes
6 years ago
Alexander Do
2fce7bb96a
Merge branch 'master' of github.com:PrivateBin/PrivateBin into blob
6 years ago
Alexander Do
3f28f01b0e
Switch from bind / unbind to on / off
6 years ago
rugk
3b90020559
Add explanation
...
Ref https://github.com/PrivateBin/PrivateBin/pull/297#issuecomment-379586428
6 years ago
Alexander Do
60cedd7fb5
Only create Blob for Download for IE upon click event
6 years ago
Alexander Do
2925fa8bfc
Requested Changes, IE Download fix only
6 years ago
rugk
cb6a6200b9
Add missing license for kjua
6 years ago
rugk
b85dab4633
Merge branch 'otaku-lang'
6 years ago
rugk
09a04b96c0
Update SRI hashes
6 years ago
Alexander Do
d3b8ef44ed
Download Attachment changes. Support for Edge and change to Blob
6 years ago
Alexander Do
944c8c2912
Add test for missing browser language
6 years ago
Alexander Do
c6950b9b56
Default to en if browser does not provide a language
6 years ago
El RIDO
3538a8bec5
concluding tests for TopNav
6 years ago
El RIDO
4857a92a0e
testing file input access
6 years ago
El RIDO
78c186d6bc
avoid StyleCI complaint
6 years ago
El RIDO
0938b59b90
attributes contain strings, not booleans
6 years ago
El RIDO
76debde85b
found and fixed a bug in TopNav.collapseBar() while writing test for it
6 years ago
El RIDO
ce6764e97d
introduce built in asserts, working on TopNav, correcting some docs
6 years ago
El RIDO
cb2af8687e
Merge branch 'master' into js-unit-testing
6 years ago
El RIDO
df921ad658
fixing licence identifier according to spdx.org for Packagist / composer
6 years ago
El RIDO
eb57a95392
Merge branch 'fixurlshortener'
6 years ago
El RIDO
4653085d2e
Merge branch 'master' into fixurlshortener
6 years ago
El RIDO
d07f8d8f96
fixing indentation, replicating change to other template
6 years ago
El RIDO
266b71bfd0
Merge branch 'master' into js-unit-testing
6 years ago
El RIDO
a3e0418b33
working on TopNav tests
6 years ago
rugk
0687448d0a
Fix some issues from ESLint
6 years ago
rugk
904f0de245
Fix indendation
6 years ago
rugk
722d8ce7dd
Fix URL shortener not working
...
Move URL shortener out of #pastelink as that is overwritten by the JS.
Fixes https://github.com/PrivateBin/PrivateBin/issues/280
6 years ago
El RIDO
99972b5f7b
Merge branch 'f-breidenstein-better_dockerfile'
6 years ago
Felix Breidenstein
5602e47c5f
Added docker-compose.yml
6 years ago
Felix Breidenstein
d3c3cb0c1f
Dockerfile: Better handling of entrypoint.sh
6 years ago
Felix Breidenstein
8c19e869b7
Dockerfile: Define data volume and entryscript
...
The entryscript is needed to set correct permissions on the data
directory.
6 years ago
Felix Breidenstein
43d48ae2df
Dockerfile: Remove empty line in RUN command
...
This will throw errors in future Docker versions
6 years ago
Felix Breidenstein
82dc08e7e7
Dockerfile: Use correct libpng package for Debian Stretch
6 years ago
Felix Breidenstein
460d7ec3eb
Dockerfile: Be more specific about the path
...
Without looking at the php:apache image, it is unclear what
the destination of the COPY command is
6 years ago