Git Product home page Git Product logo

zerohello's People

Contributors

danimesq avatar eduardoaddad avatar erqan avatar filips123 avatar frerepoulet avatar hashy0917 avatar hellozeronet avatar hostfat avatar ishift avatar jerry-wolf avatar kabitofu avatar krikmo avatar krzotr avatar mariorossi77 avatar martijndeb avatar megfault avatar noreplyme avatar ppsfassa avatar purplesyringa avatar shortcutme avatar stbinan avatar swarnk avatar tangdou1 avatar th3b3st avatar xyb avatar ysc3839 avatar zaefarani avatar

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

Watchers

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

zerohello's Issues

Sort sites by name

Currently, it does not seem possible to order visited sites by name, which is something I'd like to be able to do.

Detect browser's color theme

There are currently "dark" and "light" color themes supported and users can configure time from ZeroHello or config file.

It should also be possible to use option "default" (or something like that) that would detect the browser's color theme and use it. This would be better because users won't have to set color theme multiple times (for system, browser and ZeroNet separately).

So, there should be three options in ZeroHello or config file. There should be options "dark" and "light" that would force the selected theme. There should also be third (but probably first in list and selected by default) option "default" that would use the browser's color theme (and fallback to light if detection isn't supported).

You should use prefers-color-scheme CSS media feature. It is currently only supported in Firefox 67+ and Safari but it will probably be implemented in other browsers.

You can detect it in CSS or with JavaScript.

[Feature request] sound notification upon new Newsfeed entry

Hello, this is certainly low importance thing, i apologize if it should not be posted there.

Some web pages are producing sound notifications, example when page has an online chat and support staff just sent you a message. Even if i switch to other tab, it can remind me there is something new.

So i was thinking it may be good if there is sound notification when there is new Newsfeed entry on ZeroHello page (especially one that mentions you). Sound of mention can differ from new post sound. I think it may increase interaction between users and make the discussion on Zeronet more used/beneficial/alive.

In Firefox if one want to mute the sounds for certain tab, one just click speaker icon on the tab.

May be good if user can change sound by a hack or in UI or possibly toggle sounds by an icon (default = sound off)

UPDATE: "desktop notifications" feature request here: #52

BUG Fix site list item settings button layout/position

Hey,

Hope you're well

Thanks for software

Screen shot(s)/cast:

untitled mov

Can't appear to reproduce the bug in any of my other browsers so I'll say this is Tor browser-specific. Could be a box model issue with Tor although I've had a look at the HTML/CSS and this feature could be coded a lot cleaner which should fix it cross-browser (i.e. currently a lot of nasty position/display stuff going on).

If anyone else reading this agrees please up-vote or reply "+1"

Please let me know if there's a more suitable place to leave issues

Let me know if you have any issues - happy to help

Hope this is clear/useful

Regards

PS Sorry I can't PR right now!

ERROR Site:1HeLLo..Tf3D WebSocket handleRequest error: TypeError: delete() takes exactly 1 argument (2 given) in UiWebsocket.py line 83 > UiWebsocket.py line 267 > UiWebsocket.py line 934 > SitePlugin.py line 43

ERROR    Site:1HeLLo..Tf3D WebSocket handleRequest error: TypeError: delete() takes exactly 1 argument (2 given) in UiWebsocket.py line 83 > UiWebsocket.py line 267 > UiWebsocket.py line 934 > SitePlugin.py line 43 
 {"cmd":"siteDelete","params":{"address":"1G8VW......"},"wrapper_nonce":"..................","id":11}

Hello, i see this error whenever i attempt to delete that site via ZeroHello.
I visited that site, found to be bad. The site was added to the blocklist site. And i then attempted to delete the site via ZeroHello (the 1G8VW.. site was updating at that time), site disappeared but when i reload ZeroHello, it is still there. And above errors appear.

rev3850, Windows, Firefox

[Suggestion] Dropdown lists

Dropdown lists (that users can rename) containing sites.
It can work in the "Connected sites" and "Favorites". Also in the "Hubs" section.

[Feature request] Filter not just by name but by address too

Hello,

on ZeroHello i am missing option to filter the sites list not just by name, but by entering zite address (public key)

next thing i am missing is a button on the right of the filtering field (inside it, maybe semi-transparent) which would clear the search field in one click and cause to remove filtering of the zite list. Same in Search field that filters news feed.

