16 Commits

Author SHA1 Message Date
The Dod
08f2c4fab6 Added missing files (Thanks 4 reporting, @dagger) 2014-04-06 20:09:03 +07:00
The Dod
36a736134c Make it suck less on chrome
Remove time-consuming dead code.
It's even faster NOW :)
2014-04-06 14:32:30 +07:00
The Dod
3ffb1e6524 User fullname and avatar are now in an iframe
Great performance boost.

Also:
* Input field to copy @username
  Once we can post, this may be handy
* Search is also an iframe (containing an iframe per user)
  So you can keep composing a twist while searching for usernames
* Should be responsive for cellulars (I can only resize browser
  to check. Got no phone. Anyway, the floating "Fork me" footer
  now has a link to navigation (local users), and that's about all
  the essential navigation. You can scroll a bit down from there
  for search results, or all the way up for the content.
* Make sure Dillo etc. that don't see bootstrap font icon
  can still have text links to everything

Enjoy
2014-04-06 13:18:18 +07:00
The Dod
1c5d43e0e0 README edit
Less cryptic banner :)
2014-04-05 14:40:01 +07:00
The Dod
04efdbe8d5 We have search (#MostOfUrBase)
Also: support for mounting at non-root level (e.g. /swizzler)
via nginx etc. [might come in handy for public instances]

User search only returns @usernames, because it took too long to
get full name and avatar for all users (ah, the joys of NoJS).
Working on an iframe-based solution.
2014-04-05 13:42:20 +07:00
The Dod
3ab5844376 Direct messages
Now could be a good time to setup basic auth
if you haven't done it so far :)
See https://github.com/swizzler/swizzler/commit/d959492b
2014-04-04 08:53:45 +07:00
The Dod
b7231df882 Tag unicode bug fix + dht peer count indicator
Don't get your hopes too high. It's not like swizzler now showing
unicode tags [yet]. It's just that it doesn't crash if there are
unicode errors (i.e. some weird pre-unicode codepage).
How does such a thing become a trending hashtag? I wonder :)
2014-04-03 21:18:51 +07:00
The Dod
969842e924 Cache tweets forever [again]
Now that we no longer have "??? users" (i.e. in no case can a
twist "look bad"), caching forever can boost things up seriously
*and* it's cool to see how someone's avatar changes over time :)
2014-04-02 01:11:53 +07:00
The Dod
1b576eb4fa Stop treating people without profile as invalids
@kseistrup says "no profile" or "no avatar" is perfectly normal
behavior and doesn't indicate timeout, error or sin.
You're all forgiven.
2014-04-02 00:24:32 +07:00
The Dod
d959492b2b Basic auth (existing instannces: read commit text)
First, chill:
After you pull this, your current installation is supposed to
work fine *as is* (please let me know if it doesn't).

Nevertheless, it is recommended to enable basic auth by adding
these 2 lines to the `[swizzler]` section of `cherrypy.config`
(also documented at `cherrypy.config.example`)

    browser_user: 'someuser'
    browser_password: 'somepassword'

User and password don't need to be too long and funky
(or have anything to do with the user:pasword at rpc_url).
It's just a line of defense against [for example] trojans
who may not have significant file system rights,
but can still TCP-connect to localhost ;)

Existng apps should also `chmod 600 cherrypy.config`
(running `/.install.sh` again will do this as well),
because it would now contain a plaintext password
(and we don't want trojans yada yada).

Swizzle safely.
2014-04-01 19:33:13 +07:00
The Dod
1bee2fb0a8 Merge pull request #1 from iShift/patch-1
typo
2014-04-01 00:01:57 +07:00
iShift
4d80bf89b4 typo 2014-03-31 18:24:44 +04:00
The Dod
7912c3e062 Fix url bugs in templates
{{.}} can be a dangerous thing in Mustache :)
2014-03-31 20:55:57 +07:00
The Dod
dc9d1ccc31 Fix a harmless bug
It's so stupid, I'd rather not talk about it :)
2014-03-31 19:48:56 +07:00
The Dod
ec48954d88 install.sh now creates appdir.py
Thanks to @erkanuksel
Also fixed typo in footer's fork url :s
2014-03-31 19:35:57 +07:00
The Dod
87a5f85970 Initial commit
Gotta start SOMEwhere
2014-03-31 17:09:27 +07:00