Commit Graph

320 Commits

Author SHA1 Message Date
Robbie Antenesse e68e877119 Take a stab at Content Security Policy in meta tags 2018-01-07 16:03:14 -07:00
Robbie Antenesse ca471da663 Move the backend files to /public/api 2018-01-07 16:01:40 -07:00
Robbie Antenesse 691346c4ba Test and prepare response for inserting/updating words. 2018-01-07 12:59:40 -07:00
Robbie Antenesse f2f8379f9d Change createdTime and modifiedTime to createdOn and lastModified
Also, add these values to dictionary data.
2018-01-07 12:29:30 -07:00
Robbie Antenesse 5a1384464f Fix sorting words, which I guess I broke 2018-01-07 11:38:49 -07:00
Robbie Antenesse 6646bf19d7 Add endpoints and methods for updating dictionaries + words 2018-01-06 16:53:58 -07:00
Robbie Antenesse d2336bf9c9 Add get-current-dictionary endpoint and retrieve them correctly 2018-01-06 10:51:19 -07:00
Robbie Antenesse ffca3c9fcc Add endpoints for creating and changing dictionaries. 2018-01-04 23:04:00 -07:00
Robbie Antenesse 782559fd2c Add methods for getting current dictionary 2018-01-04 23:03:24 -07:00
Robbie Antenesse 7af83732eb Validate unhashed Hashids and return only first array value 2018-01-04 23:02:39 -07:00
Robbie Antenesse 40362ad7c9 Change return values for Dictionary class methods 2018-01-04 23:02:06 -07:00
Robbie Antenesse d6724fb0df Move .htaccess to public folder 2018-01-04 22:08:42 -07:00
Robbie Antenesse cfa29660a8 Move relevant methods from User class to new Dictionary class 2018-01-04 22:08:18 -07:00
Robbie Antenesse c997dabd26 add .vscode to .gitignore 2018-01-04 22:07:24 -07:00
Robbie Antenesse b5c60c7b5c Add non-caching headers to Response class 2018-01-04 22:07:00 -07:00
Robbie Antenesse adf3e3fc18 Add get-all-dictionaries action using token 2017-12-24 15:14:34 -07:00
Robbie Antenesse e5ced20d27 Add Hashids to Token.php; catch bad token exceptions 2017-12-24 15:13:42 -07:00
Robbie Antenesse 3b4acdf1f3 Update dictionaries delete trigger to also delete linguistics rows 2017-12-24 14:23:52 -07:00
Robbie Antenesse 81f938b2c0 Fix errors with PHP classes; fix create-account 2017-12-24 14:19:42 -07:00
Robbie Antenesse 0009f671b7 Add action for create-user 2017-12-24 13:09:05 -07:00
Robbie Antenesse e96d7ab624 Add database structure 2017-12-24 12:07:34 -07:00
Robbie Antenesse 291f4f446a Start working on backend api 2017-12-24 12:00:45 -07:00
Robbie Antenesse 2022cb88e4 Fix missing GrammarDisplay reference that somehow happened 2017-12-22 12:40:40 -07:00
Robbie Antenesse 79b14bd62b Add a notification for when a search filter is being used 2017-12-22 12:35:50 -07:00
Robbie Antenesse 95629aac72 Remove console log and comment from updateDisplayedWords 2017-12-22 12:27:01 -07:00
Robbie Antenesse d93f86f75f Add clear button to search box 2017-12-22 12:19:40 -07:00
Robbie Antenesse 28a3f28fc3 Add search filter functionality! 2017-12-22 12:16:25 -07:00
Robbie Antenesse d6915ce661 Only show Additional custom tabs if they exist 2017-12-22 09:01:46 -07:00
Robbie Antenesse a05fd9c48d Add Grammar notes editing and display 2017-12-22 08:59:01 -07:00
Robbie Antenesse 526f22c329 Add letter distribution and word length stats 2017-12-17 13:48:48 -07:00
Robbie Antenesse ae50f5f970 Add number of word stats and stat section to DictionaryDetails 2017-12-16 10:14:34 -07:00
Robbie Antenesse 3b275ca765 Change when ads display in WordList 2017-12-16 10:14:04 -07:00
Robbie Antenesse 47a9c96c76 Add logic for sorting words by definition if setting is chosen 2017-12-12 11:01:00 -07:00
Robbie Antenesse 9869d29a55 Disable editing dictionary if marked complete 2017-12-12 10:59:33 -07:00
Robbie Antenesse 629bb9858b Add dictionary settings to EditDictionaryModal and data structure 2017-12-12 10:16:15 -07:00
Robbie Antenesse ab729c9d83 Handle IDManager error when no words are in dictionary 2017-12-12 08:52:46 -07:00
Robbie Antenesse 46ba6cfec1 Swap out other textareas with LargeTextArea 2017-12-11 19:05:11 -07:00
Robbie Antenesse b6789b5826 Allow PropType of array for RightColumn children 2017-12-11 18:53:22 -07:00
Robbie Antenesse 647ba8d114 Add helpText and fix onInput() in LargeTextArea 2017-12-11 18:52:47 -07:00
Robbie Antenesse d9467cfe82 Focus input field on IPATable close 2017-12-10 14:30:22 -07:00
Robbie Antenesse 0c4824e430 Don't pre-process markdown in WordDisplay
Since we are update words inline, changes in markdown are not shown unless
they are re-rendered, which class variables are not. This should hopefully
not be too big a processing power hit for large lists, but stress testing
should be performed to make sure.
2017-12-10 14:24:16 -07:00
Robbie Antenesse 0a9259ec56 Create maximizeable LargeTextArea for WordForm Details
Other places need to utilize this as well (Dictionary Details)
2017-12-10 14:13:28 -07:00
Robbie Antenesse c142f302d3 Increase default modal width to 800px 2017-12-10 14:12:23 -07:00
Robbie Antenesse c2e1f35c13 Display word form by default 2017-12-10 14:11:29 -07:00
Robbie Antenesse b9279a79e1 Import box class only for DictionaryDetails sass 2017-12-10 14:10:59 -07:00
Robbie Antenesse f866932de5 Make WordForm float in LeftColumn and closed by default
Expands RightColumn display when closed and compresses when open, unless
on mobile screen.
2017-12-09 15:07:28 -07:00
Robbie Antenesse 5934230d00 Made word form show in Modal if screen is Mobile size 2017-12-08 14:53:34 -07:00
Robbie Antenesse 20c8522399 Add some space between words 2017-12-08 13:24:50 -07:00
Robbie Antenesse 0d2ac0648e Show Update and Cancel instead of Create when editing words 2017-12-08 13:23:09 -07:00
Robbie Antenesse 43d2d48b27 Add PropTypes verifications to all components
1) to help me when I screw up and 2) to have a clearly laid out but
still useful way of knowing what props a component can accept!
2017-11-15 16:07:42 -07:00