Commit Graph

14 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 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 d5a2596884 Fix Saving Allow Duplicates setting. 2016-02-29 14:43:41 -07:00
Robbie Antenesse b98f1750d9 Added Public View option! 2015-12-21 17:52:56 -07:00
Robbie Antenesse 8f446503cc Fixed Sort By Equivalent not loading from database. Changed Markdown Parser again to allow Github-Flavored Md. 2015-12-01 13:15:37 -07:00
Robbie Antenesse ade8d57281 Fixed switching dicitonaries, added deletion and addition of dictionaries, added next_word_id to dictionary, added warning for logging in with non-new dictionary.
Commented out ads/tracking, so be sure to add that before prod.
2015-11-30 16:08:43 -07:00
Robbie Antenesse 8861ca24b5 Adding and changing dictionaries. 2015-11-27 23:17:52 -07:00
Robbie Antenesse 8a025d14b5 Got everything loading and saving correctly using PDO for slightly better security.
Still need to work on creating new dictionaries and switching between them.
2015-11-25 16:08:24 -07:00
Robbie Antenesse dd3783be5c Fixed database load/save. Changed import acceptance policy/method. 2015-11-04 16:43:52 -07:00
Robbie Antenesse 898dabedb2 Lots more stuff for accounts and managing dictionaries in the database.
All this PHP stuff really needs to be in a new branch.
2015-11-04 14:12:39 -07:00