├── sass ├── admin.scss ├── admin.css └── admin.css.map ├── js ├── settings-admin.js ├── vendor │ ├── tinymce │ │ ├── skins │ │ │ ├── lightgray │ │ │ │ ├── fonts │ │ │ │ │ ├── readme.md │ │ │ │ │ ├── tinymce.eot │ │ │ │ │ ├── tinymce.ttf │ │ │ │ │ ├── tinymce.woff │ │ │ │ │ ├── tinymce-small.eot │ │ │ │ │ ├── tinymce-small.ttf │ │ │ │ │ └── tinymce-small.woff │ │ │ │ └── img │ │ │ │ │ ├── anchor.gif │ │ │ │ │ ├── loader.gif │ │ │ │ │ ├── object.gif │ │ │ │ │ └── trans.gif │ │ │ └── white │ │ │ │ ├── img │ │ │ │ ├── trans.gif │ │ │ │ ├── anchor.gif │ │ │ │ ├── loader.gif │ │ │ │ └── object.gif │ │ │ │ ├── fonts │ │ │ │ ├── tinymce.eot │ │ │ │ ├── tinymce.ttf │ │ │ │ ├── tinymce.woff │ │ │ │ ├── tinymce-small.eot │ │ │ │ ├── tinymce-small.ttf │ │ │ │ ├── tinymce-mobile.woff │ │ │ │ └── tinymce-small.woff │ │ │ │ └── content.mobile.min.css │ │ ├── plugins │ │ │ ├── help │ │ │ │ └── img │ │ │ │ │ └── logo.png │ │ │ ├── emoticons │ │ │ │ ├── img │ │ │ │ │ ├── smiley-cool.gif │ │ │ │ │ ├── smiley-cry.gif │ │ │ │ │ ├── smiley-kiss.gif │ │ │ │ │ ├── smiley-wink.gif │ │ │ │ │ ├── smiley-yell.gif │ │ │ │ │ ├── smiley-frown.gif │ │ │ │ │ ├── smiley-sealed.gif │ │ │ │ │ ├── smiley-smile.gif │ │ │ │ │ ├── smiley-innocent.gif │ │ │ │ │ ├── smiley-laughing.gif │ │ │ │ │ ├── smiley-surprised.gif │ │ │ │ │ ├── smiley-undecided.gif │ │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ │ ├── smiley-money-mouth.gif │ │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ │ └── smiley-foot-in-mouth.gif │ │ │ │ └── plugin.min.js │ │ │ ├── print │ │ │ │ └── plugin.min.js │ │ │ ├── hr │ │ │ │ └── plugin.min.js │ │ │ ├── directionality │ │ │ │ └── plugin.min.js │ │ │ ├── nonbreaking │ │ │ │ └── plugin.min.js │ │ │ ├── code │ │ │ │ └── plugin.min.js │ │ │ ├── colorpicker │ │ │ │ └── plugin.min.js │ │ │ ├── anchor │ │ │ │ └── plugin.min.js │ │ │ ├── save │ │ │ │ └── plugin.min.js │ │ │ ├── pagebreak │ │ │ │ └── plugin.min.js │ │ │ ├── noneditable │ │ │ │ └── plugin.min.js │ │ │ ├── tabfocus │ │ │ │ └── plugin.min.js │ │ │ ├── visualblocks │ │ │ │ └── plugin.min.js │ │ │ ├── contextmenu │ │ │ │ └── plugin.min.js │ │ │ ├── preview │ │ │ │ └── plugin.min.js │ │ │ ├── autoresize │ │ │ │ └── plugin.min.js │ │ │ ├── autolink │ │ │ │ └── plugin.min.js │ │ │ ├── fullscreen │ │ │ │ └── plugin.min.js │ │ │ ├── advlist │ │ │ │ └── plugin.min.js │ │ │ └── insertdatetime │ │ │ │ └── plugin.min.js │ │ └── langs │ │ │ └── readme.md │ └── angular-translate │ │ └── angular-translate-loader-url.min.js ├── admin.js ├── user.js ├── app │ ├── filters │ │ ├── trusted.js │ │ ├── objectKeysLength.js │ │ ├── capitalize.js │ │ ├── strip_html.js │ │ └── noteFilter.js │ ├── directives │ │ └── tooltip.js │ ├── controllers │ │ └── NoteViewCtrl.js │ ├── routes.js │ ├── services │ │ ├── NotebookService.js │ │ └── NoteService.js │ └── factory │ │ ├── NotebookFactory.js │ │ └── NoteFactory.js ├── animations.js └── lib │ └── tinymceNextcloudFileBrowser.js ├── css ├── admin.css ├── admin.css.map └── vendor │ └── font-awesome │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 ├── AUTHORS.md ├── img ├── delete.png ├── triangle-e.svg ├── triangle-n.svg ├── triangle-s.svg └── app.svg ├── l10n ├── uz.json ├── kn.json ├── lb.json ├── ms_MY.json ├── si_LK.json ├── az.json ├── ur_PK.json ├── ta_LK.json ├── uz.js ├── kn.js ├── si_LK.js ├── vi.json ├── lb.js ├── ms_MY.js ├── ur_PK.js ├── zh_HK.json ├── az.js ├── ta_LK.js ├── th.json ├── vi.js ├── bn_BD.json ├── ia.json ├── zh_HK.js ├── ast.json ├── km.json ├── oc.json ├── ia.js ├── th.js ├── bn_BD.js ├── km.js ├── oc.js ├── ast.js ├── hy.json ├── nn_NO.json ├── es_419.json ├── es_HN.json ├── es_NI.json ├── es_PA.json ├── es_PE.json ├── es_PR.json ├── es_PY.json ├── es_UY.json ├── mn.json ├── bs.json ├── ka_GE.json ├── hy.js ├── nn_NO.js ├── af.json ├── bs.js ├── es_419.js ├── es_HN.js ├── es_NI.js ├── es_PA.js ├── es_PE.js ├── es_PR.js ├── es_PY.js ├── es_UY.js ├── cy_GB.json ├── mn.js ├── ka_GE.js ├── ko.json ├── cy_GB.js ├── sq.json ├── af.js ├── sr@latin.json ├── ko.js ├── sr@latin.js ├── lv.json ├── sq.js ├── mk.json ├── ro.json ├── eo.json ├── lv.js ├── mk.js ├── eo.js ├── ro.js ├── bg.json ├── bg.js ├── id.json ├── ar.json ├── id.js ├── ar.js ├── lt_LT.json ├── lt_LT.js ├── zh_TW.json ├── zh_TW.js ├── da.json ├── da.js ├── et_EE.json ├── et_EE.js ├── fi.json ├── fi.js ├── pt_PT.json ├── pt_PT.js ├── he.json ├── he.js ├── zh_CN.json ├── zh_CN.js ├── ja.json ├── ja.js ├── en_GB.json ├── en_GB.js ├── nb.json ├── nl.json ├── nb.js ├── nl.js ├── tr.json ├── fa.json ├── tr.js ├── fa.js ├── gl.json ├── sv.json ├── it.json ├── gl.js ├── sr.json ├── cs.json ├── es_AR.json ├── sv.js ├── es_CL.json ├── es_CO.json ├── es_CR.json ├── es_DO.json ├── es_EC.json └── es_GT.json ├── .gitignore ├── .tx └── config ├── templates ├── views │ └── note │ │ ├── view.html │ │ └── edit.html └── settings-personal.php ├── transifex ├── serveradmin.txt └── server.txt ├── .scrutinizer.yml ├── .gitlab-ci.yml ├── docker-compose.yml ├── appinfo ├── autoload.php ├── app.php └── info.xml ├── package.json ├── lib ├── Db │ └── EntityJSONSerializer.php ├── Utility │ ├── UnauthorizedJSONResponse.php │ └── NotFoundJSONResponse.php └── Settings │ ├── AdminSection.php │ ├── PersonalSection.php │ └── AdminSettings.php ├── controller ├── shareapicontroller.php └── settingscontroller.php └── migration └── renametable.php /sass/admin.scss: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /js/settings-admin.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /css/admin.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | /*# sourceMappingURL=admin.css.map */ 4 | -------------------------------------------------------------------------------- /sass/admin.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | /*# sourceMappingURL=admin.css.map */ 4 | -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- 1 | # Authors 2 | 3 | * Sander Brand: 4 | 5 | -------------------------------------------------------------------------------- /img/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/img/delete.png -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/readme.md: -------------------------------------------------------------------------------- 1 | Icons are generated and provided by the http://icomoon.io service. 2 | -------------------------------------------------------------------------------- /sass/admin.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "mappings": "", 4 | "sources": [], 5 | "names": [], 6 | "file": "admin.css" 7 | } -------------------------------------------------------------------------------- /css/admin.css.map: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "mappings": "", 4 | "sources": [], 5 | "names": [], 6 | "file": "admin.css" 7 | } 8 | -------------------------------------------------------------------------------- /css/vendor/font-awesome/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/css/vendor/font-awesome/FontAwesome.otf -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/help/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/help/img/logo.png -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/img/trans.gif -------------------------------------------------------------------------------- /l10n/uz.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "yangi", 3 | "Notes" : "Eslatmalar" 4 | },"pluralForm" :"nplurals=1; plural=0;" 5 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/img/anchor.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/img/loader.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/img/object.gif -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .idea 3 | .sass-cache 4 | npm-debug.log 5 | 6 | # Don't mess with other dev's config 7 | launch_phpunit.sh 8 | dist 9 | -------------------------------------------------------------------------------- /css/vendor/font-awesome/fontawesome-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/css/vendor/font-awesome/fontawesome-webfont.eot -------------------------------------------------------------------------------- /css/vendor/font-awesome/fontawesome-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/css/vendor/font-awesome/fontawesome-webfont.ttf -------------------------------------------------------------------------------- /css/vendor/font-awesome/fontawesome-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/css/vendor/font-awesome/fontawesome-webfont.woff -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce.eot -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce.ttf -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce.woff -------------------------------------------------------------------------------- /l10n/kn.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "ಸೃಷ್ಟಿಸು", 3 | "Notes" : "Notes" 4 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 5 | } -------------------------------------------------------------------------------- /l10n/lb.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "erstellen", 3 | "Notes" : "Notizen" 4 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 5 | } -------------------------------------------------------------------------------- /l10n/ms_MY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Delete note" : "Hapus nota", 3 | "Notes" : "Nota" 4 | },"pluralForm" :"nplurals=1; plural=0;" 5 | } -------------------------------------------------------------------------------- /l10n/si_LK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "සදන්න", 3 | "Notes" : "සටහන්" 4 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 5 | } -------------------------------------------------------------------------------- /css/vendor/font-awesome/fontawesome-webfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/css/vendor/font-awesome/fontawesome-webfont.woff2 -------------------------------------------------------------------------------- /l10n/az.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Delete note" : "Qeydi sil", 3 | "Notes" : "Qeydlər" 4 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 5 | } -------------------------------------------------------------------------------- /l10n/ur_PK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "نیا بنائیں", 3 | "Notes" : "Notes" 4 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 5 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /l10n/ta_LK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "உருவவாக்கல்", 3 | "Notes" : "குறிப்புகள்" 4 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 5 | } -------------------------------------------------------------------------------- /l10n/uz.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "yangi", 5 | "Notes" : "Eslatmalar" 6 | }, 7 | "nplurals=1; plural=0;"); 8 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-cool.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-cry.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-kiss.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-wink.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-yell.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/white/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /l10n/kn.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "ಸೃಷ್ಟಿಸು", 5 | "Notes" : "Notes" 6 | }, 7 | "nplurals=2; plural=(n > 1);"); 8 | -------------------------------------------------------------------------------- /l10n/si_LK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "සදන්න", 5 | "Notes" : "සටහන්" 6 | }, 7 | "nplurals=2; plural=(n != 1);"); 8 | -------------------------------------------------------------------------------- /l10n/vi.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "mới", 3 | "create" : "tạo", 4 | "Notes" : "Ghi chép" 5 | },"pluralForm" :"nplurals=1; plural=0;" 6 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-frown.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-sealed.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-smile.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /l10n/lb.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "erstellen", 5 | "Notes" : "Notizen" 6 | }, 7 | "nplurals=2; plural=(n != 1);"); 8 | -------------------------------------------------------------------------------- /l10n/ms_MY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Delete note" : "Hapus nota", 5 | "Notes" : "Nota" 6 | }, 7 | "nplurals=1; plural=0;"); 8 | -------------------------------------------------------------------------------- /l10n/ur_PK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "نیا بنائیں", 5 | "Notes" : "Notes" 6 | }, 7 | "nplurals=2; plural=(n != 1);"); 8 | -------------------------------------------------------------------------------- /l10n/zh_HK.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "新增", 3 | "Delete note" : "刪除筆記", 4 | "Notes" : "筆記" 5 | },"pluralForm" :"nplurals=1; plural=0;" 6 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-innocent.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-laughing.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-surprised.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-undecided.gif -------------------------------------------------------------------------------- /l10n/az.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Delete note" : "Qeydi sil", 5 | "Notes" : "Qeydlər" 6 | }, 7 | "nplurals=2; plural=(n != 1);"); 8 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /l10n/ta_LK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "உருவவாக்கல்", 5 | "Notes" : "குறிப்புகள்" 6 | }, 7 | "nplurals=2; plural=(n != 1);"); 8 | -------------------------------------------------------------------------------- /l10n/th.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "สร้าง", 3 | "Delete note" : "ลบบันทึกย่อ", 4 | "Notes" : "บันทึกย่อ" 5 | },"pluralForm" :"nplurals=1; plural=0;" 6 | } -------------------------------------------------------------------------------- /l10n/vi.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "mới", 5 | "create" : "tạo", 6 | "Notes" : "Ghi chép" 7 | }, 8 | "nplurals=1; plural=0;"); 9 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brantje/nextnote/HEAD/js/vendor/tinymce/plugins/emoticons/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /l10n/bn_BD.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "তৈরী করুন", 3 | "Delete note" : "নোট মোছ", 4 | "Notes" : "নোট" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/ia.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "crear", 3 | "Delete note" : "Dele nota", 4 | "Notes" : "Notas" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/zh_HK.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "新增", 5 | "Delete note" : "刪除筆記", 6 | "Notes" : "筆記" 7 | }, 8 | "nplurals=1; plural=0;"); 9 | -------------------------------------------------------------------------------- /l10n/ast.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "crear", 3 | "Delete note" : "Desaniciar nota", 4 | "Notes" : "Notes" 5 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 6 | } -------------------------------------------------------------------------------- /l10n/km.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "បង្កើត", 3 | "Delete note" : "លុប​កំណត់​ចំណាំ", 4 | "Notes" : "កំណត់​ចំណាំ" 5 | },"pluralForm" :"nplurals=1; plural=0;" 6 | } -------------------------------------------------------------------------------- /l10n/oc.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "crear", 3 | "Delete note" : "Suprimir la nòta", 4 | "Notes" : "Nòtas" 5 | },"pluralForm" :"nplurals=2; plural=(n > 1);" 6 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/langs/readme.md: -------------------------------------------------------------------------------- 1 | This is where language files should be placed. 2 | 3 | Please DO NOT translate these directly use this service: https://www.transifex.com/projects/p/tinymce/ 4 | -------------------------------------------------------------------------------- /l10n/ia.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "crear", 5 | "Delete note" : "Dele nota", 6 | "Notes" : "Notas" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/th.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "สร้าง", 5 | "Delete note" : "ลบบันทึกย่อ", 6 | "Notes" : "บันทึกย่อ" 7 | }, 8 | "nplurals=1; plural=0;"); 9 | -------------------------------------------------------------------------------- /l10n/bn_BD.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "তৈরী করুন", 5 | "Delete note" : "নোট মোছ", 6 | "Notes" : "নোট" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/km.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "បង្កើត", 5 | "Delete note" : "លុប​កំណត់​ចំណាំ", 6 | "Notes" : "កំណត់​ចំណាំ" 7 | }, 8 | "nplurals=1; plural=0;"); 9 | -------------------------------------------------------------------------------- /l10n/oc.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "crear", 5 | "Delete note" : "Suprimir la nòta", 6 | "Notes" : "Nòtas" 7 | }, 8 | "nplurals=2; plural=(n > 1);"); 9 | -------------------------------------------------------------------------------- /l10n/ast.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "crear", 5 | "Delete note" : "Desaniciar nota", 6 | "Notes" : "Notes" 7 | }, 8 | "nplurals=2; plural=(n != 1);"); 9 | -------------------------------------------------------------------------------- /l10n/hy.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "նոր", 3 | "create" : "ստեղծել", 4 | "Delete note" : "Ջնջել նոթը", 5 | "Notes" : "Notes" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/nn_NO.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "ny", 3 | "create" : "lag", 4 | "Delete note" : "Slett notat", 5 | "Notes" : "Notat" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_419.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_HN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_NI.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_PA.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_PE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_PR.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_PY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/es_UY.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuevo", 3 | "create" : "crear", 4 | "Delete note" : "Borrar nota", 5 | "Notes" : "Notas" 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/mn.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "шинэ", 3 | "create" : "үүсгэх", 4 | "Delete note" : "Тэмдэглэл устгах", 5 | "Notes" : "Шинэ " 6 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 7 | } -------------------------------------------------------------------------------- /l10n/bs.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "create" : "kreiraj", 3 | "Notes" : "Notes" 4 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 5 | } -------------------------------------------------------------------------------- /l10n/ka_GE.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "ახალი", 3 | "create" : "შექმნა", 4 | "Delete note" : "ჩანაწერის გაუქმება", 5 | "Notes" : "ჩანაწერები" 6 | },"pluralForm" :"nplurals=2; plural=(n!=1);" 7 | } -------------------------------------------------------------------------------- /l10n/hy.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "նոր", 5 | "create" : "ստեղծել", 6 | "Delete note" : "Ջնջել նոթը", 7 | "Notes" : "Notes" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/nn_NO.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "ny", 5 | "create" : "lag", 6 | "Delete note" : "Slett notat", 7 | "Notes" : "Notat" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/af.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nuwe", 3 | "create" : "skep", 4 | "Delete note" : "Skrap nota", 5 | "Notes" : "Notas", 6 | "View mode" : "Lysaansig" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/bs.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "create" : "kreiraj", 5 | "Notes" : "Notes" 6 | }, 7 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 8 | -------------------------------------------------------------------------------- /l10n/es_419.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_HN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_NI.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_PA.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_PE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_PR.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_PY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/es_UY.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuevo", 5 | "create" : "crear", 6 | "Delete note" : "Borrar nota", 7 | "Notes" : "Notas" 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/cy_GB.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "Nodiadau wedi'u dileu", 3 | "create" : "creu", 4 | "Notes" : "Nodiadau" 5 | },"pluralForm" :"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;" 6 | } -------------------------------------------------------------------------------- /l10n/mn.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "шинэ", 5 | "create" : "үүсгэх", 6 | "Delete note" : "Тэмдэглэл устгах", 7 | "Notes" : "Шинэ " 8 | }, 9 | "nplurals=2; plural=(n != 1);"); 10 | -------------------------------------------------------------------------------- /l10n/ka_GE.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "ახალი", 5 | "create" : "შექმნა", 6 | "Delete note" : "ჩანაწერის გაუქმება", 7 | "Notes" : "ჩანაწერები" 8 | }, 9 | "nplurals=2; plural=(n!=1);"); 10 | -------------------------------------------------------------------------------- /l10n/ko.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "새로운 항목", 3 | "create" : "생성", 4 | "Delete note" : "메모 삭제", 5 | "Share note" : "공유 노트", 6 | "Notes" : "Notes", 7 | "View mode" : "보기 모드" 8 | },"pluralForm" :"nplurals=1; plural=0;" 9 | } -------------------------------------------------------------------------------- /l10n/cy_GB.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "Nodiadau wedi'u dileu", 5 | "create" : "creu", 6 | "Notes" : "Nodiadau" 7 | }, 8 | "nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"); 9 | -------------------------------------------------------------------------------- /l10n/sq.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "Shënimet e fshira", 3 | "new" : "i/e re", 4 | "create" : "krijoje", 5 | "Delete note" : "Fshije shënimin", 6 | "Notes" : "Shënime" 7 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 8 | } -------------------------------------------------------------------------------- /l10n/af.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nuwe", 5 | "create" : "skep", 6 | "Delete note" : "Skrap nota", 7 | "Notes" : "Notas", 8 | "View mode" : "Lysaansig" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/sr@latin.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "Obrisane beleške", 3 | "create" : "napravi", 4 | "Notes" : "Notes" 5 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);" 6 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/skins/white/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{position:absolute;display:inline-block;background-color:green;opacity:.5}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%} -------------------------------------------------------------------------------- /l10n/ko.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "새로운 항목", 5 | "create" : "생성", 6 | "Delete note" : "메모 삭제", 7 | "Share note" : "공유 노트", 8 | "Notes" : "Notes", 9 | "View mode" : "보기 모드" 10 | }, 11 | "nplurals=1; plural=0;"); 12 | -------------------------------------------------------------------------------- /l10n/sr@latin.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "Obrisane beleške", 5 | "create" : "napravi", 6 | "Notes" : "Notes" 7 | }, 8 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);"); 9 | -------------------------------------------------------------------------------- /l10n/lv.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "jauns", 3 | "create" : "izveidot", 4 | "Delete note" : "Dzēst piezīmi", 5 | "Notes" : "Piezīmes", 6 | "View mode" : "Skatīšanās režīms" 7 | },"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);" 8 | } -------------------------------------------------------------------------------- /l10n/sq.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "Shënimet e fshira", 5 | "new" : "i/e re", 6 | "create" : "krijoje", 7 | "Delete note" : "Fshije shënimin", 8 | "Notes" : "Shënime" 9 | }, 10 | "nplurals=2; plural=(n != 1);"); 11 | -------------------------------------------------------------------------------- /l10n/mk.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "ново", 3 | "create" : "креирај", 4 | "Delete note" : "Избриши белешка", 5 | "Share note" : "Споделување со забелешка ", 6 | "Notes" : "Белешки" 7 | },"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;" 8 | } -------------------------------------------------------------------------------- /l10n/ro.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nou", 3 | "back" : "înapoi", 4 | "create" : "creează", 5 | "Delete note" : "Şterge nota", 6 | "Share note" : "Partajează nota", 7 | "Notes" : "Notițe" 8 | },"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));" 9 | } -------------------------------------------------------------------------------- /l10n/eo.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "new" : "nova", 3 | "save" : "konservi", 4 | "create" : "krei", 5 | "Delete note" : "Forigi noton", 6 | "Share note" : "Kunhavigo noton", 7 | "Notes" : "Notoj", 8 | "View mode" : "Vida reĝimo" 9 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 10 | } -------------------------------------------------------------------------------- /l10n/lv.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "jauns", 5 | "create" : "izveidot", 6 | "Delete note" : "Dzēst piezīmi", 7 | "Notes" : "Piezīmes", 8 | "View mode" : "Skatīšanās režīms" 9 | }, 10 | "nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"); 11 | -------------------------------------------------------------------------------- /l10n/mk.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "ново", 5 | "create" : "креирај", 6 | "Delete note" : "Избриши белешка", 7 | "Share note" : "Споделување со забелешка ", 8 | "Notes" : "Белешки" 9 | }, 10 | "nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"); 11 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | lang_map = bg_BG: bg, cs_CZ: cs, fi_FI: fi, hu_HU: hu, nb_NO: nb, sk_SK: sk, th_TH: th, ja_JP: ja 4 | 5 | [nextcloud.nextnote] 6 | file_filter = translationfiles//nextnote.po 7 | source_file = translationfiles/templates/nextnote.pot 8 | source_lang = en 9 | type = PO 10 | -------------------------------------------------------------------------------- /l10n/eo.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nova", 5 | "save" : "konservi", 6 | "create" : "krei", 7 | "Delete note" : "Forigi noton", 8 | "Share note" : "Kunhavigo noton", 9 | "Notes" : "Notoj", 10 | "View mode" : "Vida reĝimo" 11 | }, 12 | "nplurals=2; plural=(n != 1);"); 13 | -------------------------------------------------------------------------------- /l10n/ro.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "new" : "nou", 5 | "back" : "înapoi", 6 | "create" : "creează", 7 | "Delete note" : "Şterge nota", 8 | "Share note" : "Partajează nota", 9 | "Notes" : "Notițe" 10 | }, 11 | "nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"); 12 | -------------------------------------------------------------------------------- /l10n/bg.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "Изтрити бележки", 3 | "new" : "нов", 4 | "create" : "създаване", 5 | "name" : "име", 6 | "modified" : "промяна", 7 | "Delete note" : "Изтрий бележката", 8 | "Share note" : "Сподели бележка", 9 | "Notes" : "Бележки" 10 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 11 | } -------------------------------------------------------------------------------- /l10n/bg.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "Изтрити бележки", 5 | "new" : "нов", 6 | "create" : "създаване", 7 | "name" : "име", 8 | "modified" : "промяна", 9 | "Delete note" : "Изтрий бележката", 10 | "Share note" : "Сподели бележка", 11 | "Notes" : "Бележки" 12 | }, 13 | "nplurals=2; plural=(n != 1);"); 14 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/print/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),n=function(t){t.addCommand("mcePrint",function(){t.getWin().print()})},i=function(t){t.addButton("print",{title:"Print",cmd:"mcePrint"}),t.addMenuItem("print",{text:"Print",cmd:"mcePrint",icon:"print"})};t.add("print",function(t){n(t),i(t),t.addShortcut("Meta+P","","mcePrint")})}(); -------------------------------------------------------------------------------- /templates/views/note/view.html: -------------------------------------------------------------------------------- 1 |
2 |
3 |
{{ 'back' | translate | capitalize }}
4 |
5 |
6 |

