Commit Graph

142 Commits

Author SHA1 Message Date
Robbie Antenesse f7031ab579 Prevent accidental changes to a dictionary if the dictionary displayed on the screen is not the "current_dictionary".
This would only happen if you had Lexiconga open in two windows/tabs and changed your dictionary in one window/tab without refreshing the other, then making edits to the un-refreshed window/tab. Now it also sends which dictionary to change and makes sure that dictionary is in the user's session dictionaries list so it updates the correct dictionary's words.
2016-06-21 13:40:20 -06:00
Robbie Antenesse 6341948f45 Added export words, cleaned up looks a bit 2016-06-21 12:58:13 -06:00
Robbie Antenesse 3902ba96ba Got public word pages working! Added link to public words from editing dictionary.
Separated some templating functions so styling will be easier moving forward.
2016-06-20 17:13:51 -06:00
Robbie Antenesse fca5fb2704 Started working on making a single word display page, but there's still a lot of work that needs to be done (maybe just load full dictionary with 1 word to simplify?).
Made references to files look in root instead of local directory.
2016-06-19 22:58:27 -06:00
Robbie Antenesse 3512d55d97 Add short links to Issues and Updates. 2016-06-16 13:41:14 -06:00
Robbie Antenesse 9f07b0f57a Got words and dictionaries saving properly again, make uploads add only new words to db, make dictionary last_updated column when when adding words, add last_login column to users table. 2016-06-16 13:22:13 -06:00
Robbie Antenesse 6370de1651 Words delete correctly and update the dictionary's next_word_id when new words are added. 2016-06-15 17:48:52 -06:00
Robbie Antenesse ed8eec71cc Got word updates working, need to fix new/edit word forms. 2016-06-14 22:21:05 -07:00
Robbie Antenesse 8109bdac69 Saving and loading words from words table now works. Need to make words delete when dictionary is deleted. 2016-06-14 18:16:41 -06:00
Robbie Antenesse 7e9c14a7c2 Updated database to store and read current dictionary in `users` table. 2016-06-13 21:26:05 -07:00
Robbie Antenesse d6ab5e62ce Got the "removeChild" error to go away by doing this. 2016-06-12 08:20:17 -07:00
Robbie Antenesse 9deb9087e6 Added filtering by blank part of speech, fixed part of speech dropdown for edits, added import template CSV to download, updated import test to test blank part of speech. 2016-06-10 11:35:57 -07:00
Robbie Antenesse 368fc8cd20 Got the importer working and did some tests. 2016-06-09 22:27:41 -07:00
Robbie Antenesse f4f9f85a30 Trying to add PapaParse for importing CSV files of words, but for some reason it's not recognizing the Papa object. 2016-06-08 13:55:07 -06:00
Robbie Antenesse f48ca733f9 Moved colors back to the originals but kept the shadows and sharp edges. 2016-06-08 13:53:22 -06:00
Robbie Antenesse b5da178b79 Subdued the colors a bit. 2016-06-07 20:31:52 -06:00
Robbie Antenesse 0b6169a1e5 Big, bright new styling! 2016-06-07 18:20:16 -06:00
Robbie Antenesse dec8be6dff Edit words in their dictionary position instead of jumping to word form. It's janky, but it works. 2016-06-07 11:44:36 -06:00
Robbie Antenesse d3abf62c3b Move the view page into the main index.php. Prepare for viewing individual words. 2016-06-06 17:41:02 -06:00
Robbie Antenesse 29ab0616f1 Also update the public view filter because that's important. 2016-05-26 18:26:35 -06:00
Robbie Antenesse 2a9fecae89 Updated word filtering to allow as many parts of speech as the user wants. 2016-05-26 18:00:03 -06:00
Robbie Antenesse bdf9327fa3 Don't auto-focus if word form isn't unlocked (it's annoying on mobile) 2016-03-18 10:12:06 -06:00
Robbie Antenesse 36150e4c76 Merge branch 'next' into prod 2016-03-17 12:49:25 -06:00
Robbie Antenesse 342d2fd7ec Fixed broken view page:
Removed get_include_contents() from /view/index.php because it was moved to /php/helpers.php.
Added necessary helpers.js script reference.
2016-03-17 12:48:01 -06:00
Robbie Antenesse 85b26e6619 Merge branch 'next' into prod 2016-03-17 12:39:47 -06:00
Robbie Antenesse e94711a406 Removed get_include_contents() from /view/index.php because it was moved to /php/helpers.php 2016-03-17 12:39:07 -06:00
Robbie Antenesse d6749db60f Merge branch 'next' into prod 2016-03-17 11:47:51 -06:00
Robbie Antenesse 6e5ecb034d Updated ReadMe, returned credits to borrowed libraries, added newlines to minified files. 2016-03-17 11:47:15 -06:00
Robbie Antenesse a73c9a22b8 Updated ReadMe, returned credits to borrowed libraries, added newlines to minified files. 2016-03-17 11:45:37 -06:00
Robbie Antenesse b9f124d7a8 Added info about Keyboard Shortcuts, reorganized README file. 2016-03-11 13:53:28 -07:00
Robbie Antenesse cc778f690e Update minified files. 2016-03-11 12:42:12 -07:00
Robbie Antenesse 06281fccac Catch export error if dictionary has no words. 2016-03-11 12:29:39 -07:00
Robbie Antenesse d7f1f2f1be Added keyboard shortcuts! 2016-03-11 12:25:12 -07:00
Robbie Antenesse 9d9bba79d5 Isolate generic functions into their own helper file. 2016-03-11 09:54:25 -07:00
Robbie Antenesse edadb37a6b Fixed focus after word update. 2016-03-11 08:14:13 -07:00
Robbie Antenesse 06f5fe58c4 Got ctrl+enter to submit a word from the Word Form. Just need to resolve some focus issues after editing. 2016-03-11 08:06:20 -07:00
Robbie Antenesse 20899eaa80 Added link to updates (releases) page. 2016-03-10 14:40:15 -07:00
Robbie Antenesse 956255bc00 Altered public view link to be tinier.
Made links global ("/" instead of "./")
2016-03-09 13:23:18 -07:00
Robbie Antenesse b887e1309b Moved, minified, and renamed defiantJS 2016-03-02 11:18:52 -07:00
Robbie Antenesse 24917e7ff2 Include minified versions of scripts for the server 2016-03-02 11:13:19 -07:00
Robbie Antenesse 0df7281c94 Update Sorting - sort by name then part of speech. 2016-03-02 10:59:14 -07:00
Robbie Antenesse 5acca6f283 Added Meta Tags for sharing public dictionaries on social media. 2016-02-29 15:39:08 -07:00
Robbie Antenesse d5a2596884 Fix Saving Allow Duplicates setting. 2016-02-29 14:43:41 -07:00
Robbie Antenesse 39c095b023 Scroll Settings Save Buttons with the screen for larger screens.
Moved mobile CSS to bottom of file.
2016-02-27 12:58:10 -07:00
Robbie Antenesse b0d45e226c Fixed public dictionary search 2016-02-27 11:00:48 -07:00
Robbie Antenesse 487c98203d Updated README to describe fullscreen textbox. 2016-02-27 10:33:49 -07:00
Robbie Antenesse ab61fdcfb8 Made searching for most punctuation work and highlight correctly. 2016-02-27 10:10:11 -07:00
Robbie Antenesse 989b67f923 Allow Fullscreen Textarea for Word Long Description and Dictionary Description. 2016-02-27 08:54:13 -07:00
Robbie Antenesse 5cb27c874b Started working on setting the cursor position in the fullscreen textbox (INCOMPLETE!) 2016-02-26 18:13:52 -07:00
Robbie Antenesse 03aeeb4a8c Add functionality for fullscreen textbox for dictionary description 2016-02-26 18:01:05 -07:00