Commit Graph

78 Commits

Author SHA1 Message Date
Robbie Antenesse d6e9741736 Focus into the edit form when created. 2016-07-11 15:39:31 -06:00
Robbie Antenesse 0a5eb01423 Fixed using ctrl+enter to submit edits to words not working.
Removed hotkey for export.
2016-07-11 15:12:28 -06:00
Robbie Antenesse ca97409b44 Save scroll before applying word edit so it doesn't take you to the top after editing. 2016-07-10 22:53:46 -06:00
Robbie Antenesse ee3f5cd8ea Fixed markdown rendering that I accidentally broke. 2016-07-06 17:10:29 -06:00
Robbie Antenesse 585eb29193 Prevent HTML from being rendered in entries. 2016-07-06 15:17:50 -06:00
Robbie Antenesse d163c998af Change references to "Equivalent Word" in the word form to "Definition" for clarity. 2016-06-29 13:27:14 -06:00
Robbie Antenesse 563ee8bd14 Point IPA character picker to original source instead of a copy. 2016-06-29 10:40:10 -06:00
Robbie Antenesse 4ac000db09 Add a dictionary share link for easier sharing of public dictionaries. 2016-06-22 12:43:39 -06:00
Robbie Antenesse f2b9d01d3b Fixed some styling for the edit form. 2016-06-22 08:26:54 -06:00
Robbie Antenesse da56c43e33 Improved export so data is wrapped in quotes and made import process more clear. 2016-06-21 17:42:01 -06:00
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 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 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 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 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 06281fccac Catch export error if dictionary has no words. 2016-03-11 12:29:39 -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 0df7281c94 Update Sorting - sort by name then part of speech. 2016-03-02 10:59:14 -07:00
Robbie Antenesse ab61fdcfb8 Made searching for most punctuation work and highlight correctly. 2016-02-27 10:10:11 -07:00
Robbie Antenesse 3bb9bab9a8 Organized functions more logically. 2016-02-26 17:18:29 -07:00
Robbie Antenesse 7cf5eeb252 Word Entry Form can now be unlocked and scroll next to the dictionary. 2016-02-24 12:50:30 -07:00
Robbie Antenesse 9ec5ca325f Added word count for searching/filtering. 2016-01-18 12:14:36 -07:00
Robbie Antenesse 8a48798e84 Make public settings only visible to logged in users,
Reset new user dictionaries to not public if uploading for the first time,
Updated README, TERMS, and PRIVACY to include info about public dictionaries.
2015-12-22 11:23:35 -07:00
Robbie Antenesse b98f1750d9 Added Public View option! 2015-12-21 17:52:56 -07:00
Robbie Antenesse 00e522849a Fixed removing backslashes. 2015-12-21 14:34:37 -07:00
Robbie Antenesse 14f9942647 Disable word entry when confirming edit.
Added separate "announcement" apart from notifications.
Added explanation for "Allow Emails".
Updated ReadMe.
2015-12-16 18:13:45 -07:00
Robbie Antenesse 7b7c0e9543 Merge branch 'prod' into php for Search Overhaul changes.
Conflicts:
	index.php
	js/dictionaryBuilder.js
	js/removeDiacritics.js
2015-12-02 16:39:04 -07:00
Robbie Antenesse dcecb90b62 Search function overhaul: now search by case sensitive and regardless of diacritics!
Changed markdown parser to allow Github-Flavored Markdown.
2015-12-02 16:03:23 -07:00
Robbie Antenesse bf38b762fa Fixed broken dictionary deletion switching. 2015-12-02 09:47:17 -07:00
Robbie Antenesse a7fe6c2432 Added some helpers for the lockout function and a script for removing diacritics for the export file name. 2015-12-01 17:24:43 -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 adbc60b2d8 Minor changes, removed line breaks after h# tags. 2015-11-30 22:55:05 -07:00
Robbie Antenesse 98e138b8f6 Change to new markdown parser to allow tables. 2015-11-30 18:31:40 -07:00
Robbie Antenesse e8c31a86d5 Forced imports to always create a new dictionary. 2015-11-30 16:28:21 -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 6e88e55e12 Merge branch 'prod' into php
Conflicts:
	.gitignore
	index.php
	js/dictionaryBuilder.js
2015-11-25 10:37:03 -07:00
Robbie Antenesse d3f296e560 Fixed sorting 2015-11-10 16:11:10 -07:00
Robbie Antenesse 92b047893d Fixed some apostrophe problems. 2015-11-10 14:51:36 -07:00