Commit Graph

414 Commits

Author SHA1 Message Date
Robbie Antenesse 102877aefa Change user dates to datetime format 2019-07-11 10:45:11 -06:00
Robbie Antenesse b476b69bb4 Update migrateDictionary to account for changes 2019-07-11 10:45:11 -06:00
Robbie Antenesse e6b973165a Correctly show/hide publicLinkDisplay after changing dictionaries 2019-07-11 10:45:11 -06:00
Robbie Antenesse 769c6f0f15 Don't upload dictionaries have not been edited 2019-07-11 10:45:10 -06:00
Robbie Antenesse 74642dcc0a Put homonymn number on public dictionary entries 2019-07-11 10:45:10 -06:00
Robbie Antenesse 3553530e6e Automate UpUp asset reference via router.php 2019-07-11 10:45:10 -06:00
Robbie Antenesse e755026267 Style announcements 2019-07-11 10:45:10 -06:00
Robbie Antenesse 90464fd15c Move index to template-index.html; Use router to render index
Makes it possible to render announcements more easily
2019-07-11 10:45:10 -06:00
Robbie Antenesse 1b6247f457 Move router.php to root; use realpath for file refs 2019-07-11 10:45:09 -06:00
Robbie Antenesse 9d793c6c7d Sort words in public view correctly 2019-07-11 10:45:09 -06:00
Robbie Antenesse 9743e934d3 Always show IPA table button in pronunciation fields 2019-07-11 10:45:09 -06:00
Robbie Antenesse 87b7bbff89 Only split out html/md files;Fix page load problem 2019-07-11 10:45:09 -06:00
Robbie Antenesse 46b579d73f Shrink view js by splitting out only what is needed 2019-07-11 10:45:08 -06:00
Robbie Antenesse 9ade94562c Add UpUp for offline mode; Update Readme for UpUp 2019-07-11 10:45:08 -06:00
Robbie Antenesse 8b63808d2c Fix settings not existing before being used 2019-07-11 10:45:08 -06:00
Robbie Antenesse 6f320b39b1 Update Terms and Privacy 2019-07-11 10:45:08 -06:00
Robbie Antenesse 239c66b616 Fully update Help file 2019-07-11 10:45:07 -06:00
Robbie Antenesse 8a80412cd6 Finish up password reset 2019-07-11 10:45:07 -06:00
Robbie Antenesse 11db09b44d Rename view.html for the router to template-view.html 2019-07-11 10:45:07 -06:00
Robbie Antenesse c0fe25007d Make sure php files can be used anywhere 2019-07-11 10:45:07 -06:00
Robbie Antenesse 457a6c6798 Transition all style changes with a fade 2019-07-11 10:45:07 -06:00
Robbie Antenesse e717480d18 Add simple text ads shuffled into words 2019-07-11 10:45:06 -06:00
Robbie Antenesse ab02aea88f Add logo and favicon; style logo for each theme 2019-07-11 10:45:06 -06:00
Robbie Antenesse 874d2ff3c2 Fix header#top suddenly having a margin 2019-07-11 10:45:05 -06:00
Robbie Antenesse a47f38caa0 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:45:05 -06:00
Robbie Antenesse f3f4d18c48 Process main.scss in html so parcel shares the output 2019-07-11 10:45:05 -06:00
Robbie Antenesse 0f23454473 Start writing password reset 2019-07-11 10:45:05 -06:00
Robbie Antenesse 8d2ee80c26 Make view.html use dictionary theme 2019-07-11 10:45:05 -06:00
Robbie Antenesse 601cfc64bd Tie theme to dictionary instead of settings 2019-07-11 10:45:04 -06:00
Robbie Antenesse 5c5309a9a5 Replace leftover isComplete with theme 2019-07-11 10:45:04 -06:00
Robbie Antenesse d96817b485 Fix typo in Sync preventing publicLink from being set 2019-07-11 10:45:04 -06:00
Robbie Antenesse 3c5d19f0c6 Create Red theme 2019-07-11 10:45:04 -06:00
Robbie Antenesse 861bff60b4 Fix Royal link color 2019-07-11 10:45:04 -06:00
Robbie Antenesse e1ba94c3c7 Create Yellow theme 2019-07-11 10:45:03 -06:00
Robbie Antenesse acdde8da81 Add themes to stylesheet 2019-07-11 10:45:03 -06:00
Robbie Antenesse 737dd169a1 Create Royal theme 2019-07-11 10:45:03 -06:00
Robbie Antenesse 09914440be Create Mint and Grape themes 2019-07-11 10:45:03 -06:00
Robbie Antenesse 1528503c52 Create Green theme 2019-07-11 10:45:03 -06:00
Robbie Antenesse 3117637c59 Create Blue theme 2019-07-11 10:45:03 -06:00
Robbie Antenesse 3e1465b905 Create Light theme 2019-07-11 10:45:03 -06:00
Robbie Antenesse 32ad87d661 Create Dark theme 2019-07-11 10:45:02 -06:00
Robbie Antenesse 1b0c6da3e4 Update border around inputs 2019-07-11 10:45:02 -06:00
Robbie Antenesse ba5baf8dd9 Remove non-color styling from theme; Button styling fixes 2019-07-11 10:45:02 -06:00
Robbie Antenesse 251ad12407 Make the default theme use Lexiconga colors! 2019-07-11 10:45:02 -06:00
Robbie Antenesse dcee87e978 Enable changing themes 2019-07-11 10:45:02 -06:00
Robbie Antenesse 35ccf7bf2a Split all colors into a _defaultTheme.scss 2019-07-11 10:45:02 -06:00
Robbie Antenesse 2b4fd70b85 Update footer styling 2019-07-11 10:45:01 -06:00
Robbie Antenesse db021647bd Show/remove share link if turning off Make Public 2019-07-11 10:45:01 -06:00
Robbie Antenesse 596efff70d Fix IPA field help rendering; Use arrows in usage.html 2019-07-11 10:45:01 -06:00
Robbie Antenesse 04f70e4bfa Add prominent share links if logged in or viewing 2019-07-11 10:45:01 -06:00
Robbie Antenesse 4de8b572c3 Parse references on backend for view 2019-07-11 10:45:01 -06:00
Robbie Antenesse 601841c754 Correctly link public word references 2019-07-11 10:45:00 -06:00
Robbie Antenesse b9cfce5a05 Add public word view 2019-07-11 10:45:00 -06:00
Robbie Antenesse b7bdd8d7e0 Make parseReferences() parse its own references 2019-07-11 10:45:00 -06:00
Robbie Antenesse 6292a73717 Add failed login lockout 2019-07-11 10:45:00 -06:00
Robbie Antenesse 5ee6e9078e Fix login error message 2019-07-11 10:45:00 -06:00
Robbie Antenesse 41a880068e Prevent rendering reference if specified does not exist 2019-07-11 10:45:00 -06:00
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 2eb5b4db84 Add error message if public dictionary not found 2019-07-11 10:44:59 -06:00
Robbie Antenesse 92949673bb Prevent iOS from zooming on inputs 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 389b4d9015 Update Help file to add new features 2019-07-11 10:30:22 -06:00
Robbie Antenesse 0811dbde08 Add alphabetical order to database 2019-07-11 10:30:21 -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 079288a0a8 Add translations to structure.sql 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 bc672a564a Change dictionary even if current_dictionary is selected 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 9e7e113cc2 Add some tweaks to help with upgrades 2019-07-11 10:30:13 -06:00
Robbie Antenesse 21d91a9920 Update styling for buttons and mobile 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 54c3054b25 Make #mobileWordFormShow visible in all themes 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 48239809a5 Update advertising page content 2019-07-11 10:30:11 -06:00
Robbie Antenesse 85ab5e2b96 Remove unneeded console logs and code 2019-07-11 10:30:11 -06:00
Robbie Antenesse 29eeb06ce4 Add social meta and logo 2019-07-11 10:30:11 -06:00
Robbie Antenesse d57a4a2a48 Fix accessibility & best practice issues 2019-07-11 10:30:11 -06:00
Robbie Antenesse a012baeec2 Add metadata & manifest to html; Process icons 2019-07-11 10:30:10 -06:00
Robbie Antenesse 6e24fca1bd Assorted minor fixes 2019-07-11 10:30:10 -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 b54e35be92 Update support links; Clean up html 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 66791d8dad Update ads and announcements 2019-07-11 10:30:08 -06:00
Robbie Antenesse cbd22c5ee0 Fix User->upgradePassword() missing user 2019-07-11 10:30:08 -06:00
Robbie Antenesse ea61ba24bd Write and test migration script; Update readme 2019-07-11 10:30:08 -06:00
Robbie Antenesse 0eaf289abc Change user dates to datetime format 2019-07-11 10:30:07 -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 5e4ded844e Automate UpUp asset reference via router.php 2019-07-11 10:30:06 -06:00
Robbie Antenesse 12d46c5eef Style announcements 2019-07-11 10:30:06 -06:00
Robbie Antenesse 39a5c11a11 Move index to template-index.html; Use router to render index
Makes it possible to render announcements more easily
2019-07-11 10:30:05 -06:00
Robbie Antenesse 7c5c33c54f Move router.php to root; use realpath for file refs 2019-07-11 10:30:05 -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 881cd9cb2e Update Terms and Privacy 2019-07-11 10:30:03 -06:00
Robbie Antenesse fa559afb8b Fully update Help file 2019-07-11 10:30:02 -06:00
Robbie Antenesse 8c39d05c13 Finish up password reset 2019-07-11 10:30:02 -06:00
Robbie Antenesse 9e993be503 Rename view.html for the router to template-view.html 2019-07-11 10:30:02 -06:00
Robbie Antenesse ffdd008344 Make sure php files can be used anywhere 2019-07-11 10:30:01 -06:00
Robbie Antenesse c44d4eee3e Transition all style changes with a fade 2019-07-11 10:30:01 -06:00
Robbie Antenesse 3c75fae3a8 Add simple text ads shuffled into words 2019-07-11 10:30:00 -06:00
Robbie Antenesse 5d7d0e319e Add logo and favicon; style logo for each theme 2019-07-11 10:30:00 -06:00
Robbie Antenesse 3795eceed7 Fix header#top suddenly having a margin 2019-07-11 10:29:59 -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 37689fdab1 Replace leftover isComplete with theme 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 07694cd250 Create Red theme 2019-07-11 10:29:57 -06:00
Robbie Antenesse af2b7edcfb Fix Royal link color 2019-07-11 10:29:57 -06:00