Commit graph

95 commits

Author SHA1 Message Date
Nils Norman Haukås
c89b4be860 Pretty print the saved json file. 2016-03-19 08:30:29 +01:00
Nils Norman Haukås
5bd4b2e2c6 added a download button and a file save service. Is now able to download tags for a tagged page. 2016-03-18 19:58:16 +01:00
Nils Norman Haukås
417e840d13 This closes #12, closes #10. Added normalize() when removing tags by clicking the x button 2016-03-18 17:35:09 +01:00
Nils Norman Haukås
8004eea37d Switched out the backend server url. Also ensured that the backendservice won't make the same query twice which is a challenge with people double clicking to select a word. 2016-02-20 12:51:23 +01:00
Nils
6c1a8891e3 Update README.md 2016-01-31 15:42:09 +01:00
Nils
9f3d721e22 Update README.md 2016-01-31 15:18:57 +01:00
Nils
4f73adab4d Update README.md 2016-01-31 15:05:38 +01:00
Nils
deb5067df6 Update README.md 2016-01-31 14:59:54 +01:00
Nils Norman Haukås
2ee0889c09 Refactored. Fixed bugs regarding tagging and readding tags. Added more comments. 2016-01-31 14:09:18 +01:00
Nils Norman Haukås
6dcbdcb699 A little more progress in saving reloading 2016-01-25 21:53:08 +01:00
Nils Norman Haukås
7b51d4b6ce is able to add and remove tags but still some bugs with regards to restarting the application 2016-01-25 21:46:33 +01:00
Nils Norman Haukås
94fa527530 successfully attached listener to frameset frames 2016-01-25 19:39:46 +01:00
Nils Norman Haukås
15c31f6de6 In the middle of refactoring webpage.service. Project is finally building properly. Will need to figure out how to listen to the frameset. 2016-01-25 19:18:52 +01:00
Nils Norman Haukås
3d8c875799 started work on listening to multiple iframes. 2016-01-24 21:08:26 +01:00
Nils Norman Haukås
5a9e841f37 is now able to insert the menu on pages that use framesets. 2016-01-24 20:06:42 +01:00
Nils Norman Haukås
1125b70500 Added better handling of failed tag deserializations. It will no longer block plugin loading. 2016-01-24 16:12:11 +01:00
Nils Norman Haukås
2eef3ae620 no longer removing top level style scripts. Bumped manifest version number. 2016-01-24 15:57:16 +01:00
Nils Norman Haukås
8aea12e76a Move angular declaration inside init method to avoid calling angular before its ready 2016-01-24 15:30:08 +01:00
Nils Norman Haukås
d24aeb831d bumped version number 2016-01-20 22:38:39 +01:00
Nils Norman Haukås
58a5ed2b45 Bugfix: Now correctly joining several words before querying the backend. It will only query the backend if its either one or two words. 2016-01-20 22:36:33 +01:00
Nils Norman Haukås
d26a1572a6 tweaked css. Added a possibility of resetting the tags for a given page. 2016-01-19 21:14:38 +01:00
Nils Norman Haukås
53b856c2a3 removed unused html file. Removed close button from menu. 2016-01-18 18:29:07 +01:00
Nils Norman Haukås
c4558dfac0 resolved some styling issues. Plugin seem to handle being inserted into possibly hostile css environments much better. 2016-01-17 21:50:02 +01:00
Nils Norman Haukås
1fb288f583 Reimplemented and refactored how the main page is captured. Now using iframe to capture the main page and listening to changes and tagging inside. 2016-01-17 21:12:11 +01:00
Nils Norman Haukås
923d7af843 removed close button on right menu. Tweaked css. 2016-01-16 18:10:11 +01:00
Nils Norman Haukås
c76cafa6cc Removed unused code 2016-01-10 20:16:26 +01:00
Nils Norman Haukås
02707d0d04 No longer using popup.html. Clicking the plugin button will now toggle the menu directly. 2016-01-10 20:15:34 +01:00
Nils Norman Haukås
6fea94eb03 removed frame from iframe 2015-12-07 21:19:36 +01:00
Nils Norman Haukås
26544f9b39 was able to add iframe to page in chrome and initialize it properly. 2015-12-07 21:11:03 +01:00
Nils Norman Haukås
b1b158ad58 added css to the inner iframe menu 2015-12-06 20:15:01 +01:00
Nils Norman Haukås
12058662de is now back at the point where the plugin is able to add and remove tags from the page. 2015-12-06 19:58:23 +01:00
Nils Norman Haukås
07d7fa76ba Now makes use of an iframe that loads the angular plugin which in turn hooks up to the parent dom. 2015-12-06 16:29:29 +01:00
Nils Norman Haukås
abb667aa7f removed gulp-file-include refactored dist task 2015-12-06 15:40:22 +01:00
Nils Norman Haukås
0c36aa90c0 refactored code a little bit. Fixed gulp serve for firefox. 2015-12-06 14:34:24 +01:00
Nils Norman Haukås
af34537c5b bugfix 2015-11-30 22:50:40 +01:00
Nils Norman Haukås
f8a7234200 Some refactoring done. Now including the text that was tagged. 2015-11-30 22:44:04 +01:00
Nils Norman Haukås
5859b7ba1a code is now able to add and remove tags properly 2015-11-30 22:23:19 +01:00
Nils Norman Haukås
a69d801aaf Fix: updating savedSelection removes previous rangy marker. Is now able to tag multiple tags. But need to figure out how to add them all back to the page in the right places. As soon as one starts adding new content to the html it throws of the addition of the other tags. 2015-11-29 20:26:20 +01:00
Nils Norman Haukås
d5d3518b5b Still working on saving and restoring tags based on going back to a clean slate. Still need to figure out a good way to restore tags. It's seems that after adding the first tag the document will get confused about where to place the other tags. 2015-11-29 19:41:20 +01:00
Nils Norman Haukås
e8c5d00f80 On to solving the tag persitence issue. 2015-11-29 16:25:58 +01:00
Nils Norman Haukås
ff4b796eae Revert "in the middle of switching to rangy highlighter for better persisting of highlights."
This reverts commit 68b90f893c.
2015-11-29 12:17:25 +01:00
Nils Norman Haukås
68b90f893c in the middle of switching to rangy highlighter for better persisting of highlights. 2015-11-22 20:54:56 +01:00
Nils Norman Haukås
65bea649f4 added better error handling to rangy.js 2015-11-22 18:05:52 +01:00
Nils Norman Haukås
7ba53dd6bf added uuid generation so that tags can be truly unique. Application now supports deleting tags from page. 2015-11-22 18:00:25 +01:00
Nils Norman Haukås
aad8eefdee is able to add button for removing tag. 2015-11-21 22:27:57 +01:00
Nils Norman Haukås
40eaa0e86a is now able to serialize and deserialize selections if the document does not change too much. Furthermore app is now capable of persisting tags between refreshes 2015-11-15 01:02:22 +01:00
Nils Norman Haukås
91bf13cd47 just added Rangy lib. Is now able to save and load tags but need to fix serialization/dezerialization of the selection. 2015-11-14 23:07:26 +01:00
Nils Norman Haukås
12327c5c27 added ngStorage for client side saving and loading 2015-11-14 20:24:26 +01:00
Nils Norman Haukås
bad3c2e2e3 externalized configuration into index.appConfig file 2015-11-14 20:14:10 +01:00
Nils Norman Haukås
6f05e601b7 delete surplus files. Fix gulp serve setup for local web testing. 2015-11-14 19:38:34 +01:00