Commit Graph

292 Commits

Author SHA1 Message Date
Adnan M.Sagar, PhD 52a3ffb55f
Update Editor.jsx
Small fix to add created or modified to the body correctly.
Below was my original fix but didn't want to change file flow

```js
meta[body.created ? 'modified' : 'created'] = props.env.getCurrentTimeAdjusted()
```

Great job with the all the Annotation packages, thank you.
2021-01-04 17:22:25 +02:00
Rainer Simon 35a339dcd3 Registered NL translations for timeago 2021-01-03 10:02:24 +01:00
Nico Altink 9947e55733
The dutch (nl) text 2020-12-31 20:19:29 +01:00
Rainer Simon aaae5c32f2 Minor API tweak 2020-12-27 17:51:19 +01:00
Rainer Simon 2482d37bd9 Minor fix 2020-12-27 12:01:35 +01:00
Rainer Simon fb940d78b2 Removed support for applyTemplate 2020-12-27 09:07:12 +01:00
Rainer Simon 7a2d338593 Editor bugfix + disabled applyTemplate hack 2020-12-27 08:52:52 +01:00
Rainer Simon 7cade43a08 Bugfix 2020-12-25 20:31:37 +01:00
Rainer Simon ac1e27678d Cleanup 2020-12-21 13:35:28 +01:00
Rainer Simon ae07174ea5 Bugfix 2020-12-20 21:33:02 +01:00
Rainer Simon 0ef304e370 Minor fix 2020-12-20 17:55:10 +01:00
Rainer Simon 225da3728f Minor edits 2020-12-20 16:41:31 +01:00
Rainer Simon 03885e9958 Simpified/made more robust 2020-12-20 16:39:30 +01:00
Rainer Simon f186ff8109 Simplified to function component 2020-12-20 16:29:20 +01:00
Niqui O'Neill abb199509e update iscomment check 2020-12-14 17:41:04 -08:00
Niqui O'Neill 28f91247e5 bug fix 2020-12-07 18:04:10 -08:00
Rainer Simon 1c80007ef4
Merge pull request #38 from dnoneill/purpose-dropdown
Purpose dropdown
2020-12-07 09:02:17 +01:00
Niqui O'Neill 6aa488690c const purposes update 2020-12-04 09:04:35 -08:00
Niqui O'Neill c6d4ba8c45 remove unused variables 2020-11-30 14:31:55 -08:00
Niqui O'Neill 751946a5eb update dropdown widget 2020-11-30 14:26:25 -08:00
Niqui O'Neill e1276a60e1 fix purpose dropdown 2020-11-30 14:21:35 -08:00
Niqui O'Neill 71aa9c128e fix purpose when missing 2020-11-30 13:19:57 -08:00
Rainer Simon 103e89673c Updated WebAnnotation/Selection equals method 2020-11-28 17:35:44 +01:00
Rainer Simon 7e32f62a93 Bugfix 2020-11-28 13:56:26 +01:00
Rainer Simon b875f99be7 Merge branch 'master' of github.com:recogito/recogito-client-core 2020-11-28 13:52:52 +01:00
Rainer Simon 79831fe957 Consistency: selections now also use _underlying instead of _stub 2020-11-28 13:52:41 +01:00
Niqui O'Neill 2caf83083f merge fixes 2020-11-25 12:08:30 -08:00
Niqui O'Neill ffd6fc5c00 merge 2020-11-25 12:00:10 -08:00
Niqui O'Neill 3704ebeebf purpose dropdown 2020-11-25 11:58:54 -08:00
Niqui O'Neill 424860bfc3 stash changes 2020-11-16 14:07:14 -05:00
Rainer Simon f762de6725
Registered TR locale for timeago 2020-11-11 14:24:47 +01:00
deepBlue 6f286a5023
tr language file
tr language file
2020-11-11 16:17:29 +03:00
Rainer Simon bce13d0210 Cleanup 2020-11-10 14:50:12 +01:00
Rainer Simon 4627c5a6bf Replaced contentEditable DIV with textarea 2020-11-10 14:48:10 +01:00
Niqui O'Neill 522054590e add dropdown to widget 2020-11-02 18:52:06 -05:00
Rainer Simon d2b7262aad Enabled supported locales for TimeAgo (cf. https://github.com/recogito/annotorious/issues/64) 2020-10-30 14:59:03 +01:00
Rainer Simon 2e4dcb9e31 Added missing Spanish labels (see https://github.com/recogito/annotorious/issues/64) 2020-10-28 13:33:30 +01:00
Rainer Simon de71349d15 Bugfix 2020-10-13 14:51:26 +02:00
Rainer Simon 75feeb2959 Another attempt at fixing autosuggest behavior 2020-10-13 14:04:11 +02:00
Rainer Simon e44f404e28 Bugfix 2020-10-12 09:51:05 +02:00
Rainer Simon 7e7b7125b0 Merge branch 'master' of github.com:recogito/recogito-client-core 2020-10-12 09:39:20 +02:00
Rainer Simon 607cd707dc Intermediate bugfix to autocomplete 2020-10-12 09:39:14 +02:00
Jarka Pachlová 09a43d2c1f Added czech translation 2020-09-25 10:59:26 +02:00
Rainer Simon 6b5a572b64 Bugfix 2020-09-24 16:59:13 +02:00
Rainer Simon 6507ef4b73 Fixes issue reported in https://github.com/recogito/annotorious/issues/57 2020-09-24 14:55:01 +02:00
Rainer Simon 8faa9f29d8 Proper CSS class prefixing for editor 2020-09-22 14:22:17 +02:00
Rainer Simon 0898639db5 Environment bugfixes 2020-09-22 11:52:19 +02:00
Rainer Simon 9d9b309eb9 Minor API change 2020-09-22 08:31:50 +02:00
Rainer Simon 73642e21f4 Making environment element-specific 2020-09-22 08:30:20 +02:00
Rainer Simon 4373abf54b Introduces 'draft mode' tags, so user doesn't need to hit Enter to store 2020-09-15 15:09:32 +02:00
Rainer Simon 48d65ce520 Style fixes 2020-09-14 12:43:48 +02:00
Rainer Simon 5c26b7e800 Bugfix 2020-09-14 12:38:43 +02:00
Rainer Simon 8013492f60 Bugfix 2020-09-14 12:29:53 +02:00
Rainer Simon 7aa434581e Fixed linter warning 2020-09-14 12:17:38 +02:00
Rainer Simon 5018f2e8cf Fixed linter warnings 2020-09-14 12:16:07 +02:00
Rainer Simon b02ad98dd5 Comment widget now supports 'only edit my own comments' access rule 2020-09-14 12:13:47 +02:00
Rainer Simon bf5da9d2d5 Plugin API: changed the way plugin config works 2020-09-14 11:57:16 +02:00
Rainer Simon 918d517926
Code comment 2020-09-14 10:55:06 +02:00
Rainer Simon 159cd3cdfa Minor compatibility tweak 2020-09-14 10:30:04 +02:00
Rainer Simon 0c033aab50 Fixes to text annotation concerning new plugin API 2020-09-13 08:35:01 +02:00
Rainer Simon d448189c0e Cleanup 2020-09-12 10:36:17 +02:00
Rainer Simon 061a37e706 Minor fix 2020-09-12 10:30:45 +02:00
Rainer Simon f95cd46d55 Bugfix 2020-09-12 10:08:02 +02:00
Rainer Simon 7874622ad4 More work towards flexible widget API 2020-09-12 10:06:29 +02:00
Rainer Simon b1db6e90e0 Preparatory work for flexible plugin API 2020-09-12 09:41:03 +02:00
Rainer Simon d4ab1aedb4 Cleanup 2020-09-11 14:22:53 +02:00
Rainer Simon 26ee0d7868 Cleanup 2020-09-11 11:18:59 +02:00
Rainer Simon 31a2d13cdb Bugfix 2020-09-11 11:14:12 +02:00
Rainer Simon 1cde3d866d Made plugin events work 2020-09-11 09:58:55 +02:00
Rainer Simon 64aa253a5e Basic plugin API example 2020-09-11 09:14:19 +02:00
Rainer Simon fd4fb6cdb1 IE11-specific style tweaks 2020-09-06 08:52:44 +02:00
Rainer Simon 095da4cc7a Comment field focus after render 2020-09-05 13:42:26 +02:00
Rainer Simon ed78059ec5 CSS + behavior tweaks 2020-09-05 13:39:54 +02:00
Rainer Simon 98df4da14c Fixes (potentially) last remaining IE11 compat issue 2020-08-30 12:34:15 +02:00
Rainer Simon 0f7e2f8a70 Fixes #30 2020-08-30 09:10:44 +02:00
Rainer Simon e5391cdb97 Minor tweaks concerning IE11 2020-08-29 14:26:48 +02:00
Rainer Simon d9e5291472 Revised polyfills concerning IE11 compat 2020-08-28 17:55:31 +02:00
Rainer Simon 2c1372f075 Cleanup 2020-08-27 20:40:10 +02:00
Rainer Simon d1cf472938 More IE11 compatibility fixes 2020-08-27 20:31:29 +02:00
Rainer Simon 8d66a79444 Added a million IE11 polyfills... 2020-08-26 22:01:45 +02:00
Rainer Simon 011442bd7d Minor fixes 2020-08-26 21:48:39 +02:00
Rainer Simon b280a7daeb Minor change in preparation for better headless 2020-08-23 20:58:30 +02:00
Rainer Simon 710bfc77af Editor Cancel event now returns annotation as payload 2020-08-15 13:52:17 +02:00
Rainer Simon 0bf9f37549 Rendering no longer breaks when single annotation is broken 2020-08-07 09:28:43 +02:00
Rainer Simon e823d5a506 Autocomplete cleanup 2020-07-13 14:13:04 +02:00
Rainer Simon 130e29f966 Bugfix: avoids stratification when making a selection that perfectly overlaps an annotation 2020-07-13 13:15:17 +02:00
Rainer Simon 351f232be7 Version upgrades 2020-07-13 12:53:22 +02:00
Rainer Simon b75564b29f Tag autocomplete behavior fix 2020-07-10 15:07:04 +02:00
Rainer Simon 89809ad197 Behavior bugfixes 2020-07-09 17:51:43 +02:00
Rainer Simon 1c2a66f5fd Added controlled vocab dropdown to standard tag widget 2020-07-09 15:59:55 +02:00
Rainer Simon e6e33158ab Behavior + style bugfixes 2020-07-09 13:01:34 +02:00
Rainer Simon 779629ed2f Bugfix 2020-07-09 12:36:30 +02:00
Rainer Simon 49b0481b83 Relation vocabulary plumbing 2020-07-09 11:26:16 +02:00
Rainer Simon 24458e26f0 Autocomplete dropdown for relations editor 2020-07-09 11:20:33 +02:00
Rainer Simon d47d93566e
Removed redundant condition 2020-06-27 21:12:45 +02:00
VeraMA b9b8ae7a20
Add files via upload 2020-06-23 11:10:36 +01:00
Rainer Simon 984a5b576d iOS bugfix 2020-06-04 12:58:22 +02:00
Rainer Simon a8befdcb19 Minor tweak: allowing configurable widgets 2020-06-04 10:13:17 +02:00
Rainer Simon 4c5e102095 Another attempt at getting ResizeObserver behavior right 2020-06-03 15:34:52 +02:00
Rainer Simon 7bf430f15c Bugfix 2020-06-03 15:27:05 +02:00
Rainer Simon cd5f676ec0 Removed debug messages 2020-06-03 15:18:12 +02:00
Rainer Simon b33819ed35 Changed the way the ResizeObserver works on the editor popup 2020-06-03 15:11:50 +02:00
Rainer Simon c52dd4e959 Minor edits 2020-06-01 20:30:34 +02:00
Rainer Simon c512ed32da Added readOnly config opt for WebAnnotation 2020-06-01 20:20:36 +02:00
Rainer Simon ef3e467963 ReadOnly mode display tweaks 2020-05-29 18:54:47 +02:00
Rainer Simon 3f4e6a85ec Added onAnnotationSelected call 2020-05-29 10:48:29 +02:00
Rainer Simon 71f390b316 Tweaked readOnly mode 2020-05-29 10:44:11 +02:00
Rainer Simon a2599a9237 Bugfix 2020-05-22 20:01:30 +02:00
Rainer Simon 053830ad4a Disabling ResizeObserver for platforms that don't support it 2020-05-22 19:42:38 +02:00
Rainer Simon 110f42b342 Closes #21 2020-05-20 18:32:51 +02:00
A. Sean Pue 2d208e8841
Update messages_hi.json 2020-05-20 10:16:13 -04:00
A. Sean Pue 824c3b3a33
Update messages_hi.json 2020-05-20 10:15:41 -04:00
seanpue b713a32c0e added hindi and urdu messages translation 2020-05-20 10:07:28 -04:00
Rainer Simon d1354ec489 Minor tweak 2020-05-19 18:18:16 +02:00
Rainer Simon ad67be30f8 Added missing I18n labels 2020-05-18 10:31:04 +02:00
Rainer Simon bb09e7e3fe Helper function for locale detection 2020-05-18 10:26:43 +02:00
Rainer Simon 9e4f0bd3f3 Creation meta is now omitted when no user present 2020-05-18 09:42:55 +02:00
Rainer Simon 3d4f007a8d Minor tweaks 2020-05-18 09:35:23 +02:00
Rainer Simon 3efe56e68c Comments now display timestamps 2020-05-18 09:24:46 +02:00
Rainer Simon 7b6ab418a6 Bugfixes 2020-05-18 08:58:35 +02:00
Rainer Simon a5ee24718a Merge branch 'master' of github.com:recogito/recogito-client-core 2020-05-18 08:43:49 +02:00
Rainer Simon 15dd1374db Handling creation metadata (creator, created, modified) 2020-05-18 08:43:39 +02:00
Greta Franzini 8326368345 Minor correction 2020-05-16 15:29:07 +02:00
Greta Franzini 96e0357fd1 Italian translation 2020-05-16 15:23:58 +02:00
Magnus Sälgö 8ed7afd685
sv messages 2020-05-15 17:38:32 +02:00
Rainer Simon 213c53fa4e Added Environment container 2020-05-15 14:38:17 +02:00
Rainer Simon 207f6e82b0 Filenaming 2020-05-15 08:02:33 +02:00
Rainer Simon a184ff3878
Merge pull request #14 from djwrisley/master
adding Arabic messages
2020-05-15 07:25:21 +02:00
Rainer Simon af70a7ff0d
Merge pull request #15 from LorenaPB/patch-1
Create messages_{es}.json
2020-05-15 07:23:43 +02:00
LorenaPB 4fc2a8b8f1
Create messages_{gl}.json 2020-05-14 22:53:31 +02:00
LorenaPB 21a6aadf4f
Create messages_{es}.json 2020-05-14 22:43:22 +02:00
David Wrisley 3c0cd09573
adding Arabic messages 2020-05-15 00:07:09 +04:00
Rainer Simon 38dbb47eb0 Fixes Annotorious issue re selection equality 2020-05-14 18:58:35 +02:00
Rainer Simon d27c0f382e Added I18n 2020-05-14 15:00:31 +02:00
Rainer Simon 1108859299 Closes #12 2020-05-14 10:36:47 +02:00
Rainer Simon a66df4950c Closes #8 2020-05-14 10:22:46 +02:00
Rainer Simon 6ca6d8e969 Closes #13 2020-05-14 09:48:21 +02:00
Rainer Simon f89eac2b87 Bugfix 2020-05-13 08:36:57 +02:00
Rainer Simon bc005087e0 Position editor on resize 2020-05-12 20:17:37 +02:00
Rainer Simon 2727b38c94 Minor bugfix 2020-05-12 20:11:42 +02:00
Rainer Simon 4825f3b21d Internal API change: keep ref to selected DOM node, not just bounds 2020-05-12 19:50:33 +02:00
Rainer Simon 1508ed1207 API change: selections now take target as arg, not selectors 2020-05-09 16:12:37 +02:00
Rainer Simon 9f11f88fa6 Bugfix 2020-05-08 21:03:45 +02:00
Rainer Simon 252cf943f5 Cleanup 2020-05-08 21:00:15 +02:00
Rainer Simon 4f5bab8237 Exported MS Edge polyfill 2020-05-08 20:57:44 +02:00
Rainer Simon eedbe77e22 Made SVG drawing MS Edge compatible (issue #7) 2020-05-05 13:24:49 +02:00
Simon Rainer 41529a4cd1 Polyfills to enable editor positoning on MS Edge (issue #7) 2020-05-05 13:13:10 +02:00
Rainer Simon 95c7e26557 Switched to Preact 2020-05-01 20:01:55 +02:00
Rainer Simon 53c842035b Minor internal API change 2020-05-01 15:58:25 +02:00
Rainer Simon 574d805008 Made widgets readOnly-compatible 2020-05-01 14:20:13 +02:00