Commit Graph

225 Commits

Author SHA1 Message Date
Robbie Antenesse 240d226d4e Add share links to words (word view not added yet) 2019-07-11 10:45:00 -06:00
Robbie Antenesse 92628cfa40 Use domain + pathname for public links instead of href 2019-07-11 10:44:59 -06:00
Robbie Antenesse 5587056f3b Auto-number homonymns; enable referencing specific homonymns 2019-07-11 10:44:59 -06:00
Robbie Antenesse e0b3a2b90e Make sure publicLink is populated even when nonexistent 2019-07-11 10:44:59 -06:00
Robbie Antenesse d575e8f8d9 Make public link visible when public; copy on click 2019-07-11 10:44:57 -06:00
Robbie Antenesse c07ae23f8a Render custom css in public view 2019-07-11 10:30:21 -06:00
Robbie Antenesse 1cf547dd2e Split out setupListeners into separate files 2019-07-11 10:30:21 -06:00
Robbie Antenesse 91a5967727 Add new features to offline and view 2019-07-11 10:30:21 -06:00
Robbie Antenesse 9ca6ef15d7 Add Custom CSS field 2019-07-11 10:30:20 -06:00
Robbie Antenesse f9fa6a178d Stop dictionary update if name or specification blank 2019-07-11 10:30:20 -06:00
Robbie Antenesse a2542fe7a1 Add Phonology Notes 2019-07-11 10:30:20 -06:00
Robbie Antenesse a1ea105f66 Fix console error when uploading whole dictionary 2019-07-11 10:30:19 -06:00
Robbie Antenesse 10d2159262 Add ability to search for orthographic translations 2019-07-11 10:30:19 -06:00
Robbie Antenesse 56ce6c30a6 Only save dictionary and settings when changed 2019-07-11 10:30:19 -06:00
Robbie Antenesse aa956e9820 Make alphabetical order editable 2019-07-11 10:30:19 -06:00
Robbie Antenesse 2bf0f15f67 Fix how custom sorting works!
Sort alphabetically first, then by custom if specified
2019-07-11 10:30:18 -06:00
Robbie Antenesse 4e1ee35c5b Fix when orthography section displays 2019-07-11 10:30:18 -06:00
Robbie Antenesse ee30fe53b2 Split render.js out into separate files 2019-07-11 10:30:18 -06:00
Robbie Antenesse 460506012e Start setting up custom alphabetical order
Need to figure out why non-alphabetical letters are sorting wrong.
They should be at the end no matter what, but they're not always.
2019-07-11 10:30:17 -06:00
Robbie Antenesse 45e9e5230c Correctly show/hide homonymn number 2019-07-11 10:30:17 -06:00
Robbie Antenesse 850b042d6b Do reference parsing and orthography translation on backend for public view 2019-07-11 10:30:17 -06:00
Robbie Antenesse d36eec52fa Replace Ctrl+X hotkey with Ctrl+Backspace/Delete 2019-07-11 10:30:16 -06:00
Robbie Antenesse f153e0c3ec Add extra classes to word references and translated text 2019-07-11 10:30:16 -06:00
Robbie Antenesse 4c5dafd6f0 Improve Details display of tags 2019-07-11 10:30:16 -06:00
Robbie Antenesse 1491fd1196 Fix view rendering after updating dictionary structure 2019-07-11 10:30:16 -06:00
Robbie Antenesse 945e2a3c76 Display orthograpy translations in details 2019-07-11 10:30:15 -06:00
Robbie Antenesse 4f9f4a97ad Set up orthography translation
Also fix dictionary description not auto-linking
2019-07-11 10:30:15 -06:00
Robbie Antenesse 1c2570684d Change phonotactics exceptions to notes where used 2019-07-11 10:30:15 -06:00
Robbie Antenesse 686a7fa542 Prepare dictionary structure for changes (breaking changes) 2019-07-11 10:30:15 -06:00
Robbie Antenesse 2ddd513098 Move migrateDictionary() to migration.js 2019-07-11 10:30:14 -06:00
Robbie Antenesse d8111fbe1d Add loading message when changing dictionaries 2019-07-11 10:30:14 -06:00
Robbie Antenesse 88d7e4fd8c Update public link when changing dictionaries 2019-07-11 10:30:13 -06:00
Robbie Antenesse 0eb8be330b Wait until externalID has been fetched to render "Make Public" 2019-07-11 10:30:13 -06:00
Robbie Antenesse 2f96084b4a Various fixes/notes for server compatibility 2019-07-11 10:30:12 -06:00
Robbie Antenesse 4fc8cec5e3 Don't consider theme when checking if default 2019-07-11 10:30:12 -06:00
Robbie Antenesse 85ab5e2b96 Remove unneeded console logs and code 2019-07-11 10:30:11 -06:00
Robbie Antenesse a3b9a0a934 Confirm migration if imported from http 2019-07-11 10:30:10 -06:00
Robbie Antenesse acb94637c5 Migrate stored dictionary to https if loading http 2019-07-11 10:30:09 -06:00
Robbie Antenesse ca7d219a96 Improve ad shuffling 2019-07-11 10:30:09 -06:00
Robbie Antenesse 352e6d3fc0 Dismiss announcements with cookies that expire 2019-07-11 10:30:09 -06:00
Robbie Antenesse 3a61d4ccc6 Enable permanently dismissing announcements 2019-07-11 10:30:08 -06:00
Robbie Antenesse 8d132f1919 Add fade out for messages; Remove unused utility 2019-07-11 10:30:08 -06:00
Robbie Antenesse 2c4c281850 Update migrateDictionary to account for changes 2019-07-11 10:30:07 -06:00
Robbie Antenesse ec42aa3778 Correctly show/hide publicLinkDisplay after changing dictionaries 2019-07-11 10:30:07 -06:00
Robbie Antenesse 546c82996e Don't upload dictionaries have not been edited 2019-07-11 10:30:07 -06:00
Robbie Antenesse d9f8390672 Put homonymn number on public dictionary entries 2019-07-11 10:30:06 -06:00
Robbie Antenesse 9fe0da58db Sort words in public view correctly 2019-07-11 10:30:04 -06:00
Robbie Antenesse b8ca61d3fe Always show IPA table button in pronunciation fields 2019-07-11 10:30:04 -06:00
Robbie Antenesse 57ca675f7a Only split out html/md files;Fix page load problem 2019-07-11 10:30:04 -06:00
Robbie Antenesse c0909343f6 Shrink view js by splitting out only what is needed 2019-07-11 10:30:04 -06:00
Robbie Antenesse cbcc7ecfd4 Add UpUp for offline mode; Update Readme for UpUp 2019-07-11 10:30:03 -06:00
Robbie Antenesse 64903fc544 Fix settings not existing before being used 2019-07-11 10:30:03 -06:00
Robbie Antenesse 8c39d05c13 Finish up password reset 2019-07-11 10:30:02 -06:00
Robbie Antenesse 3c75fae3a8 Add simple text ads shuffled into words 2019-07-11 10:30:00 -06:00
Robbie Antenesse 8ed216cb7a Downgrade parcel-bundler to 1.9.7; minor fixes
Newer versions incorrectly link html files:
https://github.com/parcel-bundler/parcel/issues/2791
2019-07-11 10:29:59 -06:00
Robbie Antenesse 3d3a69c65f Process main.scss in html so parcel shares the output 2019-07-11 10:29:59 -06:00
Robbie Antenesse 3340c96507 Start writing password reset 2019-07-11 10:29:58 -06:00
Robbie Antenesse 5dcccaba59 Make view.html use dictionary theme 2019-07-11 10:29:58 -06:00
Robbie Antenesse 278b0b61d3 Tie theme to dictionary instead of settings 2019-07-11 10:29:58 -06:00
Robbie Antenesse f2105465df Fix typo in Sync preventing publicLink from being set 2019-07-11 10:29:57 -06:00
Robbie Antenesse 06bac52c36 Enable changing themes 2019-07-11 10:29:54 -06:00
Robbie Antenesse 918dad1ad8 Show/remove share link if turning off Make Public 2019-07-11 10:29:53 -06:00
Robbie Antenesse a1d8059068 Fix IPA field help rendering; Use arrows in usage.html 2019-07-11 10:29:53 -06:00
Robbie Antenesse ce143be3f5 Add prominent share links if logged in or viewing 2019-07-11 10:29:53 -06:00
Robbie Antenesse e9cf9653be Parse references on backend for view 2019-07-11 10:29:52 -06:00
Robbie Antenesse 19e41958a4 Make parseReferences() parse its own references 2019-07-11 10:29:52 -06:00
Robbie Antenesse 63b1f20d58 Fix login error message 2019-07-11 10:29:51 -06:00
Robbie Antenesse 08cadfb121 Prevent rendering reference if specified does not exist 2019-07-11 10:29:51 -06:00
Robbie Antenesse 4a1dd7aae4 Add share links to words (word view not added yet) 2019-07-11 10:29:51 -06:00
Robbie Antenesse b59c4702b2 Use domain + pathname for public links instead of href 2019-07-11 10:29:51 -06:00
Robbie Antenesse 520ede111b Auto-number homonymns; enable referencing specific homonymns 2019-07-11 10:29:50 -06:00
Robbie Antenesse eadc13e04b Make sure publicLink is populated even when nonexistent 2019-07-11 10:29:50 -06:00
Robbie Antenesse 910e025997 Make public link visible when public; copy on click 2019-07-11 10:29:47 -06:00
Robbie Antenesse 4ad86e31fa Fix updateCurrentChangeDictionaryOption() selector 2019-05-28 00:17:23 -06:00
Robbie Antenesse 6154510af6 Load and render public dictionary correctly 2019-05-28 00:12:17 -06:00
Robbie Antenesse d1b123317f Start non-invasive work on public viewing 2019-05-24 18:50:31 -06:00
Robbie Antenesse 2d77fa667c Animate message close buttons to show they will auto-close 2019-05-24 18:02:04 -06:00
Robbie Antenesse f0be285b3e Enable login when pressing enter on fields 2019-05-24 16:38:08 -06:00
Robbie Antenesse b69af6c4f6 Add check/uncheck button to search filters 2019-05-24 16:11:19 -06:00
Robbie Antenesse 6b46eaa148 Only render MakePublic if logged in 2019-05-24 15:37:15 -06:00
Robbie Antenesse b1140eebb7 Remove isComplete option, always default to false 2019-05-24 15:09:57 -06:00
Robbie Antenesse 3667ee4345 Make IPA Table button move cursor to end of field 2019-05-24 14:58:20 -06:00
Robbie Antenesse 769b755cd3 Make words re-sort when changing sortByDefinition 2019-05-24 14:01:48 -06:00
Robbie Antenesse d228d1194a Make some messages appear longer/permanently 2019-05-24 11:45:08 -06:00
Robbie Antenesse d3ef16b947 Correctly sync dictionary on login and create account 2019-05-24 11:34:11 -06:00
Robbie Antenesse 33e9193abb Add delete dictionary from server with switching 2019-05-24 10:53:51 -06:00
Robbie Antenesse cf796a1043 Move hideAllModals() from hotkeys to utilities 2019-05-24 10:53:50 -06:00
Robbie Antenesse d665f861a2 Allow changing password from account settings 2019-05-24 10:53:50 -06:00
Robbie Antenesse c8a01d854a Allow whitespace in passwords 2019-05-24 10:53:50 -06:00
Robbie Antenesse 941ba76ac8 Allow updating account info 2019-05-24 10:53:50 -06:00
Robbie Antenesse 63a0493586 Add Create New Dictionary button in account actions 2019-05-24 10:53:49 -06:00
Robbie Antenesse fe0676f063 Split account settings into settings and actions 2019-05-24 10:53:49 -06:00
Robbie Antenesse 24a5baa545 Set up change dictionary 2019-05-24 10:53:48 -06:00
Robbie Antenesse f8b9503960 Validate token if one exists; Save account data 2019-05-24 10:53:41 -06:00
Robbie Antenesse e2c3709ab8 Add color to error messages shown from addMessage() 2019-05-23 16:08:07 -06:00
Robbie Antenesse 7c3724f22e Delete words from server if logged in 2019-05-23 16:08:07 -06:00
Robbie Antenesse f6a6a8cc0b Add lastUpdated and createdOn if missing on import/migrate 2019-05-23 16:07:59 -06:00
Robbie Antenesse 569a0b9fc5 Choose when saveDictionary() updates lastUpdated 2019-05-23 14:27:38 -06:00
Robbie Antenesse c5bdfa5450 Change externalId to externalID for backwards compatibility 2019-05-23 14:20:54 -06:00
Robbie Antenesse bf30f108fa Move saveToken() to account/utilities.js 2019-05-23 13:16:51 -06:00