Coder Social home page Coder Social logo

sebsauvage / shaarli Goto Github PK

View Code? Open in Web Editor NEW
674.0 674.0 392.0 3.24 MB

The personal, minimalist, super-fast, no-database delicious clone.

Home Page: http://sebsauvage.net/wiki/doku.php?id=php:shaarli

License: Other

PHP 77.57% CSS 8.55% HTML 13.88%

shaarli's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shaarli's Issues

Time zone

Hi,
I am hosted at 1&1, mutualised server, with the actual files, I see this message at the top of the page :

Strict Standards: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /homepages/23/d382388404/htdocs/hub/liens/index.php on line 95

Thanks,
Tom

Affichage de la date, de l'heure heure et vie privée

L'affichage de la date et de l'heure précise me pose problème en terme de vie privée.
Je ne souhaite pas pour autant rendre tous mes liens privés pour cette raison.

La date et l'heure de chaque liens pourraient être supprimée au profit d'une seule ligne séparant les liens, par jours. (Un peu comme dans l'ancien delicious. P.ex. http://previous.delicious.com/alxju)

Plus simple, l'heure pourrait simplement ne pas être affichée.

Si cette suggestion n'est pas retenue, il faudrait au minimum sortir la date/heure du lien du permalink et d'associer une autre class. Cela permettrait de masquer la date par CSS. C'est un peu bizarre actuellement que les balises date/heure et permalink soient sous la même classe css et le même lien

Space in tags

Most other bookmarking systems support spaces in tags. Shaarli doesn't.

Tag separator in Shaarli should not be space, but comma (,).

Modify description using the bookmarklet

It would be useful if we can add description when adding a link using the bookmarklet :
http://shaarli.url/?post={url}&title={title}&description={description}&source=bookmarklet

  • It can be used when adding a link using a feed reader (for example description can be via permalink the original shaarli)
  • It can be used to cite some text without need to copy and paste. (the bookmarklet can detect if text is selected and add it in description automatically : need to also modify the bookmaklet : http://www.codetoad.com/javascript_get_selected_text.asp)

Login successful message in log.txt, but always redirected to login page

Since I migrate to 0.0.41 beta, it is impossible for me to login to my shaarli.

I migrated from 0.0.40 to 0.0.41 by removing everything except the data directory.

When I try to add a link with the small javascript code provided with Shaarli it ask me to login and then get me back to the same login panel.
In the log.txt file I can see that there is a "Login successful".
Same think with standard login from shaarli directly.

Page storage

Add page storage feature using Respawn (or linking to a Respaw installation).

Add a "Reader later" button

This button would:

  • Immediately record the current page link in Shaarli (no dialog).
  • The link would be private.
  • This link would bear a special tag (such as TLDR).

This way, you could keep link to read later at the single click of a button.

Does this button require a visual feedback ? (like an in-page CSS popup ?)

Make a real user and developer manual.

Maybe on the wiki ?

User manual:

  • How to install Shaarli.
  • How to upgrade.
  • How to backup/restore.
  • etc.

Developer manuel:

  • Storage architecture
  • Classes and functions
  • Security handling
  • etc.

Going multilingual

I guess the procedure would be:

  1. Have a languages/ folder with "mylanguage.php" files and make Shaarli use them
  2. Uses a translation platform so even people not familiar with github nor coding could go translatin if they will. Of course it's optional but I found it usefull when translating flattr for example.
    I don't have any favorite method to maintain a software translations in many languages, so I have none to suggest here, but at least it's on the list.

Accès modération

Il serait sympa d'avoir un accès modération. Je m'explique, un accès qui puisse permettre de :

  • Éditer la description d'un lien (public et/ou private, en option)
  • Optionnel : Éditer les tags (en option)
  • Optionnel : Autorisation de suppression d'un article (en option)
  • Optionnel : Autorisation de suppression d'un tag (en option)

Je ne me fait pas d'illusion, mais ça aura le mérite d'exister :)

tags drop-down list masks element under it (checkbox and buttons)

Originally reported on the comments page. Start typing in the "tags" field in the "add link" page or dialog, and the dropdown list masks the "private" checkbox, and the "Save" and "Cancel" buttons.

The user is forced to click somewhere outside the drop down list to be able to use the buttons.

Maybe move the "tags" filed at the bottom of the dialog, under these elements.

L'extraction du fichier zip renvoie une erreur

Forwardé depuis http://sebsauvage.net/wiki/doku.php?id=php:shaarli:discussion#comment_855ff390f4f035942f5131015b88c6f0 et problème constaté ici aussi.

L'extraction de http://sebsauvage.net/files/shaarli_0.0.41beta.zip renvoie un code d'erreur (non bloquant mais gênant).

$ unzip shaarli_0.0.41beta.zip 
Archive:  shaarli_0.0.41beta.zip
shaarli_0.0.41beta/:  ucsize 306 <> csize 0 for STORED entry
         continuing with "compressed" size value
   creating: shaarli_0.0.41beta/
  inflating: shaarli_0.0.41beta/.gitignore  
  inflating: shaarli_0.0.41beta/COPYING  
shaarli_0.0.41beta/images/:  ucsize 680 <> csize 0 for STORED entry
         continuing with "compressed" size value
[...]

Serait il possible d'utiliser un outil standard pour zipper cette archive (la commande zip ou apack sous debian me donne une archive "propre")?

In RSS/ATOM feed, add (perma)link in description and add an option to get the permalink instead of final link

In a RSS feed:

  • the tag link is supposed to contain the link to follow.
  • guid is supposed to be a unique identifier (this may not be an URL, but some reader require it).

Currently in shaarli: (except on my own instance ;-)

  • link is the final link.
  • guid contains the Shaarli permalink (which is unique)

Evolution:

  • There will be an option in the RSS feed to have the permalink in the link tag (for those who prefer)
  • Permalink (or final link, if the previous option is used), will be added in the description of the link.

Session logout intempestif

J'ai toujours des problèmes de déconnexion anormales.

Avec la 0.40, j'avais rajouté un dossier "sessions" et ini_set('session.save_path', $_SERVER['DOCUMENT_ROOT'].'/sessions');

pour avoir une une gestion normale.

Avec la 0.41 rien n'y fait (le fait de cocher Disable session cookie hijacking protection ne change rien).

J'utilise firefox (le problème de session, en ce qui me concerne, n'a rien à voir avec webkit).