[Feature request] Do not show link to "Configuration" in menu if the plugin "UiConfig" is disabled

Hi,

I have disabled plugin UiConfig because I do not need it. When I go to menu tab I see link to Configuration. When I click I get 404 (plugin disabled).

Could you please hide link to Configuration in menu if plugin UiConfig has been disabled?

The same with UiPluginManager. If i disable that plugin I still see link to Plugins in tab and ContentFilter - link to Manage blocked users and sites

Handle the case, when a post with no title is displayed in the feed.

It is possible that the title field accidentaly isn't set or intentionaly left empty in the site DB. In that case, we have the following in the feed:

untitled-1

It looks ugly, and we also cannot navigate directly to the post, since the title is the link.

The problem can be solved on the site's side, if the correct SQL query is used. For example:

		@follow.addFeed("Posts", "
			SELECT
			 post_id AS event_uri,
			 'post' AS type,
			 date_published AS date_added,
			 IFNULL(NULLIF(title, ''), '(untitled)') AS title,
			 body AS body,
			 '?Post:' || post_id AS url
			FROM post", true)

In that example, IFNULL(NULLIF(title, ''), '(untitled)') replaces both NULL and the empty string with "(untitled)", so we have in the feed:

untitled-2

But I believe it is better to handle that case on the ZeroHello side. It will be applied to any site, and it also makes possible to localize the '(untitled)' string in a uniform way.

can not navigate with keyboard anymore (search field has always focus)

After this (1) was added to ZeroHello,
the only possibility to navigate on here (2) is via the mouse :-(

scrolling with mouse is slower for me than using keys:
e.g. page-down, cursor-down do not work anymore
and when I type a character it uses it as a search which limits/changes the info on the page

I tried also by clicking with the mouse outside of the search field

browser: palemoon 26.2.1
ZN version 0.3.7 1232

(1) HelloZeroNet/ZeroNet#419
(2) http://127.0.0.1:43110

already-read flag is needed to follow delayed comments and mentions.

ZeroHello just displays users' activity events on the right pane in the order of posted timestamp of each activity, so that the delayed comments or mentions which were uploaded a few hours ago locally but updated now are displayed at the bottom of the event list.

So, the user loses his chance to notice the events.

We could add 'read check' field which might contain all the user list just like upvote field does.
And then, ZeroHello could filter the events (posts, comments, mentions) where the user didn't check the 'read check' field. Of course, this has to be reversible by not filtering and unchecking it.

Moreover, filtering feature will just mark some of all the events, or will hide the filtered one in the display.

http://127.0.0.1:43110/Me.ZeroNetwork.bit/?Profile/1SunAWK2VUT9GQK32MpwRfFPVgcBSJN9a/16dEowtNbV89NxPcDrAKkmnuXtiJVoVcDm/[email protected]

[email protected] 2018-03-07 17-10-36

Configuration in IntelliJ IDEA

Hello ZeroNet.
I am working on a translating in Arabic Language for your project, but i have a problem, since it's my first time to deal with Node.Js & Coffee Script could you show me how to configure it in IntelliJ IDEA to test my working and fix what it need to fix?

Feed list sometimes can't fetch new feeds when scrolling down in Firefox

Solution:
in js/FeedList.coffee:
change

 	checkScroll: =>
		if document.body.scrollTop + window.innerHeight > document.getElementById("FeedList").clientHeight - 400 and not @updating and @feeds?.length > 5 and Page.mode == "Sites" and @limit < 300

to

 	checkScroll: =>
        scrollTop = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0
		if scrollTop + window.innerHeight > document.getElementById("FeedList").clientHeight - 400 and not @updating and @feeds?.length > 5 and Page.mode == "Sites" and @limit < 300

Reference: https://stackoverflow.com/questions/28633221/document-body-scrolltop-firefox-returns-0-only-js

Show site favicon

If site have a favicon, change the colored ball to the favicon in the sites list.

Option to bulk manage zites and automaticaly delete them after some time

Hello,

ISSUE:
When i want to free some zeronet disk space, it can be good to have option to bulk delete zites that i have not PINned/favorited and that was not visited by me for X months.

PROPOSAL:
The "..." menu next to ZeroHello logo may contain new item "Manage sites" and it will allow filtering and sorting the sites and applying bulk actions on them. Example when i want to stop hosting some redundant sites, i will be able to open this page and quickly filter out sites that

  • i have not visited for more than example 365 days
  • that have more than 10 peers
  • that are more than 20 MB in size including optional files.
  • that belongs to a certain (custom defined by me) category
  • that are not in my favorites
  • that contain some phrase inside its name or description

Then i can apply bulk action on filtered sites:

  • delete them now / or with certain delay
  • unpin optional files of these sites
  • download all optional files
  • export sites addresses
  • tag them or move them into certain category

The "Manage Sites" may also contain other configurable options related to sites, example option to automaticaly delete newly added sites if it is not visited by me for X days while site must not be in category Favorites, MySites and MyCustomCategory.

Similar: HelloZeroNet/ZeroNet#512

A JavaScript error occurred while not subscribing to the site.

I apologize for my English, this is Google Translate.
Hello, I downloaded the latest window client from the official website, it automatically opened http://127.0.0.1:43110 / 1HeLLo4uzjaLetFx6NH3PMwFP3qbRbTf3D in my browser, it should be this project.
As shown, it looks a bit unusual. The right side is empty, and clicking the "Settings" button does not respond.
err
I got this error from the console.

all.js?lang=zh&site_modified=1562292014:2758 Uncaught TypeError: Cannot read property 'date_added' of undefined
    at FeedList.render (all.js?lang=zh&site_modified=1562292014:2758)
    at Array.<anonymous> (all.js?lang=zh&site_modified=1562292014:2189)
    at doRender (all.js?lang=zh&site_modified=1562292014:920)
FeedList.render @ all.js?lang=zh&site_modified=1562292014:2758
(anonymous) @ all.js?lang=zh&site_modified=1562292014:2189
doRender @ all.js?lang=zh&site_modified=1562292014:920
requestAnimationFrame (async)
scheduleRender @ all.js?lang=zh&site_modified=1562292014:928
(anonymous) @ all.js?lang=zh&site_modified=1562292014:2968
ZeroFrame.onMessage @ all.js?lang=zh&site_modified=1562292014:6691
(anonymous) @ all.js?lang=zh&site_modified=1562292014:6636
postMessage (async)
Wrapper.sendInner @ all.js?rev=3864&lang=zh:1607
Wrapper.onMessageWebsocket @ all.js?rev=3864&lang=zh:1023
(anonymous) @ all.js?rev=3864&lang=zh:921

Although I can connect to other websites, clicking the Settings button is useless.

The query found 2758 rows in all.js

      if (this.feeds && Page.settings.date_feed_visit < this.feeds[0].date_added) {
        this.saveFeedVisit(this.feeds[0].date_added);
      }

When this.feeds is an empty array, accessing this.feeds[0] .date_added will report an error. You should check if the length of this.feeds is 0.
When I subscribe to the source site, the problem disappears.
The query submission record found that 44e66fc9b7870fb62a49df2a7b5a2f4a9c983d16 joined this line.
I am not sure how to write CoffeeScript and merge it into all.js. If anyone notices this, please fix this error.

[Feature Request] Add hash to links

Can we add id="1Me..." or something like that to site tags and call wrapperInnerReady (loaded?)?

What I want is ask user to clone some zite (because only ADMIM can run siteClone).

[Proposal]: Read FeedList limits from localStorage

The two limits (3 days and 10 post) is hardcoded in FeedList.coffee.
Is it possible to save and load limits from localStorage?
Eg. {"sites_orderby":"peers","feedlist_limit": 100, "feedlist_day_limit": 30}

Provide a view to group news stream according to sites

I guess this is specially helpful for users following a lot of sites' feeds.

The news stream in ZeroHello is like a RSS reader.

Most, if not all RSS readers also provides a view for updated feeds for a specific site,
besides the all new feeds view.

Bookmark function

This issue have been reported in HelloZeroNet/ZeroNet#456

Can you add something to ZeroHello to ge the ability to create site categories (for example: utilities, social, games, torrent etc...)

[ZeroHello] Websocket callback not found

I have a warning message in the new ZeroHello. I am pretty sure it is no big deal.

[ZeroHello] Websocket callback not found: 
Object { to: 180, cmd: "response", result: "Updated", id: 618 }

cmdp throws a type error if there is no response

Hi

So I just saw that ZeroFrame.js now has promises, which is nice, but I think the implementation might be a tiny bit broken. I just did the following:

  1. Create a new zite
  2. Insert page.cmdp("certSelect", {}).then(x => { debugger; }); into line 43 (just before the end of the script tag).
  3. Refresh the new zite
  4. Select a cert
  5. See a type error appear in the console

So I checked out the code behind the cmdp function and found if (res.error) { which would break when res doesn't exist. Now I don't know what the real problem is, whether res really should exist or not when calling certSelect or if cmdp should be able to deal with getting no response. (Worked around it by changing the line to if (res && res.error) {)

Cheers,

Wieke

Arrow Missing and Button Too Small (mobile)

Note that the arrow is only missing on mobile. The arrow does show up on my laptop. Also, the update failed icons (bell icons) don't disappear when scrolled underneath the Sites and Files part.

2017_08_01_07 05 08

2017_08_01_07 16 24

better management on the left side (for faster access)

I'd like more than reordering (1).

Currently on the left site in ZeroHello, I have my sites under "favorited sites", and all others are in "connected sites" (and this takes me time to find single ZeroNet sites).

What I'd need is: "my sites" where I put my sites in, and a collapsing/expanding for this "my sites"
(collapsing, so I could reach sites faster, without moving the mouse much).

Also, I'd like many more such collapsable entries (where I can add sites), which I can name myself.

So, the structure could be like this:

"my sites"
"favorited sites"
"todo (read in future)"
"friends"
"connected sites"
" < add new entry > "

(1) #1

Can't toggle "Help distribute all new files" in public proxy but no notification

  1. Rename plugins/disabled-Multiuser to plugins/Multiuser .
  2. Restart ZeroNet.
  3. Now if you drag out Sidebar and toggle "Help distribute all new files" button, a "This function is disabled on this proxy!" notification raise.
  4. But if you switch to "FILES" tag in ZeroHello, toggle "Help distribute all new files" there, no notification
    will raise.
  5. Refresh page, you can see the "Help distribute all new files" option will keep the state after you toggle, wherever in ZeroHello and Sidebar.
  6. In fact, the state of "Help distribute all new files" won't change.

Idea] Ability to rename a visited site

Hi,

Is it possible to create a functionality to rename visited site in the left bar ?
For example when the author has left the hash as title, we can't remember its utility.

[Feature Request] Serach filter

I can narrow my results by site in Google, just use site: [domain] , but I can't do that in ZeroHello.
This is useful, because I connected too many site to search (very slow), but I know which site they(the contents which I wan't to find) exist.

[Question] Database vs User Data.json files

From what I can tell given ZeroTalk and ZeroMe (and the documentation) the database is simply a copy of values stored in data.json files for each particular user.

Can one use the data.json file or the database independently of each other?

For instance, can one have a standalone database and no data.json files? Or can one have data.json files without a database?

Instant search "in connected sites" can cause slowdown when want to search in 1 site only?

Hello,

i got an impression that the instant search (ZeroHello newsfeed - Search in connected sites) may significantly increase search time when i want to search just one particular site. (phraseHere site:zerotalk), because it begin search query to all sites, immediately when i start typing. Here i am unsure how fast this first search gets terminated.

Why i think this is an issue?
When you are having a HDD and hundreds of "connected sites" (this is NOT a future, this is present situation) all sites search usually takes more than a minute (in my case 3 minutes) and one site search usually a few seconds.

How to solve issue:
A) disabling instant search by default
B) add bigger delay after stop typing (2sec.?)

When selecting SK language throwing error

After last update to SK translation is throwing :

"Internal error: ValueError: Expecting property name: line 57 column 1 (char 4494)
UiWebsocket.py line 81 > UiWebsocket.py line 268 > UiWebsocket.py line 1003 > Translate.py line 31 > Translate.py line 38 > init.py line 291 > init.py line 339 > decoder.py line 364 > decoder.py line 380"

when selecting it.

Zites sorted in the wrong order

Since we have "Connecting Sites" in the left bar now, and those sites have many properties undefined, it breaks the sorting algorithm.

The issue is in method SiteList.sortRows().

Undefined values should be converted to numbers with or 0 before comparing them, in the same way as it is already done for sites_orderby == "addtime" mode.

New commit: Paging for search results - ERROR msg.

I input "site:zerome", then:

Site:1HeLLo..Tf3D WebSocket handleRequest error: TypeError: actionFeedSearch() got an unexpected keyword argument 'limit' in UiWebsocket.py line 83 > UiWebsocket.py line 267

(Thanks u for your kind concern on my requesting feature and your efforts, @nofish!)

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.