Simon Eisenmann
ae90855b9f
Compute 'extra.d' relative URL
9 years ago
Simon Eisenmann
1532e1c2d6
Remove extra.d folder to get rid of build error
9 years ago
Simon Eisenmann
98ae511ae8
Add require relative load support
...
To use local AMD modules within extra.d plugins, the relative URL for
the global requireJS configuration makes this a bit difficult. To solve
this the following code can be added to plugin files, before the first
define call.
```
require.config({
paths: {
'extra.d': '../../../extra.d',
}
})
define(['./local-module'], function(localModule) { /* ... */ });
```
This change adds this configuration by default, so it is no longer
required to have it in each plugin which want to use './local-module'
syntax in require or define. As all plugins loaded via `extra.d` folder
are inside `extra.d` this automatically means that the URLs are resolved
correctly from the extra.d base URL as defined by the plugin itself.
9 years ago
Simon Eisenmann
a51131b3e3
Stop to use window.alert() for load errors
...
Load errors are now shown as simple inline messages, replacing the
loader. This avoids annoying browser alert windows.
9 years ago
Joachim Bauch
689e2e0c15
Fix mixed tabs/spaces.
10 years ago
Simon Eisenmann
b3d03b819c
Serve odf and pdf sandbox from the server to prepare CSP http header for Firefox compatibility as Firefox does not support CSP in meta tag (see https://bugzilla.mozilla.org/show_bug.cgi?id=663570 ).
10 years ago
Simon Eisenmann
2f85b039ed
Handle slow loads of web fonts and rebuilt styles.
10 years ago
Simon Eisenmann
beff7439b8
Bumped copyright to 2015.
10 years ago
Evan Theurer
c99e4562f0
Remove require shim for sjcl.
11 years ago
Simon Eisenmann
3fcca78182
Added support to enable Content-Security-Policy and Content-Security-Policy-Report-Only.
...
Export Csp boolean flag in global context (true if CSP is enabled).
Load extra styles if CSP is enabled.
11 years ago
Simon Eisenmann
0c88aeab0e
Use strict javascript globally.
11 years ago
Simon Eisenmann
ec9252d708
Stream lined jQuery usage and ported code to Angular whenever possible. This changes plugin API as plugins now have to use Angular $q instead of jQuery Deferreds.
11 years ago
Simon Eisenmann
373df25be8
Expose main App to externalPlugin call.
...
Added apiversion field to main App (starting with 1.0).
11 years ago
Simon Eisenmann
9f8bb75f21
Fixed JSHint errors and warnings.
11 years ago
Simon Eisenmann
c456dc22d0
Cleaned up file upload implementation and made it use the new model based parent scope.
11 years ago
Evan Theurer
7b7d77205c
Use bootstrap.file-input. Disable image controls and improve interface before image uploaded.
11 years ago
Simon Eisenmann
be7598a087
Implemented deferred based initialization to allow async operations to complete before config.
11 years ago
Joachim Bauch
6dc5140213
Add WebODF 0.5.1
11 years ago
Joachim Bauch
3d1addc5a1
Added compatibility layer for pdf.js.
11 years ago
Joachim Bauch
f6659593e8
Added pdf.js 9308b52.
11 years ago
Simon Eisenmann
c25834703a
Added general ES5 compatibility check and refuse to start when no Object.create support is found.
11 years ago
Evan Theurer
14b72542de
Move to one modal controller. Remove deps for dialogs.
11 years ago
Evan Theurer
f07824bef1
Remove angular-dialog-service dep.
11 years ago
Simon Eisenmann
d6c35145f9
Added external plugin support.
11 years ago
Simon Eisenmann
13ac41d417
Changed name of project to Spreed WebRTC.
11 years ago
Simon Eisenmann
a0733b6555
Applied jsbeautify target to all Javascript files making them use same syntax style and tab indentation everywhere.
11 years ago
Simon Eisenmann
508c23211a
Improved console disable code.
11 years ago
Simon Eisenmann
60149fd084
Added missing debug function.
11 years ago
Simon Eisenmann
feee1d3d76
Do not spam console per default.
11 years ago
Simon Eisenmann
a46f36fd48
Implemented userid validation and pluggable interface to implement different authentication backends.
...
Rewrote comments in the example configuration.
Moved all global test code into a plugin (plugin-test-authorize.js).
11 years ago
Simon Eisenmann
8e1377ffaf
Updated to latest version of webrtc.adapter.js.
12 years ago
Simon Eisenmann
0b1a53da37
Implemented Angular Module support in plugins.
...
Added better plugin examle.
Added support to serve static resources from extra subfolder static.
12 years ago
Simon Eisenmann
31dbb411ca
Added html frontend plugin support.
12 years ago
Simon Eisenmann
6ffd3f2917
Initial public release.
12 years ago