Commit e78196ec authored by yPhil's avatar yPhil
Browse files

Quick bugfix commit

- Paragraph text class misshap in the help page
- Updated documentation
parent b451c992
Pipeline #409034 passed with stage
in 32 seconds
......@@ -3,15 +3,15 @@
## 1.2.8
- New function / dialog to merge the imported / open feeds with existing ones #e38691d5
- Server ports now set [in the config file](https://framagit.org/yphil/petrolette/-/blob/master/package.json) #c46149d8
- Separate default feeds file
- Server ports now set in [the config file](https://framagit.org/yphil/petrolette/-/blob/master/package.json) #c46149d8
- Separate [default feeds file](https://framagit.org/yphil/petrolette/-/blob/master/public/js/default-feeds.json) #dae9e932
- It's a pretty big deal : instead of being included and loaded at **each visit of the frigging page**, the ever-growing (nearly 100K as of tonight) default list of feeds is now requested on-demand via a `GET` on the server, only one unique time.
- General UI makeover & optimization (dialogs, wording, misc options, speed)
- General UI makeover & optimization (dialogs, wording, misc options, speed) #dae9e932
### Bugfixes
- Deselected selected feeds on delete / edit / reload
- Before I can fin the time to code the "bulk" logic to delete / edit / reload all selected feeds in batch, we unselect on drop to ensure UX consistency
- Deselected selected feeds on delete / edit / reload #5f3b8f1a
- Before I can find the time to code the "bulk" logic to delete / edit / reload all selected feeds in batch, we unselect on drop to ensure UX consistency
- Better item layout (Media/comment icons) and wrapping #c8158af2
- In "photo" mode, vertical images wrapped around the text, fixed #2027005b
- BIG dialog makeover : Extended defaults, shorter templates, removed a lot of boilerplate code, etc. (WIP #9e3c8c2d)
......@@ -24,18 +24,22 @@
- Console size adjusted for mobile #c46149d8
- Fixed a long, outstanding & known bug where the "new tab" button was not appended after an import, because of the weird gymnastics we have to do to make sure said button is always the last one, think about that when reviewing the (quite convoluted) code #b02b049c
- Lib update: NPM 7.10.0
- Removed CORS on the server
- Removed CORS on the server #ba22b22e
- I'm not sure we even need it at all to renew certificates
- The Pétrolette logo is no longer a `a href="#"` but a plain DIV to avoid location re-write onclick (A click on it puts focus on the 1st tab, very handy when you read Pétrolette from the couch with a lousy touchpad)
- Even **More** CSS streamlining
- The Pétrolette logo is no longer a `a href="#"` but a plain DIV to avoid location re-write onclick (A click on it puts focus on the 1st tab, very handy when you read Pétrolette from the couch with a lousy touchpad) #5f3b8f1a
- Refactoring #dae9e932
- Enforce [own coding conventions](https://framagit.org/yphil/petrolette/-/blob/master/DEV.md) :|
- PTL.prefs.js is now a 1st class module
- s/var/const on all objects
- Even **More** CSS streamlining
- Big translation review
- Removed a lot of unused phrases in the i18 file (faster *everyday* loading time here too)
- Changed dialog wording policy : Laconic and modular in the titles, explicit and literal in the content text
- [Valid HTML](https://validator.w3.org/nu/?doc=https%3A%2F%2Fpetrolette.space%2F)
- [Valid HTML](https://validator.w3.org/nu/?doc=https%3A%2F%2Fpetrolette.space%2F) #c6c5bfc2 to #140685b4
## 1.2.7
- The feed's favicon file name / path is now saved along, so as to avoid re-requesting it, then re-computing the (hash) name, then re-rend it back from the server, so everybody wins #1e5f4c20
- The feed's favicon file name / path is now saved along, so as to avoid re-requesting it, then re-computing the (hash) name, and only *then* re-rend it back from the server favicon cache, so everybody wins #1e5f4c20
- The Logging strategy has been slightly adjusted: We now log the access to /feed and not to /favicon #1e5f4c20
- External (ie froml the feeds) asset (typically imgs but not only) calls are now forcefully https #d4782908
- Re-enabled server compression #941dac8a
......
......@@ -15,23 +15,27 @@
Go ahead, it's yours : Create, delete, move feeds and tabs, close / quit your browser, come back tomorrow, everything is how you left it.
News feeds are organized into tabs, which can contain an infinite number of columns; everything is configurable, and saved directly in the browser [permanent cache](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). To view the same feeds on your phone, either export / import your `petrolette.conf` file, or (recommended) use the synchronization feature with your personal (Google Drive, Dropbox, [5apps](https://5apps.com/storage), etc.) cloud.
News feeds are organized into tabs, which can contain an infinite number of columns; everything is configurable, and saved directly in the browser [permanent cache](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage). To view the same feeds on your phone, either export / import your `petrolette.conf` file, or (recommended) use the synchronization feature with your personal ([Google Drive](https://www.google.com/drive/), [Dropbox](https://www.dropbox.com/), [5apps](https://5apps.com/storage) (much better), etc.) cloud.
## Escape from GAFAM central
Pétrolette is fully self-contained, makes no external call whatsoever, and embarks a total of **zero tracker or "analysis" tool**. Needless to say it is also **completely ad-free**.
![Petrolette](https://framagit.org/yphil/assets/-/raw/master/img/petrolette.png)
## Features
- No ads, no trackers
- No ads, no trackers, just the news
- Displays all modern feeds (Atom, Media-RSS, etc.)
- Mobile / phone / tablet / responsive interface
- Search within the feeds
- Discovery of the feed in a page / website
- **Discovery of the feed** in a page / website
- Direct link to the article / item's resources (image, video, sound) for opening in an external reader
- Advanced image management (Download, Gallery, etc.)
- Import / Export of the feeds file (Replace / Merge)
- Online synchronization ([5apps](https://5apps.com/storage), Google Drive, Dropbox)
- Advanced image management (download, gallery, slidewhow, etc.)
- Import / export of the feeds file (replace / merge)
- Online synchronization ([5apps](https://5apps.com/storage), [Google Drive](https://www.google.com/drive/), [Dropbox](https://www.dropbox.com/)) on all your devices
- *Search* feeds [example](https://search.modalogi.com/searx/search?categories=news&language=en-US&format=rss&q=zombie,attack) using a configurable search engine
- Mobile / phone / tablet / responsive interface
- Bookmarklet for adding the feed of a site to Pétrolette on the fly
- Bookmarklet for adding the feed of any website to Pétrolette on the fly
- Compatible with [FLOSS browsers](https://www.gnu.org/software/librejs/) (uncompressed executable files, licenses available directly and in standard format)
## What's new?
......
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?42225438');
src: url('../font/fontello.eot?42225438#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?42225438') format('woff2'),
url('../font/fontello.woff?42225438') format('woff'),
url('../font/fontello.ttf?42225438') format('truetype'),
url('../font/fontello.svg?42225438#fontello') format('svg');
src: url('../font/fontello.eot?46778389');
src: url('../font/fontello.eot?46778389#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?46778389') format('woff2'),
url('../font/fontello.woff?46778389') format('woff'),
url('../font/fontello.ttf?46778389') format('truetype'),
url('../font/fontello.svg?46778389#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
......@@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?42225438#fontello') format('svg');
src: url('../font/fontello.svg?46778389#fontello') format('svg');
}
}
*/
......@@ -55,7 +55,6 @@
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-down-dir:before { content: '\e800'; } /* '' */
.icon-left:before { content: '\e801'; } /* '' */
.icon-down-circle:before { content: '\e802'; } /* '' */
.icon-upload:before { content: '\e803'; } /* '' */
......@@ -85,7 +84,6 @@
.icon-error:before { content: '\e825'; } /* '' */
.icon-note:before { content: '\e826'; } /* '' */
.icon-help:before { content: '\e827'; } /* '' */
.icon-buoy:before { content: '\e828'; } /* '' */
.icon-video:before { content: '\e829'; } /* '' */
.icon-w3c:before { content: '\e830'; } /* '' */
.icon-reset:before { content: '\f831'; } /* '' */
\ No newline at end of file
......@@ -466,7 +466,7 @@ li {
}
legend,
#dialog-text > p {
#dialogs p {
color: var(--color-ui-pri);
}
......
......@@ -182,12 +182,6 @@
"code": 59431,
"src": "entypo"
},
{
"uid": "2f9f67ee4354feef8c1f51e03bac6ef3",
"css": "buoy",
"code": 59432,
"src": "entypo"
},
{
"uid": "6341ebcbe1ed1f6777c1b9527ead368e",
"css": "video",
......@@ -206,12 +200,6 @@
"code": 63537,
"src": "mfglabs"
},
{
"uid": "8ax1xqcbzz1hobyd4i7f0unwib1bztip",
"css": "down-dir",
"code": 59392,
"src": "modernpics"
},
{
"uid": "da74e2a8125fdbca337031474a48215a",
"css": "down-circle",
......
No preview for this file type
......@@ -6,8 +6,6 @@
<font id="fontello" horiz-adv-x="1000" >
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="down-dir" unicode="&#xe800;" d="M540 587l-269-473-271 473 540 0z" horiz-adv-x="540" />
<glyph glyph-name="left" unicode="&#xe801;" d="M0 350l148 149 352 351 148-148-351-352 351-352-148-148-352 352z" horiz-adv-x="648" />
<glyph glyph-name="down-circle" unicode="&#xe802;" d="M0 350q0 207 147 354t353 146 354-146 146-354-146-354-354-146-353 146-147 354z m248 55l252-377 252 377-135 0 0 267-234 0 0-267-135 0z" horiz-adv-x="1000" />
......@@ -66,8 +64,6 @@
<glyph glyph-name="help" unicode="&#xe827;" d="M454 810q190 2 326-130t140-322q2-190-131-327t-323-141q-190-2-327 131t-139 323q-4 190 130 327t324 139z m-2-740q30 0 49 19t19 47q2 30-17 49t-49 19l-2 0q-28 0-47-18t-21-46q0-30 19-49t47-21l2 0z m166 328q26 34 26 78 0 78-54 116-52 38-134 38-64 0-104-26-68-42-72-146l0-4 110 0 0 4q0 26 16 54 16 24 54 24 40 0 52-20 16-20 16-44 0-18-16-40-8-12-20-20l-6-4q-6-4-16-11t-20-15-21-17-17-17q-14-20-18-78l0-8 108 0 0 4q0 12 4 28 6 20 28 36l28 18q46 34 56 50z" horiz-adv-x="920" />
<glyph glyph-name="buoy" unicode="&#xe828;" d="M454 810q190 2 326-130t140-322q2-190-131-327t-323-141q-190-2-327 131t-139 323q-4 190 130 327t324 139z m0-60q-94 0-178-44l62-104q56 28 122 28t122-28l62 104q-88 46-190 44z m-246-522q-28 60-28 122 0 64 28 124l-102 62q-46-88-46-190 2-96 46-180z m258-278q98 4 178 46l-62 104q-60-30-122-30t-122 30l-62-104q86-46 190-46z m-6 180q92 0 156 65t64 155q0 92-64 156t-156 64-156-64-64-156q0-90 64-155t156-65z m252 98l104-62q46 96 44 190 0 96-44 180l-104-62q28-60 28-124 0-62-28-122z" horiz-adv-x="920" />
<glyph glyph-name="video" unicode="&#xe829;" d="M980 600l-100 0 0-100 100 0 0-100-100 0 0-100 100 0 0-100-100 0 0-100 100 0 0-60q0-16-12-28t-28-12l-900 0q-16 0-28 12t-12 28l0 60 100 0 0 100-100 0 0 100 100 0 0 100-100 0 0 100 100 0 0 100-100 0 0 60q0 18 12 29t28 11l900 0q16 0 28-11t12-29l0-60z m-600-400l250 150-250 150 0-300z" horiz-adv-x="980" />
<glyph glyph-name="w3c" unicode="&#xe830;" d="M0 84l0 766 1000 0 0-766-500-234z m84 461l63-275q3-14 17-14l47 0q14 0 18 14l23 113 21-113q4-14 18-14l49 0q14 0 17 14l61 275q2 10-3 16t-13 6l-50 0q-14 0-16-14l-23-121-26 121q-4 14-17 14l-38 0q-13 0-15-14l-26-121-25 121q-2 14-16 14l-50 0q-20 0-16-22z m344-242q37-51 103-53 45 2 76 30t32 68q-2 43-34 68 30 28 30 63-2 45-32 68t-72 24q-64 0-99-51-8-12 2-23l27-26q14-12 25 2 18 24 41 24 20 0 24-10 6-12 0-26-8-9-45-9-20 0-20-16l0-41q2-21 20-18 45 0 49-9t4-16q0-25-28-25-29 0-47 25-11 16-25 2l-29-29q-10-10-2-22z m232 108q0-73 36-117t95-44q70 0 104 75 3 19-10 23l-37 18q-6 2-14-1t-10-9q-12-29-33-29t-35 23-14 62 14 61 35 24q21-2 33-28 8-13 24-10l37 18q17 10 10 25-34 71-104 71-59 0-95-45t-36-117z" horiz-adv-x="1000" />
......
No preview for this file type
......@@ -58,6 +58,11 @@ PTL.i18n.translations = {
"Loading" : { fr: "Chargement", ja: "読み込み中", es: "Cargando" },
"Focus first tab" : { fr: "Focus sur le premier onglet", ja: "フォーカスファーストタブ", es: "Foco primera pestaña" },
"A click on the Pétrolette logo puts the focus on the first tab" : { fr: "Un clic sur le logo Pétrolette met le focus sur le premier onglet", ja: "Pétroletteのロゴをクリックすると、最初のタブに焦点を当てます。", es: "Un clic en el logotipo de Pétrolette pone el enfoque en la primera pestaña" },
"Feed name (optional)" : { fr: "Nom du flux (optionnel)", ja: "フロー名(オプション)", es: "Nombre de la fuente (Opcional)" },
"Number of items" : { fr: "Nombre d'éléments", ja: "アイテム数", es: "Número de items" },
......
......@@ -46,9 +46,12 @@ var PTL = (function() {
PTL.util.say(PTL.tr('Search prefix') + ': ' + clean, 'success', true);
});
$('#logo-title').click(function(){
$('#ui-id-1').focus().trigger('click');
});
$('#logo-title > .logo-title')
.attr('title', PTL.tr('Focus first tab'))
.data('title', 'Focus first tab')
.click(function(){
$('#ui-id-1').focus().trigger('click');
});
$logoType.click(function(){
PTL.dialog.about($logoType.attr('data-version'));
......
......@@ -385,6 +385,14 @@
"name": "tek",
"columns": [
[
{
"url": "http://planet.gnu.org/rss20.xml",
"name": "Planet GNU",
"type": "mixed",
"limit": 220,
"status": "off",
"iconhash": "e9f42b595ba8b98b1eefaef8c6b2baf0"
},
{
"url": "https://kerneltalks.com/feed",
"name": "Kernel Talks",
......@@ -3040,4 +3048,4 @@
]
]
}
]
]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment