Commit Graph

225 Commits

Author SHA1 Message Date
Robbie Antenesse e4f87c033a Add logo and favicon; style logo for each theme 2019-06-03 16:38:31 -06:00
Robbie Antenesse 5c38f2f53a Fix header#top suddenly having a margin 2019-06-03 14:36:01 -06:00
Robbie Antenesse 441dfb4d6e Downgrade parcel-bundler to 1.9.7; minor fixes
Newer versions incorrectly link html files:
https://github.com/parcel-bundler/parcel/issues/2791
2019-06-03 14:36:00 -06:00
Robbie Antenesse cf2ab82b12 Process main.scss in html so parcel shares the output 2019-06-03 11:50:39 -06:00
Robbie Antenesse f112e3b143 Start writing password reset 2019-05-31 17:24:41 -06:00
Robbie Antenesse 1735c00d53 Make view.html use dictionary theme 2019-05-31 13:15:14 -06:00
Robbie Antenesse 80996d1bf3 Tie theme to dictionary instead of settings 2019-05-31 13:11:01 -06:00
Robbie Antenesse e196ddfdd0 Replace leftover isComplete with theme 2019-05-31 13:04:49 -06:00
Robbie Antenesse afb1a08187 Fix typo in Sync preventing publicLink from being set 2019-05-31 13:03:24 -06:00
Robbie Antenesse a1c73c25b9 Create Red theme 2019-05-31 12:10:20 -06:00
Robbie Antenesse 26ead0cd69 Fix Royal link color 2019-05-31 12:05:17 -06:00
Robbie Antenesse 116cc75cd4 Create Yellow theme 2019-05-31 12:04:37 -06:00
Robbie Antenesse a6d4a77eb9 Add themes to stylesheet 2019-05-31 11:57:52 -06:00
Robbie Antenesse e65482b282 Create Royal theme 2019-05-31 11:57:43 -06:00
Robbie Antenesse 2c85c39c99 Create Mint and Grape themes 2019-05-31 11:54:57 -06:00
Robbie Antenesse 608150a6ab Create Green theme 2019-05-31 11:53:39 -06:00
Robbie Antenesse b7e1232563 Create Blue theme 2019-05-31 11:53:30 -06:00
Robbie Antenesse 39f5f30050 Create Light theme 2019-05-31 11:18:13 -06:00
Robbie Antenesse 9104e05763 Create Dark theme 2019-05-31 11:18:13 -06:00
Robbie Antenesse 21f89eb564 Update border around inputs 2019-05-31 11:18:13 -06:00
Robbie Antenesse 13e36b7d92 Remove non-color styling from theme; Button styling fixes 2019-05-31 11:18:12 -06:00
Robbie Antenesse bfeea0da55 Make the default theme use Lexiconga colors! 2019-05-30 17:06:57 -06:00
Robbie Antenesse 602a5a136f Enable changing themes 2019-05-30 17:05:59 -06:00
Robbie Antenesse ca43c05b60 Split all colors into a _defaultTheme.scss 2019-05-30 15:47:50 -06:00
Robbie Antenesse ca1bb63295 Update footer styling 2019-05-30 14:59:38 -06:00
Robbie Antenesse f545f5c786 Show/remove share link if turning off Make Public 2019-05-30 14:21:09 -06:00
Robbie Antenesse 47964bcd53 Fix IPA field help rendering; Use arrows in usage.html 2019-05-30 14:11:06 -06:00
Robbie Antenesse 7221a094bc Add prominent share links if logged in or viewing 2019-05-30 14:01:34 -06:00
Robbie Antenesse b4687cd992 Parse references on backend for view 2019-05-30 13:59:53 -06:00
Robbie Antenesse cbe1099a5c Correctly link public word references 2019-05-30 12:18:59 -06:00
Robbie Antenesse d820aa87cc Add public word view 2019-05-30 11:20:02 -06:00
Robbie Antenesse afea58de6a Make parseReferences() parse its own references 2019-05-30 11:18:16 -06:00
Robbie Antenesse b50da238ae Add failed login lockout 2019-05-29 16:50:57 -06:00
Robbie Antenesse cdc3673d84 Fix login error message 2019-05-29 16:50:56 -06:00
Robbie Antenesse cc60512859 Prevent rendering reference if specified does not exist 2019-05-29 16:50:56 -06:00
Robbie Antenesse 10e26fac60 Add share links to words (word view not added yet) 2019-05-29 16:50:56 -06:00
Robbie Antenesse 1ff4060803 Use domain + pathname for public links instead of href 2019-05-29 16:50:26 -06:00
Robbie Antenesse 55374631c7 Auto-number homonymns; enable referencing specific homonymns 2019-05-28 23:45:32 -06:00
Robbie Antenesse 8775d03576 Make sure publicLink is populated even when nonexistent 2019-05-28 23:12:51 -06:00
Robbie Antenesse 6aab9f4ea1 Add error message if public dictionary not found 2019-05-28 22:23:59 -06:00
Robbie Antenesse 538e20b8c6 Prevent iOS from zooming on inputs 2019-05-28 22:17:26 -06:00
Robbie Antenesse 568fab0ac1 Make public link visible when public; copy on click 2019-05-28 17:01:29 -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 373414d5c0 Fix dictionary not returning alphabeticalOrder;
Needs fix to include in db!
2019-05-28 00:11:38 -06:00
Robbie Antenesse e806f53076 Add original .htaccess file from Lexiconga 2019-05-27 23:51:28 -06:00
Robbie Antenesse bed665f448 Remove hashing dictionary id
Randomizing id should be enough security, plus it makes .htaccess easier
2019-05-27 23:50:26 -06:00
Robbie Antenesse 1bc75f2256 Make view.html a template for router.php to use
Also add public_name to Dictionary->getPublicDictionaryDetails()
2019-05-27 22:52:50 -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 c573ad10cd Fix settings modal styling 2019-05-24 10:53:49 -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 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