26 Commits

Author SHA1 Message Date
The Dod
a27f51c84b Prepend "protocol less" urls with http:// (fix #6)
Also remove an embarrassing debug print :s
2014-05-13 22:11:09 +03:00
The Dod
614c52530f fallback local user avatar when net sucks
This was fixed at 4ddfc0f88c07, but not in the "messages" screen.
Luckily, my ISP sucks on a regular basis,
so it didn't take long until this happened to me.
2014-04-10 20:30:21 +07:00
The Dod
6fc2d8526e No more "phantom reply footer"
reversed(...) returns an iterator, so if you "not not" it, you
don't get False for an empty list (ouch)
2014-04-10 04:06:24 +07:00
The Dod
294c0c69e1 Fixed cases where page subject avatar was buggy
also made sure that default images (genericPerson and twister-64)
come from {{site_root}} (in case we want a public server one day
and we want to mount on a path other than /
2014-04-09 23:27:00 +07:00
The Dod
4ddfc0f88c Fix case where no peers and can't get own avatar
This actually happened (my ISP sucks even in 3rd world standards)

I also replaced the (usually @nobody) user link with static badge
The iframe on the left should be enough.
2014-04-09 21:40:46 +07:00
The Dod
775dbfb35d Fix display of missing twist, and promoted message
Missing twists were shown "from @"
Sponsored messages showed time twice :s
2014-04-09 19:26:53 +07:00
The Dod
10a1d2bdd1 s/sponsored/promoted/ including major Haiku fix :)
I just noticed that in the standard client they were called
"promoted posts" and it *does* sound less tacky because
promoted sounds less like a business and more like a cause.
Anyway, I think the new Haiku-tooltip has a better flow ;)
2014-04-08 22:59:08 +07:00
The Dod
bed270aaa4 Massively shinier GUI. Even haiku tooltips ;)
1K words worth screenshot:
http://666kb.com/i/cnb9i3hf5d887diw4.jpg ;)
2014-04-08 05:21:29 +07:00
The Dod
6cd46b6ec1 Nav pill header for home/mentions/messages
The previous gui looked too sloppy
2014-04-07 23:43:21 +07:00
The Dod
ec238a0150 Tag search no longer goes to iframe :)
Forms and iframes go together like a horse and marriage
2014-04-07 21:10:43 +07:00
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