{{ note.title }}

7 |
8 | 9 |
10 |
-------------------------------------------------------------------------------- /img/triangle-e.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /l10n/id.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New notebook" : "Buku catatan baru", 3 | "Not in notebook" : "Bukan di catatan baru", 4 | "Notebook name" : "Nama Buku catatan", 5 | "Deleted notes" : "Catatan terhapus", 6 | "all" : "semua", 7 | "new" : "baru", 8 | "create" : "buat", 9 | "Delete note" : "Hapus catatan", 10 | "Notes" : "Catatan" 11 | },"pluralForm" :"nplurals=1; plural=0;" 12 | } -------------------------------------------------------------------------------- /js/admin.js: -------------------------------------------------------------------------------- 1 | function ocNextnoteUrl(url) { 2 | var newurl = OC.linkTo("nextnote",url).replace("apps/nextnote","index.php/apps/nextnote"); 3 | return newurl; 4 | } 5 | 6 | $(document).ready(function() { 7 | $('#nextnote-sharemode').change(function() { 8 | var val = $(this).val(); 9 | $.post(ocNextnoteUrl("api/v2/settings"), { field: 'sharemode', value: val }, function (data) { 10 | }); 11 | }); 12 | }); 13 | 14 | -------------------------------------------------------------------------------- /l10n/ar.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "مسح الملاحظات", 3 | "new" : "جديد", 4 | "back" : "عودة", 5 | "create" : "إنشاء", 6 | "Delete note" : "حذف الملاحظة ", 7 | "Shared with you by %s" : "تمت مشاركته معك مِن طرف %s", 8 | "Notes" : "الملاحظات" 9 | },"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;" 10 | } -------------------------------------------------------------------------------- /l10n/id.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "New notebook" : "Buku catatan baru", 5 | "Not in notebook" : "Bukan di catatan baru", 6 | "Notebook name" : "Nama Buku catatan", 7 | "Deleted notes" : "Catatan terhapus", 8 | "all" : "semua", 9 | "new" : "baru", 10 | "create" : "buat", 11 | "Delete note" : "Hapus catatan", 12 | "Notes" : "Catatan" 13 | }, 14 | "nplurals=1; plural=0;"); 15 | -------------------------------------------------------------------------------- /l10n/ar.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "مسح الملاحظات", 5 | "new" : "جديد", 6 | "back" : "عودة", 7 | "create" : "إنشاء", 8 | "Delete note" : "حذف الملاحظة ", 9 | "Shared with you by %s" : "تمت مشاركته معك مِن طرف %s", 10 | "Notes" : "الملاحظات" 11 | }, 12 | "nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"); 13 | -------------------------------------------------------------------------------- /img/triangle-n.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /img/triangle-s.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/hr/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=function(n){n.addCommand("InsertHorizontalRule",function(){n.execCommand("mceInsertContent",!1,"
")})},o=function(n){n.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),n.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})};n.add("hr",function(n){t(n),o(n)})}(); -------------------------------------------------------------------------------- /transifex/serveradmin.txt: -------------------------------------------------------------------------------- 1 | Announcements are unobtrusive and only used for major notifications such as the release of a new mobile or desktop companion application. They will not be used for regular updates, and are easily dismissed by your users. 2 | Database and folder 3 | Database only 4 | Disable announcements 5 | How would you like to store your notes? 6 | Please enter the folder name you would like to use to store notes, with no slashes. 7 | Would you like to disable announcements? (not recommended) -------------------------------------------------------------------------------- /transifex/server.txt: -------------------------------------------------------------------------------- 1 | # day ago 2 | # days ago 3 | # hour ago 4 | # hours ago 5 | # minute ago 6 | # minutes ago 7 | # month ago 8 | # months ago 9 | # second ago 10 | # seconds ago 11 | # week ago 12 | # weeks ago 13 | # year ago 14 | # years ago 15 | All 16 | An ungrouped file has the same name as a file in this group. 17 | Cancel 18 | Create 19 | Dismiss 20 | Filename/group already exists. 21 | Group 22 | Group already exists. 23 | Just now 24 | Modified 25 | Name 26 | New 27 | Not grouped 28 | Note 29 | Notes 30 | Quick Save 31 | Save -------------------------------------------------------------------------------- /l10n/lt_LT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "Ištrinti užrašai", 3 | "new" : "naujas", 4 | "save" : "įrašyti", 5 | "back" : "atgal", 6 | "create" : "sukurti", 7 | "cancel" : "atsisakyti", 8 | "name" : "pavadinimas", 9 | "Delete note" : "Ištrinti užrašus", 10 | "Share note" : "Pasidalinimo pastaba", 11 | "Notes" : "Užrašai" 12 | },"pluralForm" :"nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);" 13 | } -------------------------------------------------------------------------------- /l10n/lt_LT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "Ištrinti užrašai", 5 | "new" : "naujas", 6 | "save" : "įrašyti", 7 | "back" : "atgal", 8 | "create" : "sukurti", 9 | "cancel" : "atsisakyti", 10 | "name" : "pavadinimas", 11 | "Delete note" : "Ištrinti užrašus", 12 | "Share note" : "Pasidalinimo pastaba", 13 | "Notes" : "Užrašai" 14 | }, 15 | "nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);"); 16 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- 1 | filter: 2 | excluded_paths: 3 | - 'js/vendor*' 4 | - 'l10n/' 5 | - 'tests/' 6 | - 'lib/Fixtures/ShareFix.php' 7 | - 'js/share.js' 8 | 9 | imports: 10 | - javascript 11 | - php 12 | 13 | tools: 14 | php_mess_detector: true 15 | php_code_sniffer: true 16 | sensiolabs_security_checker: true 17 | php_code_coverage: false 18 | 19 | build_failure_conditions: 20 | - 'issues.label("coding-style").new.count > 5' 21 | - 'issues.severity(>= MAJOR).new.exists' 22 | - 'elements.rating(<= D).new.exists' -------------------------------------------------------------------------------- /l10n/zh_TW.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "Deleted notes" : "已刪除的筆記", 3 | "new" : "新", 4 | "create" : "建立", 5 | "Delete note" : "刪除筆記", 6 | "Notes" : "筆記", 7 | "Nextnote" : "Nextnote", 8 | "NextNote" : "Nextnoe", 9 | "How would you like to store your notes?" : "你想要紀錄什麼筆記?", 10 | "Database only" : "僅資料庫", 11 | "Please enter the folder name you would like to use to store notes, with no slashes." : "請輸入您的想儲存筆記的資料夾名稱,名稱勿包含左斜線", 12 | "How would you like to handle groups for shared notes?" : "你想如何處理群組分享筆記?", 13 | "View mode" : "瀏覽模式" 14 | },"pluralForm" :"nplurals=1; plural=0;" 15 | } -------------------------------------------------------------------------------- /l10n/zh_TW.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "Deleted notes" : "已刪除的筆記", 5 | "new" : "新", 6 | "create" : "建立", 7 | "Delete note" : "刪除筆記", 8 | "Notes" : "筆記", 9 | "Nextnote" : "Nextnote", 10 | "NextNote" : "Nextnoe", 11 | "How would you like to store your notes?" : "你想要紀錄什麼筆記?", 12 | "Database only" : "僅資料庫", 13 | "Please enter the folder name you would like to use to store notes, with no slashes." : "請輸入您的想儲存筆記的資料夾名稱,名稱勿包含左斜線", 14 | "How would you like to handle groups for shared notes?" : "你想如何處理群組分享筆記?", 15 | "View mode" : "瀏覽模式" 16 | }, 17 | "nplurals=1; plural=0;"); 18 | -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- 1 | integration-testing: 2 | stage: test 3 | script: 4 | - echo 'test' 5 | 6 | build-assets: 7 | stage: build 8 | script: 9 | - echo 'Build' 10 | 11 | deploy-to-github: 12 | image: alpine:latest 13 | stage: deploy 14 | only: 15 | - master 16 | before_script: 17 | - 'which git || ( apk --update add git)' 18 | - git config --global user.email $GIT_USER 19 | - git config --global user.name $GIT_EMAIL 20 | 21 | script: 22 | - git remote add github https://$GITHUB_TOKEN:x-oauth-basic@github.com/$GITHUB_REPO.git 23 | - git fetch github 24 | - git push github master --dry-run --verbose 25 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- 1 | # ownCloud with MariaDB/MySQL 2 | # 3 | # Access via "http://localhost:8080" (or "http://$(docker-machine ip):8080" if using docker-machine) 4 | # 5 | # During initial ownCloud setup, select "Storage & database" --> "Configure the database" --> "MySQL/MariaDB" 6 | # Database user: root 7 | # Database password: example 8 | # Database name: pick any name 9 | # Database host: replace "localhost" with "mysql" 10 | 11 | version: '2' 12 | 13 | services: 14 | 15 | owncloud: 16 | image: owncloud 17 | ports: 18 | - 8081:80 19 | volumes: 20 | - .:/var/www/html/apps/ownnote 21 | links: 22 | - mysql 23 | 24 | mysql: 25 | image: mariadb 26 | environment: 27 | MYSQL_ROOT_PASSWORD: example 28 | -------------------------------------------------------------------------------- /js/user.js: -------------------------------------------------------------------------------- 1 | function ocNextnoteUrl(url) { 2 | return OC.linkTo("nextnote",url).replace("apps/nextnote","index.php/apps/nextnote"); 3 | } 4 | 5 | $(document).ready(function() { 6 | $('body').on('change', '#nextnote-view_mode', function() { 7 | var val = $(this).val(); 8 | $.post(ocNextnoteUrl("api/v2/settings-user"), { key: 'view_mode', value: val }, function (data) { 9 | OC.Notification.showTemporary('Settings saved!'); 10 | }); 11 | }); 12 | $('body').on('click', '#resetNewUser', function() { 13 | var val = $(this).val(); 14 | $.post(ocNextnoteUrl("api/v2/settings-user"), { key: 'first_user', value: 1 }, function (data) { 15 | OC.Notification.showTemporary('Example note created'); 16 | $('#resetNewUser').attr("disabled", "disabled"); 17 | }); 18 | }); 19 | }); 20 | 21 | -------------------------------------------------------------------------------- /js/vendor/angular-translate/angular-translate-loader-url.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * angular-translate - v2.17.0 - 2017-12-21 3 | * 4 | * Copyright (c) 2017 The angular-translate team, Pascal Precht; Licensed MIT 5 | */ 6 | !function(e,t){"function"==typeof define&&define.amd?define([],function(){return t()}):"object"==typeof module&&module.exports?module.exports=t():t()}(0,function(){function e(e,t){"use strict";return function(r){if(!r||!r.url)throw new Error("Couldn't use urlLoader since no url is given!");var n={};return n[r.queryParameter||"lang"]=r.key,t(angular.extend({url:r.url,params:n,method:"GET"},r.$http)).then(function(e){return e.data},function(){return e.reject(r.key)})}}return e.$inject=["$q","$http"],angular.module("pascalprecht.translate").factory("$translateUrlLoader",e),e.displayName="$translateUrlLoader","pascalprecht.translate"}); -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/directionality/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),e=function(t,e){var i,n=t.dom,o=t.selection.getSelectedBlocks();o.length&&(i=n.getAttrib(o[0],"dir"),c.each(o,function(t){n.getParent(t.parentNode,'*[dir="'+e+'"]',n.getRoot())||n.setAttrib(t,"dir",i!==e?e:null)}),t.nodeChanged())},i=function(t){t.addCommand("mceDirectionLTR",function(){e(t,"ltr")}),t.addCommand("mceDirectionRTL",function(){e(t,"rtl")})},n=function(e){var i=[];return c.each("h1 h2 h3 h4 h5 h6 div p".split(" "),function(t){i.push(t+"[dir="+e+"]")}),i.join(",")},o=function(t){t.addButton("ltr",{title:"Left to right",cmd:"mceDirectionLTR",stateSelector:n("ltr")}),t.addButton("rtl",{title:"Right to left",cmd:"mceDirectionRTL",stateSelector:n("rtl")})};t.add("directionality",function(t){i(t),o(t)})}(); -------------------------------------------------------------------------------- /templates/settings-personal.php: -------------------------------------------------------------------------------- 1 | 6 |
7 |

