Commit Graph

214 Commits

Author SHA1 Message Date
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 2d93a51236 Update README.md to be helpful 2019-05-21 19:42:38 -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 90bdd804fe Fix watch-php script needing quotes 2019-05-17 12:22:11 -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 9a12f560c2 Make parcel generate relative path for scripts in dev 2019-05-14 15:00:31 -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 b1516021bd Add the worst possible README 2019-05-13 15:02:36 -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