Picwall thumbnail generation

On thumbnail generation, a duplicate "<img" appears!

Suggest:

diff --git a/index.php b/index.php
index adc11f9..3f72294 100644
--- a/index.php
+++ b/index.php
@@ -1979,7 +1979,6 @@ function lazyThumbnail($url,$href=false)
else
$html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';

  • $html.='<img class="lazyimage" src="#" data-original="'.htmlspecialchars($t['src']).'"';
    if (!empty($t['width'])) $html.=' width="'.htmlspecialchars($t['width']).'"';
    if (!empty($t['height'])) $html.=' height="'.htmlspecialchars($t['height']).'"';
    if (!empty($t['style'])) $html.=' style="'.htmlspecialchars($t['style']).'"';

Check if session if working properly at installation.

Some php hosts are not properly configured to handle sessions.
Shaarli should check that session work correctly at installation (eg. by storing something in session then retrieving it. Shaarli should display an errror message on failure.)

New bookmarklet for note taking

A new bookmarklet similar to the regular one, except that:

  • URL is a permalink
  • Title is current date (so that the focus automatically jumps to description field)
  • Link is private by default.
  • (optional) A special tag is added (configurable in config screen)

Why ?

This would be useful if you want to quickly take a note or keep a snippet:
Just click the bookmark, type or paste text, validate.

Bad display when logout

When you are logged in, click on the small key to show private link only.
Then click on logout.
Shaarli display "Nothing found."

Tag order

Actually, tags are added in order of entry.

If two shaarli link have the same tags, but if different entry order, it's visually not very good.

(example:
2013-02-28 14_23_05-Liens
)

The render can be improved with reordering tag alphabetically, on page display or when the link is registered

Login impossible sous opera

Bonjour,

Lorsque que j'essaye de me log sur shaarli sous opera il m'indique un wrong password/login, et lors du retour sur la page d'accueil (par l'url) je ne suis pas log. En revanche en passant par chromium je n'ai aucun problème.

Je ne vois pas d'ou cela peut venir, j'ai désactivé toute mes extensions et cela ne change rien. Le bookmarklet ne fonctionne pas également sous opera.

Merci.

Error 500 if folder not writeable

If the shaarli folder is not writeable to the webserver, right now it errors out with 500.

It would be a better behaviour to check for permissions and display a message page with instructions.

There should be one "feed" button

It would be more "accessible" to only have one feed button at the top (instead of two, RSS and ATOM). Maybe we could settle on a default feed format (RSS is very common) and make the other available through a checkbox in the prefs.

Most visitors are not familiar with RSS, so changing the button label to something like "Subscribe" would be good.

impossible d'ajouter un lien en particulier

J'ai découvert un ptit bug : impossible d'ajouter "http://pagesleftblank.blogspot.fr/2011/07/zookeeper-replication-and-failover.html" dans mon shaarli. J'utilise nginx avec php-fpm.
Log de nginx :
2013/01/17 15:38:42 [error] 31286#0: *315360 FastCGI sent in stderr: "PHP message: PHP Notice: Undefined variable: handle in /home/www-data/links.domain.tld/index.php on line 174" while reading response header from upstream, client: 94.23.XX.XX, server: links.domain.tld, request: "POST /?post=http%3A%2F%2Fzookeeper.apache.org%2Fdoc%2Fr3.2.2%2FzookeeperInternals.html&title=ZooKeeper%20Internals&source=bookmarklet HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "links.domain.tld", referrer: "https://links.domain.tld/?post=http%3A%2F%2Fzookeeper.apache.org%2Fdoc%2Fr3.2.2%2FzookeeperInternals.html&title=ZooKeeper%20Internals&source=bookmarklet"

Aucun problème avec d'autres liens.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.