Commit Graph

209 Commits

Author SHA1 Message Date
Robbie Antenesse 59624fb0c4 Make .split columns work correctly with sub-divs 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 f0b146e5fc Remove messages from initialize; chenge when token login happens 2019-05-23 16:08:08 -06:00
Robbie Antenesse e2c3709ab8 Add color to error messages shown from addMessage() 2019-05-23 16:08:07 -06:00
Robbie Antenesse aee0f81d3c Add additional messaging to delete-words error 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
Robbie Antenesse 401779adb1 Fix variable typo in Dictionary->getDetails() 2019-05-23 12:04:29 -06:00
Robbie Antenesse f753bd66f3 Upload new, updated, and imported words/dictionaries 2019-05-23 12:03:53 -06:00
Robbie Antenesse 6a6b545979 Make uploadDetails not need a parameter 2019-05-23 11:42:44 -06:00
Robbie Antenesse af609afaca Fix log out using setCookie() 2019-05-23 11:41:49 -06:00
Robbie Antenesse b8fa80b34b Fix incorrect data pulled in phonotactics exception 2019-05-23 11:07:51 -06:00
Robbie Antenesse 53d808fe30 Split upload functions; sort words after sync 2019-05-22 20:22:57 -06:00
Robbie Antenesse 3fa0ac2a81 Sync words on load 2019-05-22 14:21:42 -06:00
Robbie Antenesse 9f80071b1c Fix updated words losing createdOn 2019-05-22 14:14:10 -06:00
Robbie Antenesse cfb4563909 Render parts of speech on edit form 2019-05-22 13:57:16 -06:00
Robbie Antenesse e2066e6168 Set up dictionary details sync 2019-05-21 18:57:29 -06:00
Robbie Antenesse 6aef828f42 Default lastUpdated to created; extra error messaging 2019-05-21 18:54:19 -06:00
Robbie Antenesse 1369fb0fdb Update returned data from Dictionary->getDetails() 2019-05-21 17:01:48 -06:00
Robbie Antenesse 62dad867e0 Add commented outline for syncing in sync.js 2019-05-21 17:01:11 -06:00
Robbie Antenesse d4d46c7afe Create new dictionary if logged in and local has no externalId 2019-05-21 16:56:11 -06:00
Robbie Antenesse 654bfab004 Upload dictionary if creating an account/not previously uploaded 2019-05-21 16:38:34 -06:00
Robbie Antenesse 33ac88dd6c Strip tags before parsing json in api request 2019-05-21 16:18:44 -06:00
Robbie Antenesse 3666acc426 Add createdOn and lastUpdated to words 2019-05-21 15:21:09 -06:00
Robbie Antenesse cbb4cd07c7 Save token to cookie when logging in 2019-05-21 12:14:00 -06:00
Robbie Antenesse 59dcdd1694 Only send user data and token on login; Hash dictionary ids 2019-05-21 11:48:28 -06:00
Robbie Antenesse c9f456edfb Fix incorrect user column; Add default empty data for text fields 2019-05-21 11:25:57 -06:00
Robbie Antenesse 0f1a7d2f09 Force local project database user/password setup 2019-05-17 12:52:20 -06:00
Robbie Antenesse 6a4d9be05a Get logging in mostly working;
Does not return user data for some reason.
2019-05-17 12:23:40 -06:00
Robbie Antenesse 502065b08a Update sql types; Add html input maxlength 2019-05-17 11:45:37 -06:00
Robbie Antenesse b6e6390dde Add debug to User; Remove phonology from new dictionary 2019-05-14 17:23:00 -06:00
Robbie Antenesse f8ae41bca6 Add create account 2019-05-14 17:22:17 -06:00
Robbie Antenesse fcfc25e114 Fix request() helper 2019-05-14 17:21:46 -06:00
Robbie Antenesse a833cfa160 Update database structure
Include empty default values
2019-05-14 17:11:23 -06:00
Robbie Antenesse a4358a7658 Use cookies for storing tokens 2019-05-14 15:49:54 -06:00
Robbie Antenesse f642519125 Copy previously-written API code from React version 2019-05-14 15:28:42 -06:00
Robbie Antenesse 8a11f4a6b1 Add MySQL structure file 2019-05-14 15:01:17 -06:00
Robbie Antenesse 04176ef92f Add composer and some things to help with dev + basics 2019-05-13 17:18:31 -06:00
Robbie Antenesse 82d9ba9eee Add import-ed account script 2019-05-13 14:02:10 -06:00
Robbie Antenesse 36cbba4156 Create Log In button in header 2019-05-13 14:01:25 -06:00
Robbie Antenesse 7cabf533cf Add delete dictionary button 2019-05-13 10:49:52 -06:00
Robbie Antenesse c76814b7ca Fix maximize modal 2019-05-13 10:49:29 -06:00
Robbie Antenesse a321ae1582 Change phonology to space separated 2019-05-10 15:52:20 -06:00
Robbie Antenesse c644593994 Add message about disabling hotkeys if not supported 2019-05-10 15:42:31 -06:00
Robbie Antenesse 335b3dbb3e Add import/export functions 2019-05-10 15:39:00 -06:00
Robbie Antenesse 3f17a19c50 Customize addWord messaging 2019-05-10 15:31:01 -06:00
Robbie Antenesse 048c964405 Clear and refocus word form after add 2019-05-10 13:23:30 -06:00
Robbie Antenesse 5d38aa4e17 Add "Use Hotkeys" to settings to enable/disable them 2019-05-10 13:18:38 -06:00
Robbie Antenesse 15bba03e1d Add hotkeys 2019-05-10 13:08:03 -06:00
Robbie Antenesse ad3141ef6e Style the settings modal a bit better 2019-05-10 10:37:46 -06:00
Robbie Antenesse d682b0060e Render correct label for IPA table modal 2019-05-10 10:13:10 -06:00
Robbie Antenesse ac8d88f082 Update simpleDefinition to definition and longDefinition to details 2019-05-10 10:08:49 -06:00
Robbie Antenesse b8702a6716 Increase column sizes 2019-05-09 15:21:21 -06:00
Robbie Antenesse f2c786d3bc Set a message if no search results 2019-05-09 15:14:46 -06:00
Robbie Antenesse f85fa5185b Shrink title font on mobile 2019-05-09 15:03:10 -06:00
Robbie Antenesse 528c799a7d Make maximized text boxes retain cursor/selection position 2019-05-09 14:48:44 -06:00
Robbie Antenesse eecdde7a0a Add messaging on saves and loading 2019-05-09 14:34:32 -06:00
Robbie Antenesse 5da39269b5 Set up settings for useIPAPronunciationField 2019-05-09 14:24:47 -06:00
Robbie Antenesse fdd12983ff Make IPA fields use KeyboardFire/phondue 2019-05-09 13:55:49 -06:00
Robbie Antenesse 2a35439c3f Add IPA table modal; update maximize modal 2019-05-09 12:47:42 -06:00
Robbie Antenesse b3a3c918dc Add floating messaging system 2019-05-08 17:13:23 -06:00
Robbie Antenesse 83ec6665e9 Fix rendering of content 2019-05-08 16:37:52 -06:00
Robbie Antenesse befa0fba95 Replace snarkdown with marked 2019-05-08 16:22:59 -06:00
Robbie Antenesse dd3a247ee3 Build migration script for original Lexiconga 2019-05-08 16:19:11 -06:00
Robbie Antenesse 6d27f40874 Add timestamp to createdOn and lastUpdated 2019-05-08 15:34:03 -06:00
Robbie Antenesse 22f8c0885a Save and load from localStorage; fix csv arrays in edit modal 2019-05-08 15:23:46 -06:00
Robbie Antenesse 29488f2ed5 Add Ignore Diacritics search option 2019-05-08 14:09:00 -06:00
Robbie Antenesse a6727bd0e4 Create settings modal structure 2019-05-08 13:01:39 -06:00
Robbie Antenesse aecac1668e Show a message when no words 2019-05-08 12:20:30 -06:00
Robbie Antenesse d90294eb22 Add info modals for help, terms, and privacy; update footer links 2019-05-08 11:59:57 -06:00
Robbie Antenesse 6691559676 Rename "style" folder to "scss" 2019-05-08 10:25:33 -06:00
Robbie Antenesse 3a29d56072 Add delete word with confirmation 2019-05-07 17:50:48 -06:00
Robbie Antenesse d737ec9944 Make mobile styling! 2019-05-07 17:34:07 -06:00
Robbie Antenesse cc70e14437 Get maximize buttons working correctly 2019-05-07 14:31:54 -06:00
Robbie Antenesse 6f649d1790 Keep already-open edit forms open on re-render 2019-05-07 12:56:21 -06:00
Robbie Antenesse 2bd8645430 Allow saving edited words 2019-05-07 11:08:58 -06:00
Robbie Antenesse 1a22fbd699 Focus search bar on open 2019-05-07 10:45:25 -06:00
Robbie Antenesse 4cad266d52 Add searching by case sensitive and exact 2019-05-07 10:41:26 -06:00
Robbie Antenesse c5c17d022e Fix function name (setupEditFormButtons -> setupWordEditFormButtons) 2019-05-07 10:22:32 -06:00
Robbie Antenesse 72041ecafb Remove pagination (keep the code) 2019-05-07 10:02:53 -06:00
Robbie Antenesse d5edcaf6a5 Improve word render speed 2019-05-07 10:02:40 -06:00
Robbie Antenesse d3c5633821 Style edit form and make cancel button re-render 2019-05-06 16:50:52 -06:00
Robbie Antenesse d178a91be3 Create pagination and random word generator utility 2019-05-06 16:28:51 -06:00
Robbie Antenesse 80e9a06235 Change "Allow Duplicates" to "Prevent Duplicates" 2019-05-06 14:30:57 -06:00
Robbie Antenesse c86dfb06b6 Start working on renderEditForm() 2019-05-06 09:08:03 -06:00
Robbie Antenesse 71ffab64ba Toggle word options list when clicking options 2019-05-05 13:09:38 -06:00
Robbie Antenesse b6d728fe8d Add search filters and search result count 2019-05-05 12:00:32 -06:00
Robbie Antenesse f5a454571b Leave a reminder about parcel's code splitting 2019-05-04 00:51:44 -06:00
Robbie Antenesse 97677244f5 Set up saving dictionary changes correctly 2019-05-04 00:21:55 -06:00
Robbie Antenesse 0ff0afcd52 Set up edit modal tabs 2019-05-03 23:58:49 -06:00
Robbie Antenesse a9de9e0fc9 Get edit modal working correctly 2019-05-03 23:20:22 -06:00
Robbie Antenesse c5e3544570 Work on edit modal
Something's wrong with scrolling, gotta fix
2019-05-03 21:52:19 -06:00
Robbie Antenesse a670abf24c Add words to dictionary with validation 2019-05-03 16:10:41 -06:00
Robbie Antenesse 88c522ea1b Set up search modal 2019-05-03 13:59:52 -06:00
Robbie Antenesse f3fd01f143 Move Search functions to search.js 2019-05-03 12:36:46 -06:00
Robbie Antenesse dbff3a122e Highlight search terms in results; add cloneObject helper 2019-05-03 12:32:49 -06:00
Robbie Antenesse 7011054487 Make renderWords filter by search term 2019-05-03 12:02:46 -06:00
Robbie Antenesse 060a78b3e4 Add text replacer to auto-reference tagged words 2019-05-03 11:46:11 -06:00
Robbie Antenesse e4369f0ffd Add render funciton fo populate parts of speech 2019-05-03 11:45:26 -06:00
Robbie Antenesse 7b54e473e4 Create renderer for when dictionary details change 2019-05-03 10:34:11 -06:00
Robbie Antenesse 0673a2378e Complete Details tab in detailsSection 2019-05-02 16:51:41 -06:00
Robbie Antenesse 5c4e8197b9 Complete stats display 2019-05-02 15:57:06 -06:00
Robbie Antenesse 5311aeea9d Start working on details panel 2019-05-02 15:45:10 -06:00
Robbie Antenesse c4b7fa4257 Finish basic styling of major components 2019-05-02 13:04:44 -06:00
Robbie Antenesse b3c3389dbd Initial commit - index blocked in 2019-05-02 10:57:56 -06:00