NextNote Settings

8 |
9 |
15 |
16 | 17 | "> 18 | 19 |
-------------------------------------------------------------------------------- /l10n/da.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New notebook" : "Ny notebog", 3 | "Not in notebook" : "Ikke i notebogen", 4 | "Notebook name" : "Notebog navn", 5 | "Deleted notes" : "Slettede noter", 6 | "all" : "Alle", 7 | "new" : "Ny", 8 | "save" : "Gem", 9 | "back" : "Tilbage", 10 | "create" : "Opret", 11 | "cancel" : "Annullér", 12 | "name" : "Navn", 13 | "modified" : "Ændret", 14 | "Delete note" : "Slet note", 15 | "Restore note" : "Gendan note", 16 | "Edit note" : "Rediger note", 17 | "Share note" : "Del note", 18 | "Shared with you by %s" : "Delt med dig af %s", 19 | "You don't have permissions to edit this note" : "Du har ikke tilladelse til at ændre i denne note", 20 | "Notes" : "Noter", 21 | "Database only" : "Kun database", 22 | "Synchronized" : "Synkroniséret", 23 | "View mode" : "Visningstilstand" 24 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 25 | } -------------------------------------------------------------------------------- /l10n/da.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "New notebook" : "Ny notebog", 5 | "Not in notebook" : "Ikke i notebogen", 6 | "Notebook name" : "Notebog navn", 7 | "Deleted notes" : "Slettede noter", 8 | "all" : "Alle", 9 | "new" : "Ny", 10 | "save" : "Gem", 11 | "back" : "Tilbage", 12 | "create" : "Opret", 13 | "cancel" : "Annullér", 14 | "name" : "Navn", 15 | "modified" : "Ændret", 16 | "Delete note" : "Slet note", 17 | "Restore note" : "Gendan note", 18 | "Edit note" : "Rediger note", 19 | "Share note" : "Del note", 20 | "Shared with you by %s" : "Delt med dig af %s", 21 | "You don't have permissions to edit this note" : "Du har ikke tilladelse til at ændre i denne note", 22 | "Notes" : "Noter", 23 | "Database only" : "Kun database", 24 | "Synchronized" : "Synkroniséret", 25 | "View mode" : "Visningstilstand" 26 | }, 27 | "nplurals=2; plural=(n != 1);"); 28 | -------------------------------------------------------------------------------- /appinfo/autoload.php: -------------------------------------------------------------------------------- 1 | . 21 | * 22 | */ 23 | 24 | namespace OCA\NextNote\AppInfo; 25 | 26 | 27 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/nonbreaking/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var n=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(n,e){var t,i=(t=n).plugins.visualchars&&t.plugins.visualchars.isEnabled()?' ':" ";n.insertContent(function(n,e){for(var t="",i=0;i'}),o+=""}),o+=""},o=function(a,t){var e=i(t);a.addButton("emoticons",{type:"panelbutton",panel:{role:"application",autohide:!0,html:e,onclick:function(t){var e,i,o,n=a.dom.getParent(t.target,"a");n&&(e=a,i=n.getAttribute("data-mce-url"),o=n.getAttribute("data-mce-alt"),e.insertContent(e.dom.createHTML("img",{src:i,alt:o})),this.hide())}},tooltip:"Emoticons"})};t.add("emoticons",function(t,e){o(t,e)})}(); -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "NextNote", 3 | "version": "0.0.1", 4 | "devDependencies": { 5 | "karma-verbose-reporter": "0.0.3" 6 | }, 7 | "dependencies": { 8 | "grunt": "~0.4.5", 9 | "grunt-cli": "~1.2.0", 10 | "grunt-contrib-clean": "^1.0.0", 11 | "grunt-contrib-concat": "^1.0.1", 12 | "grunt-contrib-copy": "^1.0.0", 13 | "grunt-contrib-cssmin": "^1.0.2", 14 | "grunt-contrib-jshint": "^0.12.0", 15 | "grunt-contrib-nodeunit": "~0.4.1", 16 | "grunt-contrib-sass": "^1.0.0", 17 | "grunt-contrib-uglify": "~0.5.0", 18 | "grunt-contrib-watch": "^1.0.0", 19 | "grunt-html2js": "^0.3.6", 20 | "grunt-karma": "^2.0.0", 21 | "grunt-mkdir": "^1.0.0", 22 | "grunt-replace": "^1.0.1", 23 | "html-minifier": "^3.0.2", 24 | "jasmine-core": "^2.5.2", 25 | "jshint-stylish": "^2.2.1", 26 | "karma": "^1.3.0", 27 | "karma-chrome-launcher": "^2.0.0", 28 | "karma-firefox-launcher": "^1.0.0", 29 | "karma-jasmine": "^1.0.2", 30 | "karma-requirejs": "^1.1.0", 31 | "karma-verbose-reporter": "0.0.3", 32 | "requirejs": "^2.3.2" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /js/app/filters/trusted.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | angular.module('NextNotesApp').filter('trusted', function($sce){ 24 | return function(html){ 25 | return $sce.trustAsHtml(html); 26 | }; 27 | }); 28 | -------------------------------------------------------------------------------- /js/app/filters/objectKeysLength.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | angular.module('NextNotesApp').filter('objectKeysLength', function($sce){ 24 | return function(items) { 25 | return Object.keys(items).length; 26 | }; 27 | }); 28 | -------------------------------------------------------------------------------- /appinfo/app.php: -------------------------------------------------------------------------------- 1 | . 21 | * 22 | */ 23 | 24 | namespace OCA\NextNote\AppInfo; 25 | 26 | 27 | use OCA\NextNote\AppInfo\Application; 28 | 29 | require_once __DIR__ . '/autoload.php'; 30 | 31 | $app = new Application(); // \AppInfo\Application(); 32 | $app->registerNavigationEntry(); 33 | 34 | 35 | -------------------------------------------------------------------------------- /js/app/filters/capitalize.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | angular.module('NextNotesApp').filter('capitalize', function($sce){ 24 | return function(input) { 25 | return (!!input) ? input.charAt(0).toUpperCase() + input.substr(1).toLowerCase() : ''; 26 | }; 27 | }); 28 | -------------------------------------------------------------------------------- /lib/Db/EntityJSONSerializer.php: -------------------------------------------------------------------------------- 1 | . 21 | * 22 | */ 23 | 24 | namespace OCA\NextNote\Db; 25 | trait EntityJSONSerializer { 26 | public function serializeFields($properties) { 27 | $result = []; 28 | foreach($properties as $property) { 29 | $result[$property] = $this->$property; 30 | } 31 | return $result; 32 | } 33 | } -------------------------------------------------------------------------------- /l10n/fi.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New notebook" : "Uusi muistikirja", 3 | "Not in notebook" : "Ei muistikirjassa", 4 | "Notebook name" : "Muistikirjan nimi", 5 | "Deleted notes" : "Poistetut muistiinpanot", 6 | "all" : "kaikki", 7 | "new" : "uusi", 8 | "save" : "tallenna", 9 | "back" : "takaisin", 10 | "create" : "luo", 11 | "cancel" : "peru", 12 | "name" : "nimi", 13 | "modified" : "muokattu", 14 | "Delete note" : "Poista muistiinpano", 15 | "Restore note" : "Palauta muistiinpano", 16 | "Untitled note" : "Nimetön muistiinpano", 17 | "Edit note" : "Muokkaa muistiinpanoa", 18 | "Share note" : "Jaa muistiinpano", 19 | "You don't have permissions to edit this note" : "Oikeutesi eivät riitä tämän muistiinpanon muokkaamiseen", 20 | "Notes" : "Muistiinpanot", 21 | "How would you like to store your notes?" : "Miten haluat tallentaa muistiinpanosi? ", 22 | "Database only" : "Vain tietokanta", 23 | "Synchronized" : "Synkronoitu", 24 | "View mode" : "Näkymätila", 25 | "Column view" : "Sarakenäkymä", 26 | "Single view" : "Yksittäisnäkymä", 27 | "Create example note" : "Luo esimerkkimuistiinpano" 28 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 29 | } -------------------------------------------------------------------------------- /js/app/filters/strip_html.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | angular.module('NextNotesApp').filter('htmlToPlaintext', function($sce){ 24 | return function(text) { 25 | text = text ? String(text).replace(/<[^>]+>/gm, '') : ''; 26 | text = $sce.trustAsHtml(text); 27 | return text; 28 | }; 29 | }); 30 | -------------------------------------------------------------------------------- /l10n/fi.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "New notebook" : "Uusi muistikirja", 5 | "Not in notebook" : "Ei muistikirjassa", 6 | "Notebook name" : "Muistikirjan nimi", 7 | "Deleted notes" : "Poistetut muistiinpanot", 8 | "all" : "kaikki", 9 | "new" : "uusi", 10 | "save" : "tallenna", 11 | "back" : "takaisin", 12 | "create" : "luo", 13 | "cancel" : "peru", 14 | "name" : "nimi", 15 | "modified" : "muokattu", 16 | "Delete note" : "Poista muistiinpano", 17 | "Restore note" : "Palauta muistiinpano", 18 | "Untitled note" : "Nimetön muistiinpano", 19 | "Edit note" : "Muokkaa muistiinpanoa", 20 | "Share note" : "Jaa muistiinpano", 21 | "You don't have permissions to edit this note" : "Oikeutesi eivät riitä tämän muistiinpanon muokkaamiseen", 22 | "Notes" : "Muistiinpanot", 23 | "How would you like to store your notes?" : "Miten haluat tallentaa muistiinpanosi? ", 24 | "Database only" : "Vain tietokanta", 25 | "Synchronized" : "Synkronoitu", 26 | "View mode" : "Näkymätila", 27 | "Column view" : "Sarakenäkymä", 28 | "Single view" : "Yksittäisnäkymä", 29 | "Create example note" : "Luo esimerkkimuistiinpano" 30 | }, 31 | "nplurals=2; plural=(n != 1);"); 32 | -------------------------------------------------------------------------------- /controller/shareapicontroller.php: -------------------------------------------------------------------------------- 1 | 9 | * @copyright Ben Curtis 2015 10 | */ 11 | 12 | namespace OCA\NextNote\Controller; 13 | 14 | use \OCP\AppFramework\ApiController; 15 | use \OCP\IRequest; 16 | 17 | 18 | class ShareApiController extends ApiController { 19 | 20 | public function __construct($appName, IRequest $request) { 21 | parent::__construct($appName, $request); 22 | } 23 | 24 | /** 25 | * @NoAdminRequired 26 | * @NoCSRFRequired 27 | */ 28 | public function getShares($noteid, $shared_with_me, $reshares) { 29 | 30 | } 31 | 32 | /** 33 | * @NoAdminRequired 34 | * @NoCSRFRequired 35 | */ 36 | public function share($noteid, $shareType, $shareWith, $publicUpload, $password, $permissions) { 37 | 38 | } 39 | 40 | /** 41 | * @NoAdminRequired 42 | * @NoCSRFRequired 43 | */ 44 | public function unshare($itemSource, $shareType, $shareWith) { 45 | 46 | } 47 | 48 | /** 49 | * @NoAdminRequired 50 | * @NoCSRFRequired 51 | */ 52 | public function setpermissions($itemSource, $shareType, $shareWith, $permissions) { 53 | 54 | } 55 | } -------------------------------------------------------------------------------- /l10n/pt_PT.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New notebook" : "Novo bloco de notas", 3 | "Not in notebook" : "Não no bloco de notas", 4 | "Notebook name" : "Nome do bloco de notas", 5 | "Deleted notes" : "Notas eliminadas", 6 | "all" : "Tudo", 7 | "new" : "nova", 8 | "save" : "guardar", 9 | "back" : "anterior", 10 | "create" : "criar", 11 | "cancel" : "cancelar", 12 | "name" : "nome", 13 | "modified" : "modificada", 14 | "Delete note" : "Eliminar nota", 15 | "Restore note" : "Restaurar nota", 16 | "Untitled note" : "Nota sem título", 17 | "Edit note" : "Editar nota", 18 | "Share note" : "Partilhar nota", 19 | "You don't have permissions to edit this note" : "Não tem permissão para editar esta nota", 20 | "Notes" : "Notas", 21 | "Nextnote" : "Nextnote", 22 | "NextNote" : "NextNote", 23 | "How would you like to store your notes?" : "Como gostaria de guardar as suas notas?", 24 | "Database only" : "Apenas base de dados", 25 | "Synchronized" : "Sincronizadas ", 26 | "Standalone" : "Única", 27 | "View mode" : "Modo de visualização", 28 | "Column view" : "Ver coluna", 29 | "Single view" : "Ver uma", 30 | "Create example note" : "Criar nota exemplo" 31 | },"pluralForm" :"nplurals=2; plural=(n != 1);" 32 | } -------------------------------------------------------------------------------- /l10n/pt_PT.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "New notebook" : "Novo bloco de notas", 5 | "Not in notebook" : "Não no bloco de notas", 6 | "Notebook name" : "Nome do bloco de notas", 7 | "Deleted notes" : "Notas eliminadas", 8 | "all" : "Tudo", 9 | "new" : "nova", 10 | "save" : "guardar", 11 | "back" : "anterior", 12 | "create" : "criar", 13 | "cancel" : "cancelar", 14 | "name" : "nome", 15 | "modified" : "modificada", 16 | "Delete note" : "Eliminar nota", 17 | "Restore note" : "Restaurar nota", 18 | "Untitled note" : "Nota sem título", 19 | "Edit note" : "Editar nota", 20 | "Share note" : "Partilhar nota", 21 | "You don't have permissions to edit this note" : "Não tem permissão para editar esta nota", 22 | "Notes" : "Notas", 23 | "Nextnote" : "Nextnote", 24 | "NextNote" : "NextNote", 25 | "How would you like to store your notes?" : "Como gostaria de guardar as suas notas?", 26 | "Database only" : "Apenas base de dados", 27 | "Synchronized" : "Sincronizadas ", 28 | "Standalone" : "Única", 29 | "View mode" : "Modo de visualização", 30 | "Column view" : "Ver coluna", 31 | "Single view" : "Ver uma", 32 | "Create example note" : "Criar nota exemplo" 33 | }, 34 | "nplurals=2; plural=(n != 1);"); 35 | -------------------------------------------------------------------------------- /js/animations.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function () { 2 | var isSingleViewMode = (app_config.user.view_mode === 'single'); 3 | var $body = $('body'); 4 | if(isSingleViewMode){ 5 | $('#ownnote').find('.view-container').width('200%'); 6 | } 7 | $body.on('click', '.file.pointer, #new', function (e) { 8 | if ($(window).width() <= 994 || isSingleViewMode) { 9 | setTimeout(function () { 10 | $('#ownnote').animate({scrollLeft: $(window).width()}, 750); 11 | }, 50); 12 | } 13 | }); 14 | $body.on('click', '#canceledit, #grouplist .group', function (e) { 15 | if ($(window).width() <= 994 || isSingleViewMode) { 16 | $('#ownnote').animate({scrollLeft: 0}, 750); 17 | } 18 | }); 19 | 20 | $body.on('click', '.toggle-view-mode', function () { 21 | if(app_config.user.view_mode === 'single') { 22 | $('#ownnote').find('.view-container').animate({width: '100%'}, 750); 23 | $(this).find('i').removeClass('fa-arrows-h').addClass('fa-columns'); 24 | isSingleViewMode = false; 25 | app_config.user.view_mode = 'col'; 26 | } else if(app_config.user.view_mode === 'col'){ 27 | $('#ownnote').find('.view-container').animate({width: '200%'}, 750); 28 | $(this).find('i').removeClass('fa-columns').addClass('fa-arrows-h'); 29 | isSingleViewMode = true; 30 | app_config.user.view_mode = 'single'; 31 | } 32 | }); 33 | }); 34 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/colorpicker/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),l=tinymce.util.Tools.resolve("tinymce.util.Color"),a=function(e,n){e.find("#preview")[0].getEl().style.background=n},o=function(e,n){var i=l(n),t=i.toRgb();e.fromJSON({r:t.r,g:t.g,b:t.b,hex:i.toHex().substr(1)}),a(e,i.toHex())},t=function(e,n,i){var t=e.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:i,onchange:function(){var e=this.rgb();t&&(t.find("#r").value(e.r),t.find("#g").value(e.g),t.find("#b").value(e.b),t.find("#hex").value(this.value().substr(1)),a(t,this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var e,n,i=t.find("colorpicker")[0];if(e=this.name(),n=this.value(),"hex"===e)return o(t,n="#"+n),void i.value(n);n={r:t.find("#r").value(),g:t.find("#g").value(),b:t.find("#b").value()},i.value(n),o(t,n)}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){n("#"+t.toJSON().hex)}});o(t,i)};e.add("colorpicker",function(i){i.settings.color_picker_callback||(i.settings.color_picker_callback=function(e,n){t(i,e,n)})})}(); -------------------------------------------------------------------------------- /lib/Utility/UnauthorizedJSONResponse.php: -------------------------------------------------------------------------------- 1 | . 21 | * 22 | */ 23 | 24 | namespace OCA\NextNote\Utility; 25 | 26 | 27 | use OCP\AppFramework\Http; 28 | use OCP\AppFramework\Http\JSONResponse; 29 | 30 | class UnauthorizedJSONResponse extends JSONResponse { 31 | 32 | /** 33 | * Creates a new json response with a not found status code. 34 | */ 35 | public function __construct() { 36 | parent::__construct(null, Http::STATUS_UNAUTHORIZED); 37 | } 38 | } -------------------------------------------------------------------------------- /js/app/directives/tooltip.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | (function () { 24 | 'use strict'; 25 | 26 | /** 27 | * @ngdoc directive 28 | * @name passmanApp.directive:passwordGen 29 | * @description 30 | * # passwordGen 31 | */ 32 | angular.module('NextNotesApp') 33 | .directive('tooltip', function () { 34 | return function (scope, element, attrs) { 35 | $(element).attr('title', attrs.tooltip); 36 | $(element).tooltip(); 37 | }; 38 | }); 39 | }()); -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/anchor/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=function(t){return/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)},e=function(t){var e=t.selection.getNode();return"A"===e.tagName&&""===t.dom.getAttrib(e,"href")?e.id||e.name:""},i=function(t,e){var n=t.selection.getNode();"A"===n.tagName&&""===t.dom.getAttrib(n,"href")?(n.removeAttribute("name"),n.id=e):(t.focus(),t.selection.collapse(!0),t.execCommand("mceInsertContent",!1,t.dom.createHTML("a",{id:e})))},n=function(r){var t=e(r);r.windowManager.open({title:"Anchor",body:{type:"textbox",name:"id",size:40,label:"Id",value:t},onsubmit:function(t){var e,n,o=t.data.id;e=r,(a(n=o)?(i(e,n),0):(e.windowManager.alert("Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),1))&&t.preventDefault()}})},o=function(t){t.addCommand("mceAnchor",function(){n(t)})},r=function(o){return function(t){for(var e=0;e. 21 | * 22 | */ 23 | 24 | namespace OCA\NextNote\Utility; 25 | 26 | 27 | use OCP\AppFramework\Http; 28 | use OCP\AppFramework\Http\JSONResponse; 29 | 30 | class NotFoundJSONResponse extends JSONResponse { 31 | 32 | /** 33 | * Creates a new json response with a not found status code. 34 | * @param array $response_data 35 | */ 36 | public function __construct($response_data = []) { 37 | parent::__construct($response_data, Http::STATUS_NOT_FOUND); 38 | } 39 | } -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/pagebreak/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),a=tinymce.util.Tools.resolve("tinymce.Env"),n=function(e){return e.getParam("pagebreak_separator","\x3c!-- pagebreak --\x3e")},i=function(e){return e.getParam("pagebreak_split_block",!1)},t=function(){return"mce-pagebreak"},r=function(){return''},c=function(c){var o=n(c),a=new RegExp(o.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(e){return"\\"+e}),"gi");c.on("BeforeSetContent",function(e){e.content=e.content.replace(a,r())}),c.on("PreInit",function(){c.serializer.addNodeFilter("img",function(e){for(var a,n,t=e.length;t--;)if((n=(a=e[t]).attr("class"))&&-1!==n.indexOf("mce-pagebreak")){var r=a.parent;if(c.schema.getBlockElements()[r.name]&&i(c)){r.type=3,r.value=o,r.raw=!0,a.remove();continue}a.type=3,a.value=o,a.raw=!0}})})},o=r,g=t,u=function(e){e.addCommand("mcePageBreak",function(){e.settings.pagebreak_split_block?e.insertContent("

