vhf / resrc Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
On a list, add a link via the "add" button, validate, add another one, the tags field still contains the tags selected for the first link.
Hi,
Here are some suggestions that I think would help future contributors.
README.md
should enumerate dependencies required for the project (e.g. postgresql was missing on my PC).
If there is a release version and a devel version, the two installation sequences should be described. Also, mentioning python manage.py
before syncdb
and related commands would be appreciated.
I was not able to get a running version until I installed dependencies described in requirements_dev.txt
with pip
. This is not mentioned in README.md
.
Steps To Reproduce
Actual Result
Expected Result
It might be interesting and/or practical to display publicly where from an "external list" comes. However, some users might want to keep this info private (e.g. hosting a list as a text file on some server, not wanting people to know this page or server exist).
Also, rename List.url to List.source_url, less ambiguous.
When i try to edit my account :
Request Method: POST
Request URL: http://192.168.0.10:8000/user/account
Traceback:
File "/home/alex/Programmation/github/resenv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
response = callback(request, _callback_args, *_callback_kwargs)
return view_func(request, _args, *_kwargs)
if form.is_valid():
return self.is_bound and not bool(self.errors)
self.full_clean()
self._clean_fields()
value = field.widget.value_from_datadict(self.data, self.files, self.add_prefix(name))
return data.get(name, None)
return func(self._wrapped, *args)
Exception Type: AttributeError at /user/account
Exception Value: 'User' object has no attribute 'get'
Steps To Reproduce
Actual Result
Expected Result
Probably a reset link by mail.
One should be able to edit his own links.
When editing a list, content displayed and stored contains only repr() of values instead of strings.
First, congratulations on the project. Great idea!
Why do not you include a feature to differentiate checked links and non-checked links?
For example:
In the 'Unix' (http://resrc.io/tag/tag/unix/) tag: I've scoured the entire tutorial -> "UNIX Tutorial for Beginners." It would be interesting to do something that highlight this.
For tags with few links that would be somewhat interesting, but for extended tags (eg Ruby, Javascript) that highlight what has been seen is extremely cool. Streamlines the process of searching for new knowledge.
PS. I knew the system a few days ago and I'm not 100% guarantee that this feature does not exist. At least I did not find anything that showed this difference between links.
Thanks for your understanding and patience.
Check all templates, see what JS and markup (e.g. modals) should not be loaded for anonymous users, put them in conditional statements.
Will only be solved when our audience reaches critical mass.
Sur un lien (link [show]-single), ajouter un bouton pour les utilisateurs connectés : edit tags.
Affiche une modale avec le titre et l'url en champs disabled
et la liste des tags. Quand le formulaire est posté, les tags modifiés sont flanqués qqpart dans le BDD pour modération par un admin.
Modèle dans Tag : RevisedTag, FK_Link, TextField avec les tags CSV.
Faire la page de modération également.
Links to some of the lengthier titles are missing the parentheses. A couple of examples:
Top link: http://resrc.io/list/10/list-of-free-programming-books/#net-c--vb--nemerle--visual-studio
Anchor link: http://resrc.io/list/10/list-of-free-programming-books/#net-%28c%23--vb--nemerle--visual-studio%29
Top link: http://resrc.io/list/10/list-of-free-programming-books/#sql-implementation-agnostic
Anchor link: http://resrc.io/list/10/list-of-free-programming-books/#sql-%28implementation-agnostic%29
This is a regression introduced by ff78ae.
Edit: Ok, simple. I forgot the type attribute. Doing a quick PR. :)
Re-clicking the 'vote' button on links and lists should probably unvote them.
Would be great to have the possibility to share a search (like a search on a tag, ... etc) :)
Hacker News Enhancement Suite displays an inspiring TL;DR.io implementation.
I like the TL;DR displayed when hovering tldr button on HN frontpage, but I don't want to implement a similar feature because I'd prefer user to click through and visit a "single link" page, where tags and other infos are also displayed.
If we want it to be a prominent feature, we'd probably have to discuss it with tldr.io guys (they're french and friendly). (Seems to be a win-win. We get tldr, they get tldr from our willing users.)
One way to populate the DB prior to launch could be to dip into their links.
Maybe display the form to register/login in a modal window ?
When adding tags to a link, if a comma is added right after a word ("tag,") it will be discarded and the tag not saved (ie : it remains the tag currently edited). If I type "tag ," on the other hand, things work perfectly.
for example, by tags :
[tag selected]
similar tags [and / or]
links / lists associated to this/these tag(s)
When editing a "distant" list (i.e. a list which has a non-blank url field), one should be able to re-pull the list from URL.
Should be text
, not default
.
One user complained that he didn't knew why his account creation failed. Thing is, his chosen username already was taken.
We need to make it clear in this case.
mptt_comments.js is not loaded
same with feedback.js
Labels for username and password don't select related fields when clicking them in the registration form. My browser is chromium running on Arch Linux. This is most probably due to having the login and registration forms on the same HTML page, which has led to duplicate HTML ids for these two fields.
Some pages are automatically displayed in the browser locale, it could be useful to allow links to have multiples language tags.
Moreover, some books are translated (for exemple Learn You A Haskell for great good) but translations do not live at the same URL, it could also be useful to allow multiple URL (one for each language) on a link, as comment and upvotes are not language-dependant.
In order to know which links are in which lists for freeform lists, we should, when parsing the markdown, add a ListLinks entry for each link.
Problem is, currently fixup() runs before list creation. Call stack :
In the add interface, "space" creates the tag.
In the edit/suggest interface, it does nothing.
I guess behaviour should stay consistent throughout all the interfaces. And we need a way to add new tags containing spaces.
Adding a tag should trigger the display of similars tags.
Stupid bug.
Posting a comment is supposed to mean posting the form through ajax and getting its content back from a view with a stripped out template.
Instead, we get redirected to the full page containing the new comment alongside with all the page content.
Lost already 2h trying to get this work.
Initially, other bugs were caused by mptt_comment.js relying on
Because of the #.
It tries to ajax load something like /tag/search/C#%25or%25 but the # is the anchor operator.
Fix : urlencode tags before passing them through ajax call
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.