Compare commits
36 Commits
Author | SHA1 | Date |
---|---|---|
Alexey Skobkin | 787d5b1c37 | |
Alexey Skobkin | 58a38460f9 | |
Alexey Skobkin | 02c0594509 | |
Alexey Skobkin | 552e65520d | |
Alexey Skobkin | af6cf59fdd | |
Alexey Skobkin | 7fcbc7c039 | |
Alexey Skobkin | fe15a1633f | |
Alexey Skobkin | 07b6a8d8bf | |
Alexey Skobkin | afee3205dc | |
Alexey Skobkin | 0674268548 | |
Alexey Skobkin | be749ff31f | |
Alexey Skobkin | 207dff9e67 | |
Alexey Skobkin | b2fc048450 | |
Alexey Skobkin | a771b26952 | |
Alexey Skobkin | 2fc1134124 | |
Alexey Skobkin | 6ee91fbb25 | |
Alexey Skobkin | 072ece28cd | |
Alexey Skobkin | e7a48b467f | |
Alexey Skobkin | 0ba765e181 | |
Alexey Skobkin | 8f75c8d315 | |
Alexey Skobkin | e67eb36443 | |
Alexey Skobkin | ffef920411 | |
Alexey Skobkin | 99760d2eb7 | |
Alexey Skobkin | dc58ac8532 | |
Alexey Skobkin | f91dfc4ba7 | |
Alexey Skobkin | 75bc6636b2 | |
Alexey Skobkin | eecd3133b8 | |
Alexey Skobkin | 06682d3222 | |
Alexey Skobkin | 6c286150fa | |
Alexey Skobkin | 1df716d694 | |
Alexey Skobkin | 7715c43ba1 | |
Alexey Skobkin | 465c10137e | |
Alexey Skobkin | a3a82d6087 | |
isqua | b2d1bfdf4a | |
Alexey Skobkin | cc647700f0 | |
isqua | e865c41504 |
|
@ -1,6 +1,7 @@
|
|||
chrome_point_plus/vendor/
|
||||
/nbproject/private/
|
||||
/nbproject/
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
publish
|
||||
vendor/
|
||||
/.idea/
|
|
@ -1,5 +1,5 @@
|
|||
var vendorCopy = [
|
||||
'jquery/jquery.min.js',
|
||||
'jquery/dist/jquery.min.js',
|
||||
|
||||
'fancybox/source/jquery.fancybox.pack.js',
|
||||
'fancybox/source/helpers/jquery.fancybox-media.js',
|
||||
|
|
|
@ -55,3 +55,9 @@ npm run lint
|
|||
```
|
||||
grunt bump
|
||||
```
|
||||
|
||||
Запустить сборку расширения браузером:
|
||||
|
||||
```
|
||||
/bin/bash pack_chromium.sh /usr/bin/chromium /path/to/repository/chrome_point_plus /path/to/private/key.pem
|
||||
```
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "chrome-point-plus",
|
||||
"version": "1.36.2",
|
||||
"version": "1.42.1",
|
||||
"authors": [
|
||||
"Alexey Skobkin"
|
||||
],
|
||||
|
@ -14,7 +14,7 @@
|
|||
"chrome_point_plus/vendors/**"
|
||||
],
|
||||
"dependencies": {
|
||||
"jquery": "~1.10.1",
|
||||
"jquery": "~3",
|
||||
"fancybox": "~2.1.5",
|
||||
"markitup": "~1.1.14",
|
||||
"soundcloud": "git@github.com:soundcloud/Widget-JS-API.git"
|
||||
|
|
|
@ -50,9 +50,6 @@
|
|||
"option_fancybox_bind_images_to_one_flow": {
|
||||
"message": "Bind all images to one Fancybox gallery"
|
||||
},
|
||||
"option_fancybox_smart_hints": {
|
||||
"message": "Generate image caption from tags"
|
||||
},
|
||||
"option_images_load_original": {
|
||||
"message": "Load original images instead of thumbnails"
|
||||
},
|
||||
|
@ -116,6 +113,12 @@
|
|||
"option_ajax_comments": {
|
||||
"message": "Send comments via AJAX (CTRL+Enter)"
|
||||
},
|
||||
"option_right_panel": {
|
||||
"message": "Right side panel"
|
||||
},
|
||||
"option_right_panel_to_unread": {
|
||||
"message": "\"Go to unread comment\" button"
|
||||
},
|
||||
"option_fluid_layout": {
|
||||
"message": "Fluid layout"
|
||||
},
|
||||
|
@ -174,6 +177,12 @@
|
|||
"option_other_comments_count_refresh_title":{
|
||||
"message": "Page title"
|
||||
},
|
||||
"option_other_move_all_to_menu":{
|
||||
"message": "Move \"All posts\" to left menu"
|
||||
},
|
||||
"option_other_remove_fucking_button":{
|
||||
"message": "Remove the fucking button"
|
||||
},
|
||||
"option_other_post_draft_save":{
|
||||
"message": "Save post drafts"
|
||||
},
|
||||
|
|
|
@ -50,9 +50,6 @@
|
|||
"option_fancybox_bind_images_to_one_flow": {
|
||||
"message": "Связать все картинки в одну галерею Fancybox"
|
||||
},
|
||||
"option_fancybox_smart_hints": {
|
||||
"message": "Генерировать подписи к картинкам из тегов"
|
||||
},
|
||||
"option_images_load_original": {
|
||||
"message": "Загружать оригиналы вместо миниатюр"
|
||||
},
|
||||
|
@ -116,6 +113,12 @@
|
|||
"option_ajax_comments": {
|
||||
"message": "Отправка комментариев через AJAX (CTRL+Enter)"
|
||||
},
|
||||
"option_right_panel": {
|
||||
"message": "Боковая панель справа"
|
||||
},
|
||||
"option_right_panel_to_unread": {
|
||||
"message": "Кнопка \"Перейти к непрочитанному\""
|
||||
},
|
||||
"option_fluid_layout": {
|
||||
"message": ""Резиновая" вёрстка (растянуть сайт по горизонтали)"
|
||||
},
|
||||
|
@ -174,6 +177,12 @@
|
|||
"option_other_comments_count_refresh_title":{
|
||||
"message": "В заголовке страницы"
|
||||
},
|
||||
"option_other_move_all_to_menu":{
|
||||
"message": "Переместить \"Всё подряд\" в левое меню"
|
||||
},
|
||||
"option_other_remove_fucking_button":{
|
||||
"message": "Убрать ёбаную кнопку"
|
||||
},
|
||||
"option_other_post_draft_save":{
|
||||
"message": "Сохранение черновика поста"
|
||||
},
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
#pp-right-panel {
|
||||
width: 32px;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
right: 3px;
|
||||
opacity: .3;
|
||||
transition: opacity 500ms;
|
||||
}
|
||||
|
||||
#pp-right-panel:hover {
|
||||
opacity: 1;
|
||||
transition: opacity 500ms;
|
||||
}
|
||||
|
||||
#pp-right-panel #pp-go-to-unread {
|
||||
background-image: url("/img/menu-my.png");
|
||||
height: 32px;
|
||||
width: 32px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#pp-right-panel span#pp-unread-count {
|
||||
position: relative;
|
||||
top: 7px;
|
||||
left: 11px;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
|
@ -124,7 +124,7 @@ div#markItUpText-input {
|
|||
right: 5px;
|
||||
top: 5px;
|
||||
display: none;
|
||||
background-image: url("//point.im/img/btn-edit.png");
|
||||
background-image: url('//point.im/img/btn-edit.png');
|
||||
background-size: 100% 100%;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
|
@ -216,3 +216,44 @@ div#markItUpText-input {
|
|||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* "All" link in left menu */
|
||||
#pp-left-menu-all {
|
||||
/* Opened Lock icon from default point.im icon set */
|
||||
background-image: url('/img/icon-private-inactive.png') !important;
|
||||
}
|
||||
|
||||
/* Highlight post with new comments */
|
||||
.pp-post-unread {
|
||||
background-color: #EEFFEE;
|
||||
}
|
||||
|
||||
/* Video from direct links */
|
||||
.pp-video-player {
|
||||
display: block;
|
||||
max-width: 95%;
|
||||
}
|
||||
|
||||
/* Audio from direct links */
|
||||
.pp-audio-player {
|
||||
display: block;
|
||||
|
||||
}
|
||||
|
||||
/* Coub embedded video */
|
||||
.pp-video-player-coub {
|
||||
max-width: 640px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* New posts and comments auto refresh in left menu by @NokitaKaze */
|
||||
.pp-left-menu-refreshed {
|
||||
background-color: #f2ebee;
|
||||
color: #7c3558;
|
||||
}
|
||||
|
||||
#pp-iframe-unread-refresh {
|
||||
width: 600px;
|
||||
height: 300px;
|
||||
display: none;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Point+",
|
||||
"version": "1.36.2",
|
||||
"version": "1.42.1",
|
||||
"default_locale": "ru",
|
||||
"author": "__MSG_ext_author__",
|
||||
"homepage_url": "https://bitbucket.org/skobkin/chrome_point_plus",
|
||||
|
@ -27,7 +27,7 @@
|
|||
{
|
||||
"matches": ["http://*.point.im/*", "https://*.point.im/*"],
|
||||
"js": [
|
||||
"vendor/jquery/jquery.min.js",
|
||||
"vendor/jquery/dist/jquery.min.js",
|
||||
|
||||
"js/options-manager.js",
|
||||
"js/message-sender.js",
|
||||
|
|
|
@ -196,9 +196,9 @@ AjaxCommentProcessor.prototype.onSuccess = function(data, textStatus) {
|
|||
} else {
|
||||
if (this.isRecommendation() && this._text.trim().length === 0) {
|
||||
this.showSuccessRecommendation();
|
||||
} else {
|
||||
}/* else {
|
||||
this.createComment(data);
|
||||
}
|
||||
}*/
|
||||
this.hideForm();
|
||||
|
||||
// Cleaning textarea
|
||||
|
|
|
@ -11,10 +11,10 @@ function Booru($links, options) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Откуда тянуть картинки
|
||||
* Base URL of gelbooru picture API (@NokitaKaze)
|
||||
* @type {String}
|
||||
*/
|
||||
Booru.baseUrl = 'https://api.kanaria.ru/point/get_booru_picture.php';
|
||||
Booru.baseUrl = 'https://evidell.xyz/get_booru_picture.php';
|
||||
|
||||
/* jshint maxlen:false */
|
||||
Booru.services = {
|
||||
|
|
|
@ -40,11 +40,6 @@
|
|||
<input type="checkbox" name="option-fancybox-bind-images-to-one-flow">
|
||||
<span data-i18n="option_fancybox_bind_images_to_one_flow"></span>
|
||||
</label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-fancybox-smart-hints">
|
||||
<span data-i18n="option_fancybox_smart_hints"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<label class="option-node">
|
||||
|
@ -155,6 +150,16 @@
|
|||
</label>
|
||||
</div>
|
||||
|
||||
<div class="option-node">
|
||||
<input type="checkbox" name="option-right-panel" id="option-right-panel">
|
||||
<label for="option-right-panel" data-i18n="option_right_panel"></label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-right-panel-to-unread">
|
||||
<span data-i18n="option_right_panel_to_unread"></span>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-fluid-layout">
|
||||
<span data-i18n="option_fluid_layout"></span>
|
||||
|
@ -227,6 +232,16 @@
|
|||
<span data-i18n="option_other_comments_user_system"></span>
|
||||
</label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-other-move-all-to-menu">
|
||||
<span data-i18n="option_other_move_all_to_menu"></span>
|
||||
</label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-other-remove-fucking-button">
|
||||
<span data-i18n="option_other_remove_fucking_button"></span>
|
||||
</label>
|
||||
|
||||
<label class="option-node">
|
||||
<input type="checkbox" name="option-other-post-draft-save">
|
||||
<span data-i18n="option_other_post_draft_save"></span>
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
auxiliary.org-netbeans-modules-css-prep.less_2e_compiler_2e_options=
|
||||
auxiliary.org-netbeans-modules-css-prep.less_2e_enabled=false
|
||||
auxiliary.org-netbeans-modules-css-prep.less_2e_mappings=/less:/css
|
||||
auxiliary.org-netbeans-modules-css-prep.sass_2e_compiler_2e_options=
|
||||
auxiliary.org-netbeans-modules-css-prep.sass_2e_enabled=false
|
||||
auxiliary.org-netbeans-modules-css-prep.sass_2e_mappings=/scss:/css
|
||||
auxiliary.org-netbeans-modules-javascript2-requirejs.enabled=false
|
||||
auxiliary.org-netbeans-modules-web-clientproject-api.js_2e_libs_2e_folder=node_modules/bower/node_modules/inquirer/node_modules/rx/src/core/linq/observable
|
||||
browser.autorefresh.Chrome.INTEGRATED=true
|
||||
browser.highlightselection.Chrome.INTEGRATED=true
|
||||
config.folder=
|
||||
file.reference.src-chrome_point_plus=.
|
||||
files.encoding=UTF-8
|
||||
grunt.action.build=
|
||||
site.root.folder=${file.reference.src-chrome_point_plus}
|
||||
start.file=chrome_point_plus/options.html
|
||||
test.folder=
|
||||
web.context.root=/file:///chrome_point_plus
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://www.netbeans.org/ns/project/1">
|
||||
<type>org.netbeans.modules.web.clientproject</type>
|
||||
<configuration>
|
||||
<data xmlns="http://www.netbeans.org/ns/clientside-project/1">
|
||||
<name>chrome_point_plus</name>
|
||||
</data>
|
||||
</configuration>
|
||||
</project>
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
BROWSER_BINARY=$1
|
||||
PATH_EXTENSION=$2
|
||||
PATH_KEY=$3
|
||||
|
||||
echo "Packing extension using $BROWSER_BINARY and key from $PATH_KEY"
|
||||
#echo "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
||||
eval "$BROWSER_BINARY --pack-extension=$PATH_EXTENSION --pack-extension-key=$PATH_KEY"
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
zip -9 -r chrome_point_plus.zip chrome_point_plus
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "chrome-point-plus",
|
||||
"version": "1.36.2",
|
||||
"version": "1.42.1",
|
||||
"description": "Chrome extension for point.im",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -17,7 +17,7 @@
|
|||
"devDependencies": {
|
||||
"bower": "^1.3.12",
|
||||
"grunt": "^0.4.5",
|
||||
"grunt-bump": "git://github.com/nkirkes/grunt-bump.git#nkirkes/restrict-version-key-name",
|
||||
"grunt-bump": "^0.3.0",
|
||||
"grunt-contrib-copy": "^0.7.0",
|
||||
"jscs": "^1.10.0",
|
||||
"jshint": "^2.6.0"
|
||||
|
|
Loading…
Reference in New Issue