Arthur Schiwon
772bbd99be
Backend work to provide NC whats New info to users
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
8 years ago
John Molakvoæ (skjnldsv)
938553ab07
IE11 css vars compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
8 years ago
Julius Härtl
d07d66e24b
Add public template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
8 years ago
Arthur Schiwon
282567fced
format links in comments
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
8 years ago
Georg Ehrke
60f9ed6241
add contactsmenu popover
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
9 years ago
Christoph Wurst
d091793ceb
Contacts menu
* load list of contacts from the server
* show last message of each contact
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
9 years ago
Roeland Jago Douma
3eb6f88019
Move to handlebars.min.js
core.js is now below 1mb!
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
abe887cd48
Moved to jquery-ui.custom.min.js
Shaves off about 200kb of the default loaded js libs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
7d1745d1e7
[js] Bump blueimp-md5
* bumped to latest
* moved to min
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
7d72ae3011
Move to autosize.min.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
b052addaca
Use minified clipboard.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
62827dd1da
use moments.js min in core.js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
eda98ed3df
Merge vendor js
There is a bunch of javascript we always load from vendors. This
combines this into 1 javascript file. Which reduces the number of
request by ~10.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
4518a28924
Revert "Bundle vendor js"
9 years ago
Roeland Jago Douma
98a14909e1
Bundle more default vendor js
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Lukas Reschke
6c8d48b0f6
Harden t() with DOMPurify
This mitigates issues where developers pass untrusted user-input through t() which may lead to XSS issues.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
9 years ago
Roeland Jago Douma
be45d6aac9
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Roeland Jago Douma
7d17b42f4d
Remove from core.json
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Joas Schilling
0b1fb180a5
Make AppConfig part of the public API
Signed-off-by: Joas Schilling <coding@schilljs.com>
9 years ago
Morris Jobke
f7ca3ec201
Remove unneeded compatibility polyfills
- `Object.create` supported with IE9+: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/create#Browser_compatibility
- `Object.keys` supported with IE9+: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/keys#Browser_compatibility
- `Array.prototype.filter` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter#Browser_compatibility
- `Array.prototype.indexOf` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf#Browser_compatibility
- `Array.prototype.map` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map#Browser_compatibility
- `Function.prototype.bind` supported in IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Browser_compatibility
- `String.prototype.trim` supported with IE9+: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim#Browser_compatibility
- `outerHTML` supported with Firefox 11+: https://developer.mozilla.org/en-US/docs/Web/API/Element/outerHTML#Browser_compatibility
- `window.devicePixelRatio` supported in IE11+: http://caniuse.com/#feat=devicepixelratio
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
9 years ago
Roeland Jago Douma
c5d24a6b07
Add autosize
9 years ago
Thomas Müller
daaa3ded8d
Add clipboard button to public share link
10 years ago
Christoph Wurst
e4a8456d01
replace $().attr('checked') by $().prop('checked', state) or $().is(':checked')
10 years ago
Christoph Wurst
05d203a989
replace $.parseJSON() by JSON.parse()
10 years ago
Christoph Wurst
e7f07ba02e
extract mail view for sending share invitations
fixes #22947
10 years ago
Christoph Wurst
621d1e2128
update jquery to version 2.2.3
10 years ago
Joas Schilling
f108dbfa6a
Move getDescriptiveTag to core
10 years ago
Vincent Petry
ffba6d0a7e
Added system tags GUI in sidebar
Added files details sidebar panel to assign/unassign/rename/delete
system tags.
10 years ago
Vincent Petry
857c316bda
Backbone transport for Webdav
10 years ago
Vincent Petry
fb3d5c7856
Add evert's davclient.js + es6-promise + IE8 workaround
- Add davclient.js lib
- Add es6-promise required by that lib
- Wrote IE8 workaround lib/shim for davclient.js
10 years ago
Vincent Petry
886f1ed660
Update JS unit tests for share dialog (WIP)
10 years ago
Vincent Petry
a5aa03a1a6
Load backbone when running unit tests
10 years ago
Arthur Schiwon
5af59c6871
rename sidebar element and use css and js utility functions to core
11 years ago
Roeland Jago Douma
c8145cdbd6
Javascript mimetype icon resolver
This makes it possible to retrieve the icon for mimetypes in javascript.
It makes no additional queries to the server to retrieve the mimetype.
* config/mimetypealiases.json added
* mimetype.js: this is where the logic resides to convert from mimetype
to icon url
* mimetypelist.js: generated file with a list of mimetype mapping (aliases)
and the list of icon files
* ./occ maintenance:mimetypesjs : new command for occ to gernerate
mimetypes.js
* unit tests updated and still work
* javascript tests added
* theming support
* folder of the theme is now present in javascript (OC.theme.folder)
11 years ago
Hendrik Leppelsack
8621d176db
moved tooltip.js to vendor scripts
11 years ago
Hendrik Leppelsack
f66e9af9a0
replaced tipsy with bootstrap tooltip
11 years ago
Morris Jobke
7b7b21d328
Upgrade jquery-migrate to 1.2.1
11 years ago
Roeland Jago Douma
c9272be0b9
Avatars in share dialog fixes
* Avatar for "xxxx share with you..." to the left
* Avatars for groups and remote shares (use default placeholder)
* Modified and added unit tests
* Use the same css for all the avatars in the dropdown
11 years ago
Lukas Reschke
bbd5f28415
Let users configure security headers in their Webserver
Doing this in the PHP code is not the right approach for multiple reasons:
1. A bug in the PHP code prevents them from being added to the response.
2. They are only added when something is served via PHP and not in other cases (that makes for example the newest IE UXSS which is not yet patched by Microsoft exploitable on ownCloud)
3. Some headers such as the Strict-Transport-Security might require custom modifications by administrators. This was not possible before and lead to buggy situations.
This pull request moves those headers out of the PHP code and adds a security check to the admin settings performed via JS.
11 years ago
Roeland Jago Douma
47b96c9fa1
Added dependancy for the JS unit tests
Still not correct but it is a small step
11 years ago
Morris Jobke
dc17019536
adjust paths for search
11 years ago
Jörn Friedrich Dreyer
9e3f4e043f
make OCA.Search.Files available in tests and for other apps
11 years ago
Vincent Petry
20c30ac79a
Load handlebars in core
11 years ago
Morris Jobke
edcd2f2706
bower jquery-ui - exported changes to a separate css file
11 years ago
Morris Jobke
957dee5af1
bower underscore
11 years ago
Morris Jobke
4fa3a5034b
drop unused jquery.placeholder
11 years ago
Morris Jobke
74d375d8ea
migrate jQuery to bower
11 years ago
Morris Jobke
1a405e56f5
replace moment.js with bower version
* fix JS unit tests
11 years ago
Vincent Petry
ec1a73fab9
Added OC.L10N namespace with translation functions
Added addTranslations and fixed de.js file
Fixed de.js to use OC.L10N.register() and use to correct expected
format.
Added JS unit tests for OC.L10N class
Include translations JS script for all apps
11 years ago
Vincent Petry
8fdcbce200
Include momentjs for unit tests
11 years ago