"+o()+"

"):e.insertContent(o())})},m=function(a){a.on("ResolveName",function(e){"IMG"===e.target.nodeName&&a.dom.hasClass(e.target,g())&&(e.name="pagebreak")})},s=function(e){e.addButton("pagebreak",{title:"Page break",cmd:"mcePageBreak"}),e.addMenuItem("pagebreak",{text:"Page break",icon:"pagebreak",cmd:"mcePageBreak",context:"insert"})};e.add("pagebreak",function(e){u(e),s(e),c(e),m(e)})}(); -------------------------------------------------------------------------------- /templates/views/note/edit.html: -------------------------------------------------------------------------------- 1 |
2 |
3 | 4 | 5 | {{ 'name' | translate | capitalize }}: 6 | 8 | 9 | 12 | 13 | 16 |
{{ 'save' | translate | capitalize }}
17 | 18 |
19 | 21 | {{ noteShadowCopy.title }} 22 | {{ 'no.edit.perm' | translate }} 23 | 24 |
{{ 'back' | translate | capitalize }}
25 | 26 |
27 | Saved! 28 |
29 |
30 |
31 | 35 |
36 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/noneditable/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var t=tinymce.util.Tools.resolve("tinymce.PluginManager"),c=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(t){return t.getParam("noneditable_noneditable_class","mceNonEditable")},u=function(t){return t.getParam("noneditable_editable_class","mceEditable")},f=function(t){var n=t.getParam("noneditable_regexp",[]);return n&&n.constructor===RegExp?[n]:n},s=function(n){return function(t){return-1!==(" "+t.attr("class")+" ").indexOf(n)}},d=function(i,o,c){return function(t){var n=arguments,e=n[n.length-2],r=0"===r){var a=o.lastIndexOf("<",e);if(-1!==a&&-1!==o.substring(a,e).indexOf('contenteditable="false"'))return t}return''+i.dom.encode("string"==typeof n[1]?n[1]:n[0])+""}},n=function(n){var t,e,r="contenteditable";t=" "+c.trim(u(n))+" ",e=" "+c.trim(l(n))+" ";var a=s(t),i=s(e),o=f(n);n.on("PreInit",function(){0 2 | 4 | nextnote 5 | NextNote 6 | NextNote 7 | NextNote 8 | 1.2.5 9 | agpl 10 | Ben Curtis 11 | Sander Brand 12 | NextNote 13 | 14 | office 15 | organization 16 | tools 17 | 18 | https://github.com/brantje/nextnote/ 19 | https://github.com/brantje/nextnote/issues 20 | https://github.com/brantje/nextnote.git 21 | 22 | 23 | curl 24 | 25 | 26 | 27 | 28 | 29 | OCA\NextNote\Migration\RenameTable 30 | OCA\NextNote\Migration\MigrateGroups 31 | 32 | 33 | 34 | OCA\NextNote\Settings\AdminSettings 35 | OCA\NextNote\Settings\AdminSection 36 | OCA\NextNote\Settings\PersonalSettings 37 | OCA\NextNote\Settings\PersonalSection 38 | 39 | 40 | -------------------------------------------------------------------------------- /js/app/filters/noteFilter.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | angular.module('NextNotesApp').filter('noteGroupFilter', ['$filter', function ($filter) { 24 | return function (items, filterBy) { 25 | var filtered = []; 26 | if (filterBy.hasOwnProperty('notebook') && filterBy.notebook === 'all') { 27 | return items; 28 | } 29 | if (filterBy.hasOwnProperty('notebook') && filterBy.notebook === null) { 30 | angular.forEach(items, function (item) { 31 | if (item.notebook === null) { 32 | filtered.push(item); 33 | } 34 | }); 35 | return filtered; 36 | } 37 | 38 | return $filter('filter')(items, {notebook: {id: filterBy.notebook}}, true); 39 | }; 40 | }]); 41 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/tabfocus/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),c=tinymce.util.Tools.resolve("tinymce.EditorManager"),s=tinymce.util.Tools.resolve("tinymce.Env"),a=tinymce.util.Tools.resolve("tinymce.util.Delay"),y=tinymce.util.Tools.resolve("tinymce.util.Tools"),f=tinymce.util.Tools.resolve("tinymce.util.VK"),d={getTabFocus:function(e){return e.getParam("tab_focus",e.getParam("tabfocus_elements",":prev,:next"))}},m=t.DOM,n=function(e){e.keyCode!==f.TAB||e.ctrlKey||e.altKey||e.metaKey||e.preventDefault()},i=function(r){function e(n){var i,o,e,l;if(!(n.keyCode!==f.TAB||n.ctrlKey||n.altKey||n.metaKey||n.isDefaultPrevented())&&(1===(e=y.explode(d.getTabFocus(r))).length&&(e[1]=e[0],e[0]=":prev"),o=n.shiftKey?":prev"===e[0]?u(-1):m.get(e[0]):":next"===e[1]?u(1):m.get(e[1]))){var t=c.get(o.id||o.name);o.id&&t?t.focus():a.setTimeout(function(){s.webkit||window.focus(),o.focus()},10),n.preventDefault()}function u(e){function t(t){return/INPUT|TEXTAREA|BUTTON/.test(t.tagName)&&c.get(n.id)&&-1!==t.tabIndex&&function e(t){return"BODY"===t.nodeName||"hidden"!==t.type&&"none"!==t.style.display&&"hidden"!==t.style.visibility&&e(t.parentNode)}(t)}if(o=m.select(":input:enabled,*[tabindex]:not(iframe)"),y.each(o,function(e,t){if(e.id===r.id)return i=t,!1}),0 2 | 3 | 4 | 8 | 10 | 12 | 14 | 16 | 18 | 19 | -------------------------------------------------------------------------------- /js/lib/tinymceNextcloudFileBrowser.js: -------------------------------------------------------------------------------- 1 | var NextCloudFileBrowserDialogue = function(field_name, url, type, win) { 2 | var fileListUrl = '../files/ajax/list.php?dir='; 3 | var currentPath; 4 | console.log(type) 5 | //type file|image 6 | OC.dialogs.filepicker('Pick a file', function (file) { 7 | var filePath = OC.linkToRemote('webdav') + file; 8 | 9 | if(type === 'image') { 10 | var allowedExtensions = ['png', 'jpg', 'jpeg', 'gif', 'svg', 'webm']; 11 | var extension = file.split('.').pop(); 12 | if (allowedExtensions.indexOf(extension) < 0) { 13 | $('#mceNextcloudFileBrowser').dialog('destroy'); 14 | var allowedList = allowedExtensions.join("
  • "); 15 | OCdialogs.message( 16 | '
    File extension is not allowed!
    Allowed extensions:
    • ' + allowedList + '
    ', 17 | 'Error', 18 | 'alert', 19 | OCdialogs.OK_BUTTON, 20 | null, 21 | null, 22 | true 23 | ); 24 | return; 25 | } 26 | 27 | var xhr = new XMLHttpRequest(); 28 | xhr.onload = function () { 29 | var reader = new FileReader(); 30 | reader.onloadend = function () { 31 | win.document.getElementById(field_name).value = reader.result; 32 | $('#mceNextcloudFileBrowser').dialog('destroy'); 33 | 34 | }; 35 | reader.readAsDataURL(xhr.response); 36 | }; 37 | 38 | xhr.onerror = function () { 39 | OCdialogs.info('Error while downloading file', 'Oops...'); 40 | }; 41 | 42 | xhr.open('GET', filePath); 43 | xhr.responseType = 'blob'; 44 | xhr.send(); 45 | } else { 46 | win.document.getElementById(field_name).value = filePath; 47 | $('#mceNextcloudFileBrowser').dialog('destroy'); 48 | } 49 | }); 50 | // 51 | }; 52 | -------------------------------------------------------------------------------- /js/app/controllers/NoteViewCtrl.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Nextcloud - NextNotes 3 | * 4 | * @copyright Copyright (c) 2016, Sander Brand (brantje@gmail.com) 5 | * @copyright Copyright (c) 2016, Marcos Zuriaga Miguel (wolfi@wolfi.es) 6 | * @license GNU AGPL version 3 or any later version 7 | * 8 | * This program is free software: you can redistribute it and/or modify 9 | * it under the terms of the GNU Affero General Public License as 10 | * published by the Free Software Foundation, either version 3 of the 11 | * License, or (at your option) any later version. 12 | * 13 | * This program is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | * GNU Affero General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Affero General Public License 19 | * along with this program. If not, see . 20 | * 21 | */ 22 | 23 | (function () { 24 | 'use strict'; 25 | 26 | /** 27 | * @ngdoc function 28 | * @name NextNotesApp.controller:MainCtrl 29 | * @description 30 | * # MainCtrl 31 | * Controller of the NextNotesApp 32 | */ 33 | angular.module('NextNotesApp').controller('NoteViewCtrl', [ 34 | '$scope', 35 | '$routeParams', 36 | '$location', 37 | 'NoteService', 38 | function ($scope, $routeParams, $location, NoteService) { 39 | var noteId = ($routeParams.noteId) ? $routeParams.noteId : null; 40 | NoteService.getNoteById(noteId).then(function (note) { 41 | $scope.note = angular.copy(note); 42 | }); 43 | $scope.goBack = function () { 44 | $location.path('/'); 45 | }; 46 | 47 | }]); 48 | 49 | }()); 50 | -------------------------------------------------------------------------------- /l10n/he.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New notebook" : "מחברת חדשה", 3 | "Not in notebook" : "לא במחברת", 4 | "Notebook name" : "שם המחברת", 5 | "Deleted notes" : "פתקים שנמחקו", 6 | "all" : "הכול", 7 | "new" : "חדש", 8 | "save" : "שמירה", 9 | "back" : "חזרה", 10 | "create" : "יצירה", 11 | "cancel" : "ביטול", 12 | "name" : "שם", 13 | "modified" : "נערכו", 14 | "Delete note" : "מחיקת פתק", 15 | "Restore note" : "שחזור פתק", 16 | "Untitled note" : "פתק ללא כותרת", 17 | "Edit note" : "עריכת פתק", 18 | "Share note" : "שיתוף פתק", 19 | "Shared with you by %s" : "שותף אתך על ידי %s", 20 | "You don't have permissions to edit this note" : "אין לך הרשאות לערוך את הפתק הזה", 21 | "Notes" : "הערות", 22 | "Nextnote" : "Nextnote", 23 | "NextNote" : "NextNote", 24 | "How would you like to store your notes?" : "איך ברצונך לאחסן את ההערות שלך?", 25 | "Database only" : "מסד נתונים בלבד", 26 | "During development of this app, only database exists. File mode will be added later" : "במהלך פיתוח היישומון הזה, קיים רק מסד נתונים. בקרוב יתווסף מצב קבצים.", 27 | "Please enter the folder name you would like to use to store notes, with no slashes." : "נא להקליד את שם התיקייה בה ברצונך לאחסן הערות, ללא לוכסנים.", 28 | "How would you like to handle groups for shared notes?" : "כיצד לטפל בקבוצות להערות משותפות?", 29 | "Synchronized" : "מסונכרן", 30 | "Standalone" : "עצמאי", 31 | "View mode" : "מצב הצגה", 32 | "Column view" : "תצוגת עמודות", 33 | "Single view" : "תצוגה בודדת", 34 | "Create example note" : "יצירת פתק לדוגמה" 35 | },"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;" 36 | } -------------------------------------------------------------------------------- /l10n/he.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "New notebook" : "מחברת חדשה", 5 | "Not in notebook" : "לא במחברת", 6 | "Notebook name" : "שם המחברת", 7 | "Deleted notes" : "פתקים שנמחקו", 8 | "all" : "הכול", 9 | "new" : "חדש", 10 | "save" : "שמירה", 11 | "back" : "חזרה", 12 | "create" : "יצירה", 13 | "cancel" : "ביטול", 14 | "name" : "שם", 15 | "modified" : "נערכו", 16 | "Delete note" : "מחיקת פתק", 17 | "Restore note" : "שחזור פתק", 18 | "Untitled note" : "פתק ללא כותרת", 19 | "Edit note" : "עריכת פתק", 20 | "Share note" : "שיתוף פתק", 21 | "Shared with you by %s" : "שותף אתך על ידי %s", 22 | "You don't have permissions to edit this note" : "אין לך הרשאות לערוך את הפתק הזה", 23 | "Notes" : "הערות", 24 | "Nextnote" : "Nextnote", 25 | "NextNote" : "NextNote", 26 | "How would you like to store your notes?" : "איך ברצונך לאחסן את ההערות שלך?", 27 | "Database only" : "מסד נתונים בלבד", 28 | "During development of this app, only database exists. File mode will be added later" : "במהלך פיתוח היישומון הזה, קיים רק מסד נתונים. בקרוב יתווסף מצב קבצים.", 29 | "Please enter the folder name you would like to use to store notes, with no slashes." : "נא להקליד את שם התיקייה בה ברצונך לאחסן הערות, ללא לוכסנים.", 30 | "How would you like to handle groups for shared notes?" : "כיצד לטפל בקבוצות להערות משותפות?", 31 | "Synchronized" : "מסונכרן", 32 | "Standalone" : "עצמאי", 33 | "View mode" : "מצב הצגה", 34 | "Column view" : "תצוגת עמודות", 35 | "Single view" : "תצוגה בודדת", 36 | "Create example note" : "יצירת פתק לדוגמה" 37 | }, 38 | "nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;"); 39 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/contextmenu/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var o=function(t){var n=t,e=function(){return n};return{get:e,set:function(t){n=t},clone:function(){return o(e())}}},t=tinymce.util.Tools.resolve("tinymce.PluginManager"),i=function(t){return{isContextMenuVisible:function(){return t.get()}}},r=function(t){return t.settings.contextmenu_never_use_native},u=function(t){return t.getParam("contextmenu","link openlink image inserttable | cell row column deletetable")},l=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),s=function(t){return l.DOM.select(t.settings.ui_container)[0]},a=function(t,n){return{x:t,y:n}},f=function(t,n,e){return a(t.x+n,t.y+e)},m=function(t,n){if(t&&"static"!==l.DOM.getStyle(t,"position",!0)){var e=l.DOM.getPos(t),o=e.x-t.scrollLeft,i=e.y-t.scrollTop;return f(n,-o,-i)}return f(n,0,0)},c=function(t,n){if(t.inline)return m(s(t),a((u=n).pageX,u.pageY));var e,o,i,r,u,c=(e=t.getContentAreaContainer(),o=a((r=n).clientX,r.clientY),i=l.DOM.getPos(e),f(o,i.x,i.y));return m(s(t),c)},g=tinymce.util.Tools.resolve("tinymce.ui.Factory"),v=tinymce.util.Tools.resolve("tinymce.util.Tools"),y=function(t,n,e,o){null===o.get()?o.set(function(e,n){var t,o,i=[];o=u(e),v.each(o.split(/[ ,]/),function(t){var n=e.menuItems[t];"|"===t&&(n={text:t}),n&&(n.shortcut="",i.push(n))});for(var r=0;r. 20 | * 21 | */ 22 | 23 | (function() { 24 | 25 | 'use strict'; 26 | 27 | /** 28 | * @ngdoc overview 29 | * @name NextNotesApp 30 | * @description 31 | * # passmanApp 32 | * 33 | * Defines routes for the application 34 | */ 35 | angular.module('NextNotesApp').config(function($routeProvider) { 36 | $routeProvider 37 | /* .when('/', { 38 | templateUrl: 'views/list.html', 39 | controller: 'NoteListCtrl' 40 | }) */ 41 | .when('/note/edit/:noteId', { 42 | templateUrl: 'views/note/edit.html', 43 | controller: 'NoteEditCtrl' 44 | }) 45 | .when('/note/view/:noteId', { 46 | templateUrl: 'views/note/view.html', 47 | controller: 'NoteViewCtrl' 48 | }) 49 | .when('/note/new', { 50 | templateUrl: 'views/note/edit.html', 51 | controller: 'NoteEditCtrl' 52 | }) 53 | .otherwise({ 54 | redirectTo: '/' 55 | }); 56 | }); 57 | }()); 58 | -------------------------------------------------------------------------------- /l10n/zh_CN.json: -------------------------------------------------------------------------------- 1 | { "translations": { 2 | "New notebook" : "新建笔记本", 3 | "Not in notebook" : "不在笔记本中", 4 | "Notebook name" : "笔记本名称", 5 | "Deleted notes" : "删除的笔记", 6 | "all" : "所有笔记", 7 | "new" : "新建笔记", 8 | "save" : "保存", 9 | "back" : "后退", 10 | "create" : "创建笔记", 11 | "cancel" : "取消", 12 | "name" : "名称", 13 | "modified" : "已修改", 14 | "Delete note" : "删除笔记", 15 | "Restore note" : "恢复笔记", 16 | "Untitled note" : "未命名笔记", 17 | "Edit note" : "编辑笔记", 18 | "Share note" : "共享笔记", 19 | "Shared with you by %s" : "您已通过%s共享", 20 | "You don't have permissions to edit this note" : "您没有权限编辑此笔记", 21 | "Notes" : "笔记", 22 | "Nextnote" : "Nextnote", 23 | "NextNote" : "NextNote", 24 | "How would you like to store your notes?" : "您希望保存您的笔记吗?", 25 | "Database only" : "只使用数据库", 26 | "During development of this app, only database exists. File mode will be added later" : "在此 App 的开发过程中只使用数据库,文件模式会在以后加入。", 27 | "Please enter the folder name you would like to use to store notes, with no slashes." : "请输入用于存储笔记的文件夹名称,不要包含斜杠。", 28 | "How would you like to handle groups for shared notes?" : "您希望怎样处理共享笔记群组?", 29 | "Synchronized groups merge all shared notes, that have the same groupnames in the same group. Standalone groups get separate groups with their owner in the name. If 'UserA' shares a note in 'GroupX' with 'UserB', that also has a group called 'GroupX', 'Synchronized' will show them in the group 'GroupX' and 'Standalone' will show two groups 'GroupX' and 'GroupX (UserA)' for 'UserB'." : "同步群组模式将合并群组内相同组名的所有共享笔记。独立群组模式将显示独立的群组,并在组名中注明所有者。如果“用户A”在“群组X”中向“用户B”共享了笔记,同时“用户B”也有一个群组名称为“群组X”,在同步群组模式下他们都会显示在“群组X”下,而在独立群组模式下“用户B”将会看到“群组X”和“群组X(用户A)”两个群组。", 30 | "Synchronized" : "已同步", 31 | "Standalone" : "独立", 32 | "View mode" : "视图模式", 33 | "Column view" : "列视图", 34 | "Single view" : "单一视图", 35 | "Create example note" : "创建示例笔记" 36 | },"pluralForm" :"nplurals=1; plural=0;" 37 | } -------------------------------------------------------------------------------- /l10n/zh_CN.js: -------------------------------------------------------------------------------- 1 | OC.L10N.register( 2 | "nextnote", 3 | { 4 | "New notebook" : "新建笔记本", 5 | "Not in notebook" : "不在笔记本中", 6 | "Notebook name" : "笔记本名称", 7 | "Deleted notes" : "删除的笔记", 8 | "all" : "所有笔记", 9 | "new" : "新建笔记", 10 | "save" : "保存", 11 | "back" : "后退", 12 | "create" : "创建笔记", 13 | "cancel" : "取消", 14 | "name" : "名称", 15 | "modified" : "已修改", 16 | "Delete note" : "删除笔记", 17 | "Restore note" : "恢复笔记", 18 | "Untitled note" : "未命名笔记", 19 | "Edit note" : "编辑笔记", 20 | "Share note" : "共享笔记", 21 | "Shared with you by %s" : "您已通过%s共享", 22 | "You don't have permissions to edit this note" : "您没有权限编辑此笔记", 23 | "Notes" : "笔记", 24 | "Nextnote" : "Nextnote", 25 | "NextNote" : "NextNote", 26 | "How would you like to store your notes?" : "您希望保存您的笔记吗?", 27 | "Database only" : "只使用数据库", 28 | "During development of this app, only database exists. File mode will be added later" : "在此 App 的开发过程中只使用数据库,文件模式会在以后加入。", 29 | "Please enter the folder name you would like to use to store notes, with no slashes." : "请输入用于存储笔记的文件夹名称,不要包含斜杠。", 30 | "How would you like to handle groups for shared notes?" : "您希望怎样处理共享笔记群组?", 31 | "Synchronized groups merge all shared notes, that have the same groupnames in the same group. Standalone groups get separate groups with their owner in the name. If 'UserA' shares a note in 'GroupX' with 'UserB', that also has a group called 'GroupX', 'Synchronized' will show them in the group 'GroupX' and 'Standalone' will show two groups 'GroupX' and 'GroupX (UserA)' for 'UserB'." : "同步群组模式将合并群组内相同组名的所有共享笔记。独立群组模式将显示独立的群组,并在组名中注明所有者。如果“用户A”在“群组X”中向“用户B”共享了笔记,同时“用户B”也有一个群组名称为“群组X”,在同步群组模式下他们都会显示在“群组X”下,而在独立群组模式下“用户B”将会看到“群组X”和“群组X(用户A)”两个群组。", 32 | "Synchronized" : "已同步", 33 | "Standalone" : "独立", 34 | "View mode" : "视图模式", 35 | "Column view" : "列视图", 36 | "Single view" : "单一视图", 37 | "Create example note" : "创建示例笔记" 38 | }, 39 | "nplurals=1; plural=0;"); 40 | -------------------------------------------------------------------------------- /js/vendor/tinymce/plugins/preview/plugin.min.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),r=tinymce.util.Tools.resolve("tinymce.Env"),c=function(e){return parseInt(e.getParam("plugin_preview_width","650"),10)},a=function(e){return parseInt(e.getParam("plugin_preview_height","500"),10)},s=function(e){return e.getParam("content_style","")},d=tinymce.util.Tools.resolve("tinymce.util.Tools"),l=function(t){var n="",i=t.dom.encode,e=s(t);n+='',e&&(n+='"),d.each(t.contentCSS,function(e){n+=''});var o=t.settings.body_id||"tinymce";-1!==o.indexOf("=")&&(o=(o=t.getParam("body_id","","hash"))[t.id]||o);var r=t.settings.body_class||"";-1!==r.indexOf("=")&&(r=(r=t.getParam("body_class","","hash"))[t.id]||"");var c=t.settings.directionality?' dir="'+t.settings.directionality+'"':"";return""+n+'"+t.getContent()+'