Commit Graph

25 Commits (73f4f643516458983bc51a5faec6eee492ef39d0)

Author SHA1 Message Date
lilia 73f4f64351 Grunt preen and concat
Set up grunt with tasks for:
  * preen - deletes unused files from bower_components, configured in
      bower.json
  * concat - concatenates preened bower components, configured
      automagically from the preen config

It's worth noting that this setup assumes the order of files within a
package doesn't matter. This is usually true since we often include only
one file from the package.
lilia c8ad65efe0 Switch to bower dependencies
Checks in only the files we actually need from bower_components.
lilia 987744cd79 Default avatars
Someday you'll be able to edit your avatar. Until then, put a bird on
it.
lilia 2a7d3996bb Remove unused popup.html
And popup.js is now index.js, illustrating its importance as the titular
javascript file.
lilia 1c76c0b546 Move storage objects to their own files
Greatly reduce the size of the ignominiously named helpers.js.
lilia 3334504eff render attachments
lilia 229007040c Basic frontend support for image attachments
lilia c6aae62151 Small message form tweaks
lilia 19dac1f3df Decorate incoming group messages
with numbers and image placeholders, so you know who's saying what.
lilia 1023ea1732 Refactor textsecure.protos -> textsecure.protobuf
DRY up protobuf declarations and move to a slightly briefer naming
convention.

Also dropped some ArrayBuffer -> string conversions as
ProtoBuf.js handles ArrayBuffers just fine, and in fact, more
efficiently than strings.

Finally, dropped the btoa() wrappers, because that incurs an extra
string -> string conversion before the protobuf's internal string ->
array buffer conversion. In lieu of btoa, we can simply pass in the
optional string encoding argument to the protobuf's decode method,
which in these cases should be 'binary'.

Related: 
Arnaud Benard e568e2c528 Fixes - Order by timestamps with tests
lilia 01f9fc1f17 More frontend groups fixes
lilia dc41ebf701 Small frontend fixes for the new group view
lilia 81e4af5827 Move phonenumbery utils to libphonenumber object
Slowly whittling away at helpers.js...
lilia 778fa6b627 Remove some low-value makup
lilia 40c3bc8640 Fix nacl not loading
HEADDESK HEADDESK HEADDESK
lilia ad7456b367 Refactor away this poorly named and overloaded file
lilia b9640a54bd Move new convo stuff to its own file
lilia 546cdf82cb Fix some markup issues
* Remove spurious search div
* Fix nested uls
* Use class name selected, not closed (the inverse)
* Restor nacl div
lilia c2beda8e40 Get single recipient message composition working again
lilia c034ac8267 Refactor components for the main content section
Each conversation views now manages its own separate elements
rather than all binding to a shared #conversation element, and
similarly for message composition ui.

Also includes the beginnings of group creation UI (not working yet),
featuring bootstrap-tagsinput field for entering group recipients
lilia 8d83a8fb27 This element is constant, so let's bootstrap it
lilia 44f272a181 Get messages sending with new ui
Also convert index.html to 4-space indentation.
lilia 95c31629b7 get frontend rendering with new markup/css
lilia 518bdb2056 with love from tyler