blutz / meow Goto Github PK
View Code? Open in Web Editor NEWThis project forked from dailybruin/meow
Social media poster
License: GNU Affero General Public License v3.0
This project forked from dailybruin/meow
Social media poster
License: GNU Affero General Public License v3.0
Here it is in the code:
This is clearly very important
From previous issue:
(1) Send an email to an address in the DB
and then eventually
(2) Actually make the account but don't allow it to be logged in until approved by an admin. Send an email notification when the account is made.
This should probably be a different django app
To try to catch errors. Like links to .camakak.com/ should never be published and anything with "?preview*"at the end also probably shouldn't work.
Allow any URL through (to give to urllib2) as long as the user confirms their action.
Apparently this is high priority for DB
http://docs.python-requests.org/en/latest/
This should make the code cleaner and should fix #1
Looks like users may be able to submit requests to modify posts that have already been sent. Not a huge issue since past database consistency isn't important but it could potentially cause post re-sending.
Edit tweets/posts from the listing screen.
To clarify my previous concern, the AJAX calls can be protected by requiring the user's logged in cookie and that should be sufficient, especially if the web server uses HTTPS
And make sure everything else has non-ascii support
To let people know when they screw up so they don't keep making the same errors
This involves moving sections admin into the frontend and using the connect with FB/Twitter APIs to get the appropriate tokens.
Keep track of who is doing what, when posts are sending (by section?), and what type of errors there are.
For tweets/posts that are breaking so you don't have to worry about the 20-min window
Refactor to django best practices. Development on this isn't too sustainable
Should be global, section, and post setting.
Looks like Twitter is matching URLs with the pattern /[^\s]*.[TLD]/ (that is, any non-whitespace characters followed by a period and a top level domain). Interestingly, though, its list of TLDs includes everything (including new gTLDs) except country codes. It will only link a country code if its URL includes the protocol (e.g. "http://").
Links count towards 22 characters
From @liddiard:
View should raise ValidationError and re-render form with an error message instead of causing a 500 with DatabaseError.
Use the same checkbox per post to optionally disable adding the photo with tweet/post. It should change the tweet length in #27.
Bit.ly should not be able to prevent a post from sending; fall back to the post's actual URL
They're separated but @liddiard seems to have a better way
Tables cells in HTML only get as small as the largest single element. If a width is specified it is ignored if it's too small.
Scrolling/hidden overflow isn't really a solution since it'll chop content. The mobile view should be reorganized to use something other than display:table
Integrate with https://bitbucket.org/q/django-simple-history/src
Images take up the same length as a link (1 space + 22/23 length URL).
And get rid of South migrations
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.