Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
890c538
Add mysql job to CI
MorrisJobke Jun 23, 2016
189d27d
fix mysql error handling
MorrisJobke Jun 23, 2016
e2a28db
Use OC.Backbone instead of Backbone directly in authtoken JS code
Jun 23, 2016
8fef9a1
Remove tooltip when disconnecting token
Jun 23, 2016
2ca1301
Add explicit delete permission to link shares
Jun 23, 2016
7dc3628
Repair step to adjust link share delete permissions
Jun 23, 2016
d345047
Make code integrity check work when OC is not installed yet
Jun 24, 2016
5e58b51
Prerender file list pages to include search results
Jun 23, 2016
db34671
check login name when authenticating with client token
ChristophWurst Jun 24, 2016
d484fef
show which login name to use for the new app password
ChristophWurst Jun 24, 2016
19a5398
Keep encryption enabled if decrypting for single user
Jun 24, 2016
213d711
fix layout
ChristophWurst Jun 24, 2016
089fcb4
Merge pull request #25154 from owncloud/token-login-check-loginname
Jun 27, 2016
4be9537
Merge pull request #25251 from owncloud/authtoken-assetpipelinefix
Jun 27, 2016
9549e2d
Merge pull request #25247 from owncloud/fed-unshare-fail
Jun 27, 2016
4811666
Merge pull request #25129 from owncloud/remove-ie
Jun 27, 2016
2acf831
initial commit for the theming app
schiessle Jun 6, 2016
55f3a65
basic information architecture for the theming app
jancborchardt Jun 7, 2016
a1f1712
write theme settings to database
schiessle Jun 9, 2016
dfe2273
add some visual feedback if the operation was succesful or not
schiessle Jun 16, 2016
92e2d1c
Migrate logic to dynamic controller
LukasReschke Jun 21, 2016
f225c5d
Check if server is installed
LukasReschke Jun 21, 2016
1e93c26
Fix indentation
LukasReschke Jun 21, 2016
7c232d5
Disable drop zone
LukasReschke Jun 21, 2016
ca36429
Adjust integration test
LukasReschke Jun 21, 2016
61cba10
scale preview image
schiessle Jun 22, 2016
0e30db4
make sure that the preview gets updated every time a new image gets u…
schiessle Jun 22, 2016
973fe7a
design and layout fixes for Theming app
jancborchardt Jun 23, 2016
1c5b9c0
Replace OC_Defaults with \OC::$server->getThemingDefaults()
LukasReschke Jun 27, 2016
9681bf7
Merge pull request #25252 from owncloud/authtoken-removetooltipondisc…
MorrisJobke Jun 27, 2016
050f373
Use stream instead of rename
LukasReschke Jun 27, 2016
4684741
Add comment to "getMailHeaderColor"
LukasReschke Jun 27, 2016
95344d0
Quickfix: do not lazy load auth mechanisms for ext storages
Jun 27, 2016
dbd176c
Merge pull request #25258 from owncloud/integritycheck-whennotinstalled
Jun 27, 2016
6e0c40f
Merge pull request #25250 from owncloud/linkshare-includedeletewithup…
Jun 27, 2016
5e2a9da
Merge pull request #25263 from owncloud/decryptall-keepencryptionenab…
ChristophWurst Jun 27, 2016
72a3301
Merge pull request #25261 from owncloud/app-password-login-name
Jun 27, 2016
79cfad0
Merge pull request #25237 from owncloud/search-filelistnextpageresults
Jun 27, 2016
0633162
Merge pull request #25273 from owncloud/ext-fixsessioncredentialsnola…
Jun 27, 2016
112bc07
Add app:check-code for already compatible apps
MorrisJobke Jun 27, 2016
c8730d9
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
LukasReschke Jun 27, 2016
fe1089e
Add tooltip
LukasReschke Jun 27, 2016
4b79420
Only save when value changed or enter is pressed
LukasReschke Jun 27, 2016
a456291
Merge pull request #59 from nextcloud/theming-app
LukasReschke Jun 27, 2016
f107be3
fix a ImageExportPlugin Test (#25215)
georgehrke Jun 27, 2016
332b38f
handle unavailable fed shares while testing for availability (#25277)
icewind1991 Jun 27, 2016
86a0e64
Login hooks (#25260)
ChristophWurst Jun 27, 2016
b400139
Fix getting the certificate bundle for dav external storage (#25274)
icewind1991 Jun 27, 2016
56aa200
Merge pull request #235 from nextcloud/fix-app-code
MariusBluem Jun 27, 2016
a8ccc71
Get rid of LGTM self approvals
MariusBluem Jun 27, 2016
808d694
Merge pull request #238 from nextcloud/lgtm-self-approval-fix
MorrisJobke Jun 27, 2016
20b1ba0
[tx-robot] updated from transifex
Jun 28, 2016
df00850
Merge pull request #236 from nextcloud/master-sync-upstream
MorrisJobke Jun 28, 2016
6a1d9d0
Hide revert button when no permission to revert
Jun 28, 2016
f3c75de
get only vcard which match both the address book id and the vcard uri
schiessle Jun 28, 2016
4574bc1
targets 3rdparty submodule from Nc instead of oC
vincchan Jun 28, 2016
a3e3f7d
Merge pull request #242 from nextcloud/fix-229
MorrisJobke Jun 29, 2016
e1c24e7
[tx-robot] updated from transifex
Jun 29, 2016
d2209d3
get only vcards which match both the address book id and the vcard ur…
schiessle Jun 29, 2016
a29c650
Merge pull request #25288 from owncloud/fix-versionrevertperms
Jun 29, 2016
2be978c
Update transifex config
MorrisJobke Jun 29, 2016
fe007fd
Various database migration fixes (#25209)
DeepDiver1975 Jun 29, 2016
0ccc412
9.1.0 RC 1
Jun 29, 2016
4c426ad
fix version string
Jun 29, 2016
79ab46b
mysql only works with 3 byte UTF-8
MorrisJobke Jun 29, 2016
7adfe95
Fix update notification text
MorrisJobke Jun 29, 2016
8a9a3df
Merge pull request #245 from nextcloud/fix-243
MorrisJobke Jun 29, 2016
03919cc
Merge pull request #248 from nextcloud/tx-fixes
MorrisJobke Jun 29, 2016
e67615e
[tx-robot] updated from transifex
Jun 30, 2016
444e95a
Merge pull request #206 from nextcloud/ci-mysql
MorrisJobke Jun 30, 2016
d473239
Merge pull request #247 from nextcloud/l10n-fixes
MorrisJobke Jun 30, 2016
dc35554
Prevent infinite loop in search auto-nextpage
Jun 30, 2016
93c8458
add some additonal permission checks to the webdav backend
schiessle Jun 30, 2016
7e7a15f
check permissions before rollback
schiessle Jun 30, 2016
4e21543
Add integration tests
LukasReschke Jun 30, 2016
26aba88
Set content-type to "application/octet-stream"
LukasReschke Jun 30, 2016
54ab972
Add required $message parameter
LukasReschke Jun 30, 2016
62cc9f9
Add proper throws PHP docs
LukasReschke Jun 30, 2016
2c75aeb
Merge pull request #253 from nextcloud/fix-versions
MorrisJobke Jun 30, 2016
ea18d86
Fix tests
LukasReschke Jun 30, 2016
726052b
fix error message
schiessle Jun 30, 2016
7723724
Merge pull request #258 from nextcloud/set-disposition
MariusBluem Jun 30, 2016
e9dedfb
Merge pull request #255 from nextcloud/dav-permission-check
schiessle Jun 30, 2016
39723c5
Merge pull request #25310 from owncloud/search-preventinfiniteloop
Jun 30, 2016
54ecc4c
Merge pull request #25304 from owncloud/local-karma
Jun 30, 2016
74b29a0
[tx-robot] updated from transifex
Jul 1, 2016
960c082
Merge remote-tracking branch 'upstream/master' into master-sync-upstream
LukasReschke Jul 1, 2016
7ea0893
Do not allow directory traversal using "../"
LukasReschke Jul 1, 2016
b09f872
Match for /../
LukasReschke Jul 1, 2016
f18f4d0
Match on 405
LukasReschke Jul 1, 2016
b98ecd8
update to 3rdparty master
MorrisJobke Jul 1, 2016
58e47c3
Merge pull request #278 from nextcloud/master-traversal-directory-js
schiessle Jul 1, 2016
d20740f
Merge pull request #281 from nextcloud/update-3rdparty-master
schiessle Jul 1, 2016
5cb83d4
Merge pull request #275 from nextcloud/master-sync-upstream
schiessle Jul 1, 2016
c79cf5b
We have our own Transifex org now ;)
MariusBluem Jul 2, 2016
27c2b7a
Add mimetype for fb2-extension
ayamshanov Jul 3, 2016
0e0148f
[master] Use paramterized parameter for \OC\SystemTag\SystemTagManager
LukasReschke Jul 3, 2016
969cfa2
Merge pull request #290 from nextcloud/update-transifex-link
MorrisJobke Jul 4, 2016
ebda6df
Collapse logs and lists with HTML5 support of github
nickvergessen Jul 4, 2016
2cf4530
we don't need to check permissions twice
schiessle Jul 1, 2016
22aee81
Merge pull request #299 from nextcloud/master-use-parameterized-query
MorrisJobke Jul 4, 2016
65a4057
Changed name of default logfile from owncloud.log to nextcloud.log.
Jul 4, 2016
5a9ddaa
Fix summary
MorrisJobke Jul 4, 2016
ff4005d
Merge pull request #303 from nextcloud/collapse-logs-in-github-issue-…
MorrisJobke Jul 4, 2016
31b099c
Factor out handling sidebar previews
icewind1991 Jul 4, 2016
acf1d45
Merge branch 'master' of https://github.com/nextcloud/server
Jul 4, 2016
1cf9e6c
Merge pull request #284 from nextcloud/cleanup-after-sync
MorrisJobke Jul 4, 2016
3b4a5b0
Add large sidebar previews for text files
icewind1991 Jul 4, 2016
9afe433
Merge pull request #305 from Faldon/master
LukasReschke Jul 4, 2016
faccc1b
Merge pull request #296 from ayamshanov/add_fb2_mimetype
LukasReschke Jul 4, 2016
e703942
adjust padding of text preview
MorrisJobke Jul 4, 2016
25d5359
for text use max-height to trim whitespace
MorrisJobke Jul 4, 2016
865e244
Merge pull request #306 from nextcloud/sidebar-preview-text
MariusBluem Jul 4, 2016
f173ced
Changed the creation of the update notification link to generate the …
Faldon Jul 4, 2016
601c5b8
Added escaping html code when building link to documentation.
Jul 5, 2016
dc5034f
Merge pull request #309 from Faldon/master
schiessle Jul 5, 2016
3af6b73
Update system tags icon
Jul 5, 2016
d596265
Clean the svg with inkscapes clean document function
Jul 5, 2016
c86064b
Replace tag svg with optimized version
Jul 5, 2016
8e4849e
Added class for "Recent" sidebar icon
Jul 7, 2016
e37f07a
Add the recent files icon
Jul 7, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ build:
- git submodule update --init
- ./occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass=''
- ./autotest.sh sqlite
mysql:
image: morrisjobke/nextcloud-ci-php7:1.0.4
commands:
- sleep 15 # gives the database enough time to initialize
- rm -rf data/* config/config.php # TODO: remove this - temporary fix for CI issues
- git submodule update --init
- ./autotest.sh mysql
postgres:
image: morrisjobke/nextcloud-ci-php7:1.0
commands:
Expand All @@ -33,3 +40,10 @@ compose:
environment:
- POSTGRES_USER=oc_autotest
- POSTGRES_PASSWORD=oc_autotest
mysql:
image: mysql
environment:
- MYSQL_ROOT_PASSWORD=owncloud
- MYSQL_USER=oc_autotest
- MYSQL_PASSWORD=owncloud
- MYSQL_DATABASE=oc_autotest
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
!/apps/testing
!/apps/admin_audit
!/apps/updatenotification
!/apps/theming
/apps/files_external/3rdparty/irodsphp/PHPUnitTest
/apps/files_external/3rdparty/irodsphp/web
/apps/files_external/3rdparty/irodsphp/prods/test
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "3rdparty"]
path = 3rdparty
url = https://github.com/owncloud/3rdparty.git
url = https://github.com/nextcloud/3rdparty.git
2 changes: 1 addition & 1 deletion .lgtm
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pattern = "(?i):shipit:|:\\+1:|LGTM|👍"
self_approval_off=true
self_approval_off = true
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ install:

script:
- sh -c "if [ '$TC' = 'syntax' ]; then composer install && lib/composer/bin/parallel-lint --exclude lib/composer/jakub-onderka/ --exclude 3rdparty/symfony/polyfill-php70/Resources/stubs/ --exclude 3rdparty/patchwork/utf8/src/Patchwork/Utf8/Bootup/ --exclude 3rdparty/paragonie/random_compat/lib/ --exclude lib/composer/composer/autoload_static.php --exclude 3rdparty/composer/autoload_static.php .; fi"
- sh -c "if [ '$TC' = 'app:check-code' ]; then ./occ app:check-code admin_audit; ./occ app:check-code comments; ./occ app:check-code federation; fi"
- sh -c "if [ '$TEST_DAV' != '1' ]; then echo \"Not testing DAV\"; fi"
- sh -c "if [ '$TEST_DAV' = '1' ]; then echo \"Testing DAV\"; fi"

Expand All @@ -51,5 +52,7 @@ matrix:
env: DB=sqlite;TC=syntax;TEST_DAV=0
- php: 7.0
env: DB=sqlite;TC=syntax;TEST_DAV=0
- php: 5.4
env: DB=sqlite;TC=app:check-code;TEST_DAV=0

fast_finish: true
2 changes: 1 addition & 1 deletion 3rdparty
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ In some areas unit testing is hard (aka almost impossible) as of today - in thes
## Translations
Please submit translations via [Transifex][transifex].

[transifex]: https://www.transifex.com/projects/p/owncloud/
[transifex]: https://www.transifex.com/nextcloud
3 changes: 3 additions & 0 deletions apps/comments/l10n/en_GB.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "More comments...",
"Save" : "Save",
"Allowed characters {count} of {max}" : "Allowed characters {count} of {max}",
"Error occurred while retrieving comment with id {id}" : "Error occurred while retrieving comment with id {id}",
"Error occurred while updating comment with id {id}" : "Error occurred while updating comment with id {id}",
"Error occurred while posting comment" : "Error occurred while posting comment",
"{count} unread comments" : "{count} unread comments",
"Comment" : "Comment",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Comments</strong> for files <em>(always listed in stream)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/en_GB.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "More comments...",
"Save" : "Save",
"Allowed characters {count} of {max}" : "Allowed characters {count} of {max}",
"Error occurred while retrieving comment with id {id}" : "Error occurred while retrieving comment with id {id}",
"Error occurred while updating comment with id {id}" : "Error occurred while updating comment with id {id}",
"Error occurred while posting comment" : "Error occurred while posting comment",
"{count} unread comments" : "{count} unread comments",
"Comment" : "Comment",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Comments</strong> for files <em>(always listed in stream)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/fi_FI.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Lisää kommentteja...",
"Save" : "Tallenna",
"Allowed characters {count} of {max}" : "Sallittujen merkkien määrä {count}/{max}",
"Error occurred while retrieving comment with id {id}" : "Virhe noutaessa kommenttia tunnisteella {id}",
"Error occurred while updating comment with id {id}" : "Virhe päivittäessä kommenttia tunnisteella {id}",
"Error occurred while posting comment" : "Virhe kommenttia lähettäessä",
"{count} unread comments" : "{count} lukematonta kommenttia",
"Comment" : "Kommentti",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Kommentit</strong> tiedostoille <em>(aina listattu luettelossa)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/fi_FI.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Lisää kommentteja...",
"Save" : "Tallenna",
"Allowed characters {count} of {max}" : "Sallittujen merkkien määrä {count}/{max}",
"Error occurred while retrieving comment with id {id}" : "Virhe noutaessa kommenttia tunnisteella {id}",
"Error occurred while updating comment with id {id}" : "Virhe päivittäessä kommenttia tunnisteella {id}",
"Error occurred while posting comment" : "Virhe kommenttia lähettäessä",
"{count} unread comments" : "{count} lukematonta kommenttia",
"Comment" : "Kommentti",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Kommentit</strong> tiedostoille <em>(aina listattu luettelossa)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Plus de commentaires...",
"Save" : "Enregistrer",
"Allowed characters {count} of {max}" : "{count} sur {max} caractères autorisés",
"Error occurred while retrieving comment with id {id}" : "Une erreur est survenue lors de la récupération du commentaire avec l'id {id}",
"Error occurred while updating comment with id {id}" : "Une erreur est survenue lors de la mise à jour du commentaire avec l'id {id}",
"Error occurred while posting comment" : "Une erreur est survenue lors de l'envoi du commentaire",
"{count} unread comments" : "{count} commentaires non lus",
"Comment" : "Commenter",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Commentaires</strong> pour les fichiers <em>(toujours listés dans le flux)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Plus de commentaires...",
"Save" : "Enregistrer",
"Allowed characters {count} of {max}" : "{count} sur {max} caractères autorisés",
"Error occurred while retrieving comment with id {id}" : "Une erreur est survenue lors de la récupération du commentaire avec l'id {id}",
"Error occurred while updating comment with id {id}" : "Une erreur est survenue lors de la mise à jour du commentaire avec l'id {id}",
"Error occurred while posting comment" : "Une erreur est survenue lors de l'envoi du commentaire",
"{count} unread comments" : "{count} commentaires non lus",
"Comment" : "Commenter",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Commentaires</strong> pour les fichiers <em>(toujours listés dans le flux)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Meer reacties...",
"Save" : "Opslaan",
"Allowed characters {count} of {max}" : "{count} van de {max} toegestane tekens",
"Error occurred while retrieving comment with id {id}" : "Er trad een fout op bij het ophalen van reactie met id {id}",
"Error occurred while updating comment with id {id}" : "Er trad een fout op bij het bijwerken van reactie met id {id}",
"Error occurred while posting comment" : "Er trad een fout op bij het plaatsten van een reactie",
"{count} unread comments" : "{count} ongelezen reacties",
"Comment" : "Reactie",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Reacties</strong> voor bestanden <em>(altijd getoond in de stroom)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Meer reacties...",
"Save" : "Opslaan",
"Allowed characters {count} of {max}" : "{count} van de {max} toegestane tekens",
"Error occurred while retrieving comment with id {id}" : "Er trad een fout op bij het ophalen van reactie met id {id}",
"Error occurred while updating comment with id {id}" : "Er trad een fout op bij het bijwerken van reactie met id {id}",
"Error occurred while posting comment" : "Er trad een fout op bij het plaatsten van een reactie",
"{count} unread comments" : "{count} ongelezen reacties",
"Comment" : "Reactie",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Reacties</strong> voor bestanden <em>(altijd getoond in de stroom)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/pl.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Więcej komentarzy...",
"Save" : "Zapisz",
"Allowed characters {count} of {max}" : "Dozwolone znaki {count} z {max}",
"Error occurred while retrieving comment with id {id}" : "W trakcie otrzymywania komentarza o identyfikatorze {id} wystąpił błąd.",
"Error occurred while updating comment with id {id}" : "W trakcie aktualizacji komentarza o identyfikatorze {id} wystąpił błąd.",
"Error occurred while posting comment" : "Podczas wysyłania komentarza wystąpił błąd",
"{count} unread comments" : "{count} nieprzeczytanych komentarzy",
"Comment" : "Komentarz",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Komentarze</strong> dla plików <em>(zawsze wypisane w strumieniu)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/pl.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Więcej komentarzy...",
"Save" : "Zapisz",
"Allowed characters {count} of {max}" : "Dozwolone znaki {count} z {max}",
"Error occurred while retrieving comment with id {id}" : "W trakcie otrzymywania komentarza o identyfikatorze {id} wystąpił błąd.",
"Error occurred while updating comment with id {id}" : "W trakcie aktualizacji komentarza o identyfikatorze {id} wystąpił błąd.",
"Error occurred while posting comment" : "Podczas wysyłania komentarza wystąpił błąd",
"{count} unread comments" : "{count} nieprzeczytanych komentarzy",
"Comment" : "Komentarz",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Komentarze</strong> dla plików <em>(zawsze wypisane w strumieniu)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/pt_BR.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Mais comentários...",
"Save" : "Salvar",
"Allowed characters {count} of {max}" : "Caracteres permitidos {count} de {max}",
"Error occurred while retrieving comment with id {id}" : "Ocorreu um erro ao recuperar comentário com o id {id}",
"Error occurred while updating comment with id {id}" : "Ocorreu um erro durante a atualização do comentário com o id {id}",
"Error occurred while posting comment" : "Ocorreu um erro ao postar o comentário",
"{count} unread comments" : "{count} comentários não lidos",
"Comment" : "Comentário",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Comemtários</strong> para arquivos <em>(sempre listados no fluxo)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/pt_BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Mais comentários...",
"Save" : "Salvar",
"Allowed characters {count} of {max}" : "Caracteres permitidos {count} de {max}",
"Error occurred while retrieving comment with id {id}" : "Ocorreu um erro ao recuperar comentário com o id {id}",
"Error occurred while updating comment with id {id}" : "Ocorreu um erro durante a atualização do comentário com o id {id}",
"Error occurred while posting comment" : "Ocorreu um erro ao postar o comentário",
"{count} unread comments" : "{count} comentários não lidos",
"Comment" : "Comentário",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Comemtários</strong> para arquivos <em>(sempre listados no fluxo)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/pt_PT.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Mais comentários...",
"Save" : "Guardar",
"Allowed characters {count} of {max}" : "{count} de {max} caracteres restantes",
"Error occurred while retrieving comment with id {id}" : "Ocorreu um erro ao tentar obter o comentário com o id {id}",
"Error occurred while updating comment with id {id}" : "Ocorreu um erro ao tentar atualizar o comentário com o id {id}",
"Error occurred while posting comment" : "Ocorreu um erro ao tentar publicar o comentário",
"{count} unread comments" : "{count} comentários não lidos",
"Comment" : "Comentário",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Comentários</strong> aos ficheiros <em>(listados sempre na transmissão)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/pt_PT.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Mais comentários...",
"Save" : "Guardar",
"Allowed characters {count} of {max}" : "{count} de {max} caracteres restantes",
"Error occurred while retrieving comment with id {id}" : "Ocorreu um erro ao tentar obter o comentário com o id {id}",
"Error occurred while updating comment with id {id}" : "Ocorreu um erro ao tentar atualizar o comentário com o id {id}",
"Error occurred while posting comment" : "Ocorreu um erro ao tentar publicar o comentário",
"{count} unread comments" : "{count} comentários não lidos",
"Comment" : "Comentário",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Comentários</strong> aos ficheiros <em>(listados sempre na transmissão)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/ru.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Ещё комментарии...",
"Save" : "Сохранить",
"Allowed characters {count} of {max}" : "Допустимых символов {count} из {max}",
"Error occurred while retrieving comment with id {id}" : "Произошла ошибка при извлечении комментария с id {id}",
"Error occurred while updating comment with id {id}" : "Произошла ошибка при обновлении комментария с id {id}",
"Error occurred while posting comment" : "При сохранении комментария произошла ошибка",
"{count} unread comments" : "{count} непрочитанных комментариев",
"Comment" : "Коментарий",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Комментарии</strong> к файлам <em>(всегда перечислены в потоке)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Ещё комментарии...",
"Save" : "Сохранить",
"Allowed characters {count} of {max}" : "Допустимых символов {count} из {max}",
"Error occurred while retrieving comment with id {id}" : "Произошла ошибка при извлечении комментария с id {id}",
"Error occurred while updating comment with id {id}" : "Произошла ошибка при обновлении комментария с id {id}",
"Error occurred while posting comment" : "При сохранении комментария произошла ошибка",
"{count} unread comments" : "{count} непрочитанных комментариев",
"Comment" : "Коментарий",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Комментарии</strong> к файлам <em>(всегда перечислены в потоке)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/sl.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ OC.L10N.register(
"More comments..." : "Več opomb ...",
"Save" : "Shrani",
"Allowed characters {count} of {max}" : "Dovoljeni znaki: {count} od {max}",
"Error occurred while retrieving comment with id {id}" : "Napaka se je zgodila med prenosom komentarja z oznako {id}",
"Error occurred while updating comment with id {id}" : "Napaka se je zgodila med posodabljanjem komentarja z oznako {id}",
"Error occurred while posting comment" : "Napaka se je zgodila med predajo komentarja",
"{count} unread comments" : "{count} neprebranih opomb",
"Comment" : "Opomba",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Opombe</strong> k datotekam <em>(vedno pokaži)</em>",
Expand Down
3 changes: 3 additions & 0 deletions apps/comments/l10n/sl.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
"More comments..." : "Več opomb ...",
"Save" : "Shrani",
"Allowed characters {count} of {max}" : "Dovoljeni znaki: {count} od {max}",
"Error occurred while retrieving comment with id {id}" : "Napaka se je zgodila med prenosom komentarja z oznako {id}",
"Error occurred while updating comment with id {id}" : "Napaka se je zgodila med posodabljanjem komentarja z oznako {id}",
"Error occurred while posting comment" : "Napaka se je zgodila med predajo komentarja",
"{count} unread comments" : "{count} neprebranih opomb",
"Comment" : "Opomba",
"<strong>Comments</strong> for files <em>(always listed in stream)</em>" : "<strong>Opombe</strong> k datotekam <em>(vedno pokaži)</em>",
Expand Down
2 changes: 1 addition & 1 deletion apps/dav/lib/CardDAV/CardDavBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,7 @@ public function getContact($addressBookId, $uri) {
$query = $this->db->getQueryBuilder();
$query->select('*')->from($this->dbCardsTable)
->where($query->expr()->eq('uri', $query->createNamedParameter($uri)))
->where($query->expr()->eq('addressbookid', $query->createNamedParameter($addressBookId)));
->andWhere($query->expr()->eq('addressbookid', $query->createNamedParameter($addressBookId)));
$queryResult = $query->execute();
$contact = $queryResult->fetch();
$queryResult->closeCursor();
Expand Down
14 changes: 12 additions & 2 deletions apps/dav/lib/CardDAV/ImageExportPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,18 @@ function getPhoto(Card $node) {
$photo = $vObject->PHOTO;
$type = $this->getType($photo);

$valType = $photo->getValueType();
$val = ($valType === 'URI' ? $photo->getRawMimeDirValue() : $photo->getValue());
$val = $photo->getValue();
if ($photo->getValueType() === 'URI') {
$parsed = \Sabre\URI\parse($val);
//only allow data://
if ($parsed['scheme'] !== 'data') {
return false;
}
if (substr_count($parsed['path'], ';') === 1) {
list($type,) = explode(';', $parsed['path']);
}
$val = file_get_contents($val);
}
return [
'Content-Type' => $type,
'body' => $val
Expand Down
Loading