pixelated-user-agent.git
4 years agoFix broken test for default language for user
Ola Bini [Thu, 19 Jan 2017 17:58:06 +0000 (15:58 -0200)]
Fix broken test for default language for user

4 years agoAdds link for Managing Translations page
thaissiqueira [Wed, 18 Jan 2017 20:30:48 +0000 (18:30 -0200)]
Adds link for Managing Translations page

4 years agoMerge pull request #911 from pixelated/login-unicode
thaissiqueira [Wed, 18 Jan 2017 13:01:31 +0000 (11:01 -0200)]
Merge pull request #911 from pixelated/login-unicode

Encodes user_uuid and passphrase to allow utf-8 characteres

4 years agoMerge pull request #910 from pixelated/remove-deb-gnupg
Anike Arni [Wed, 18 Jan 2017 12:36:21 +0000 (10:36 -0200)]
Merge pull request #910 from pixelated/remove-deb-gnupg

Remove python-gnupg debian package as dependency

4 years ago[#885] Adds test to ensure the right type for user_uuid and passphrase
Thais Siqueira [Tue, 17 Jan 2017 19:16:56 +0000 (17:16 -0200)]
[#885] Adds test to ensure the right type for user_uuid and passphrase

with @tayanefernandes

4 years ago[#885]Encodes user_uuid and passphrase to allow utf-8 characteres
Thais Siqueira [Mon, 16 Jan 2017 19:18:27 +0000 (17:18 -0200)]
[#885]Encodes user_uuid and passphrase to allow utf-8 characteres

with @tayanefernandes

4 years agoRemove python-gnupg debian package as dependency
Tulio Casagrande [Mon, 16 Jan 2017 20:35:44 +0000 (18:35 -0200)]
Remove python-gnupg debian package as dependency

4 years agoMerge pull request #909 from pixelated/watch-js
Anike Arni [Mon, 16 Jan 2017 11:40:23 +0000 (09:40 -0200)]
Merge pull request #909 from pixelated/watch-js

Adds js to watch command

4 years agoAdds js to watch command so that dev is faster in js
Anike Arni [Fri, 13 Jan 2017 12:26:34 +0000 (10:26 -0200)]
Adds js to watch command so that dev is faster in js

4 years agoFix js setup for vagrant
Tulio Casagrande [Fri, 13 Jan 2017 16:03:16 +0000 (14:03 -0200)]
Fix js setup for vagrant

4 years agoMerge pull request #906 from pixelated/key_expiry
Tulio Casagrande [Fri, 13 Jan 2017 13:15:58 +0000 (11:15 -0200)]
Merge pull request #906 from pixelated/key_expiry

Close session when UploadKeyError occurs

4 years agoMock register events to not complain about zmq certs
Tulio Casagrande [Fri, 13 Jan 2017 11:41:54 +0000 (09:41 -0200)]
Mock register events to not complain about zmq certs

Related with: #815

4 years agoRe-raise the exception after closing the session
Tayane Fernandes [Thu, 12 Jan 2017 19:56:00 +0000 (17:56 -0200)]
Re-raise the exception after closing the session

We were trying to setup services even after closing the session. We fixed it
and added unit test.

Related with: #815

4 years agoClose session when UploadKeyError occurs
Tayane Fernandes [Wed, 11 Jan 2017 20:06:44 +0000 (18:06 -0200)]
Close session when UploadKeyError occurs

When the upload of the user key fails (i.e. Timeout), the session was being held
in memory, preventing the user from trying again.

Related with: #815, #889

4 years agoChange the logger.info to logger.debug
Tayane Fernandes [Tue, 10 Jan 2017 19:50:22 +0000 (17:50 -0200)]
Change the logger.info to logger.debug

Given that we don't need to expose the user fingerprint every time we login, we
changed to log it only on debug mode. See #815

4 years agoCheck if key is synchronized with server at every login
Tulio Casagrande [Tue, 10 Jan 2017 16:52:21 +0000 (14:52 -0200)]
Check if key is synchronized with server at every login

This is a temporary solution when uploading a regenerated key fails.
It's going to attempt the upload again on the subsequent logins. The
drawback with this solution, is that the fetch remote can increase the
login time, specially with multiple users.

See: #815

4 years agoFix regenerate keys test flow
Tulio Casagrande [Tue, 10 Jan 2017 15:42:41 +0000 (13:42 -0200)]
Fix regenerate keys test flow

The regenerate key test was not checking if the UploadKeyError exception
was raised

Related with: #815

4 years agoMerge pull request #899 from bwagnerr/make
Anike Arni [Tue, 10 Jan 2017 13:34:01 +0000 (11:34 -0200)]
Merge pull request #899 from bwagnerr/make

Creates a unified makefile for pixelated client and web-ui

4 years agoMoved source to . so we are compatible with sh
Bruno Wagner [Mon, 9 Jan 2017 20:55:59 +0000 (18:55 -0200)]
Moved source to . so we are compatible with sh

Snap uses sh directly to run the build, so we cannot expect
bash. I changed everything to . so that the make runs more broadly

4 years agoAdded special bundled requirements for pysqlcipher
Bruno Wagner [Mon, 9 Jan 2017 20:29:31 +0000 (18:29 -0200)]
Added special bundled requirements for pysqlcipher

The build breaks without it, with it most machines can run the
tests

4 years agoAdded error message in case virtualenv doesn't exist
Bruno Wagner [Mon, 9 Jan 2017 20:00:43 +0000 (18:00 -0200)]
Added error message in case virtualenv doesn't exist

4 years agoFunctional tests and linters can now be ran standalone
Bruno Wagner [Mon, 9 Jan 2017 19:55:14 +0000 (17:55 -0200)]
Functional tests and linters can now be ran standalone

Also adapted the README to use the makefile for instructions

4 years agoLog user's current key for easier debug
Tulio Casagrande [Mon, 9 Jan 2017 18:13:39 +0000 (16:13 -0200)]
Log user's current key for easier debug

Related with: #815

4 years agoRaise exception when sending a renerated key fails
Tulio Casagrande [Fri, 6 Jan 2017 19:01:17 +0000 (17:01 -0200)]
Raise exception when sending a renerated key fails

We still need to figure out what to do when the upload fails. But we're
already raising the exception, so we can track it on the logs

See: https://github.com/pixelated/pixelated-user-agent/issues/815

4 years agoRemoves soledad server (leap.soledad.server) from requirements
Anike Arni [Fri, 6 Jan 2017 17:43:39 +0000 (15:43 -0200)]
Removes soledad server (leap.soledad.server) from requirements

with @thaissiqueira

4 years agoRevert "[#888] Fix soledad class contract to be compatible with new merge. with ...
Anike Arni [Thu, 5 Jan 2017 16:46:39 +0000 (14:46 -0200)]
Revert "[#888] Fix soledad class contract to be compatible with new merge. with @thaissiqueira."

This reverts commit ebdeec4ad6d0f91bc60fd34a580fc02787026692.

4 years agoMerge pull request #898 from bwagnerr/simplify_static
Tulio Casagrande [Wed, 4 Jan 2017 22:00:16 +0000 (20:00 -0200)]
Merge pull request #898 from bwagnerr/simplify_static

Simplifies the get_static_folder on RootResource

4 years ago[#888] Fix soledad class contract to be compatible with new merge. with @thaissiqueira.
Anike Arni [Wed, 4 Jan 2017 20:11:37 +0000 (18:11 -0200)]
[#888] Fix soledad class contract to be compatible with new merge. with @thaissiqueira.

4 years agoMerge pull request #900 from bwagnerr/fix_test_site
Tulio Casagrande [Wed, 4 Jan 2017 19:55:25 +0000 (17:55 -0200)]
Merge pull request #900 from bwagnerr/fix_test_site

Fixed mockito conflict with zope

4 years agoMake target setup now only calls install
Bruno Wagner [Wed, 4 Jan 2017 14:19:52 +0000 (12:19 -0200)]
Make target setup now only calls install

4 years agoSimplified service ./go to call make directly
Bruno Wagner [Wed, 4 Jan 2017 12:53:43 +0000 (10:53 -0200)]
Simplified service ./go to call make directly

Also added the deactivation of the virtualenv before running
anything, to avoid conflicting virtualenvs

4 years agoMerge pull request #901 from bwagnerr/remove_ssh_keydir
Tulio Casagrande [Wed, 4 Jan 2017 11:33:00 +0000 (09:33 -0200)]
Merge pull request #901 from bwagnerr/remove_ssh_keydir

Removes directory sshKeyDir

4 years agoMoved bower install to npm post_install
Bruno Wagner [Tue, 3 Jan 2017 20:58:52 +0000 (18:58 -0200)]
Moved bower install to npm post_install

Also fixed some indentation errors on the Makefile

4 years agoRemoves directory sshKeyDir
Bruno Wagner [Tue, 3 Jan 2017 19:52:42 +0000 (17:52 -0200)]
Removes directory sshKeyDir

That was added when trying to add manhole support, we
removed manhole some time ago and this directory doesn't
make sense anymore, so I removed it

4 years agoFixed mockito conflict with zope
Bruno Wagner [Tue, 3 Jan 2017 19:46:55 +0000 (17:46 -0200)]
Fixed mockito conflict with zope

I bumped into this problem where trial would try to clean up after
running the SiteTest and run into an error
'RememberedInvocation has no attribute "_implied"'

That happened because mockito is strict with the set of functions
it's mock accepts and _implied doesn't exist. It didn't really make
sense in this test context so I've adapted the test to use MagicMock
instead and now the test pass without problems.

4 years agoAdded coverage to the Makefile
Bruno Wagner [Tue, 3 Jan 2017 18:31:00 +0000 (16:31 -0200)]
Added coverage to the Makefile

4 years agoGo script is now using make to ease the transition
Bruno Wagner [Tue, 3 Jan 2017 17:58:36 +0000 (15:58 -0200)]
Go script is now using make to ease the transition

4 years agoAdds javascript build and tests to makefile
Bruno Wagner [Tue, 3 Jan 2017 17:21:41 +0000 (15:21 -0200)]
Adds javascript build and tests to makefile

Now you can setup both javascript and python from scratch
and run the test suites on both sides directly from the root
of the project

4 years agoCreates a unified makefile for pixelated client and web-ui
Bruno Wagner [Tue, 3 Jan 2017 13:45:51 +0000 (11:45 -0200)]
Creates a unified makefile for pixelated client and web-ui

The python setup (including automatic creation of virtualenv) and
test runners are already working. Pending javascript build and tests

4 years agoSimplifies the get_static_folder on RootResource
Bruno Wagner [Tue, 3 Jan 2017 13:39:01 +0000 (11:39 -0200)]
Simplifies the get_static_folder on RootResource

There are only two possibilities currently:

- The static files are at web-ui/dist
- The static files are installed by the debian package
at /usr/share/pixelated-user-agent

This change removed the third non-existent possibility that was
causing errors sometimes in a new environment (service/web-ui/dist)

4 years agoRemoves unused method
Thais Siqueira [Thu, 22 Dec 2016 17:11:26 +0000 (15:11 -0200)]
Removes unused method

4 years agoChange python-gnupg to use our branch of key extension
Thais Siqueira [Wed, 21 Dec 2016 19:57:04 +0000 (17:57 -0200)]
Change python-gnupg to use our branch of key extension

4 years ago[#851] minor refactoring, and using the right keymanager branch
NavaL [Mon, 5 Dec 2016 17:03:24 +0000 (18:03 +0100)]
[#851] minor refactoring, and using the right keymanager branch

4 years ago[#850] refactoring as a result of moving should_renew to be in key
NavaL [Tue, 29 Nov 2016 14:53:53 +0000 (15:53 +0100)]
[#850] refactoring as a result of moving should_renew to be in key

4 years ago[#850] keys will now be renewed two months before expiry date
NavaL [Mon, 28 Nov 2016 16:13:54 +0000 (17:13 +0100)]
[#850] keys will now be renewed two months before expiry date

4 years ago[#815] regenerating new keys when the current one expires
NavaL [Mon, 21 Nov 2016 13:23:20 +0000 (14:23 +0100)]
[#815] regenerating new keys when the current one expires

4 years ago[#815] regenerating new keys when the current one expires
NavaL [Mon, 21 Nov 2016 13:23:20 +0000 (14:23 +0100)]
[#815] regenerating new keys when the current one expires

4 years agoMerge pull request #893 from pixelated/webpack
Anike Arni [Fri, 30 Dec 2016 12:09:22 +0000 (10:09 -0200)]
Merge pull request #893 from pixelated/webpack

Transition from require to webpack

4 years agoDelete require config file main.js
Anike Arni [Thu, 29 Dec 2016 13:42:11 +0000 (11:42 -0200)]
Delete require config file main.js

4 years agoMove package script to npm
Anike Arni [Thu, 29 Dec 2016 13:39:47 +0000 (11:39 -0200)]
Move package script to npm

4 years agoAdds back missing foundation bower dependency to fix build
Anike Arni [Thu, 29 Dec 2016 13:24:04 +0000 (11:24 -0200)]
Adds back missing foundation bower dependency to fix build

4 years agoMove aliases to common folder for local and production compilation
Anike Arni [Thu, 29 Dec 2016 12:54:40 +0000 (10:54 -0200)]
Move aliases to common folder for local and production compilation

4 years agoCompile sandbox files through webpack as well
Anike Arni [Thu, 29 Dec 2016 12:54:12 +0000 (10:54 -0200)]
Compile sandbox files through webpack as well

4 years agoMakes sure builds include all necessary files
Anike Arni [Thu, 29 Dec 2016 12:26:06 +0000 (10:26 -0200)]
Makes sure builds include all necessary files

4 years agoUse only dist folder for serving application
Anike Arni [Thu, 29 Dec 2016 11:44:31 +0000 (09:44 -0200)]
Use only dist folder for serving application

4 years agoFixes offcanvas menu by moving foundation back to index.html
Anike Arni [Wed, 28 Dec 2016 21:02:50 +0000 (19:02 -0200)]
Fixes offcanvas menu by moving foundation back to index.html

4 years agoAdd compiled files to gitignore
Anike Arni [Wed, 28 Dec 2016 19:54:21 +0000 (17:54 -0200)]
Add compiled files to gitignore

4 years agoRemove requirejs compilation taks and options
Anike Arni [Wed, 28 Dec 2016 19:53:34 +0000 (17:53 -0200)]
Remove requirejs compilation taks and options

4 years agoUse webpack files for packaging
Anike Arni [Wed, 28 Dec 2016 19:51:54 +0000 (17:51 -0200)]
Use webpack files for packaging

4 years agoUse minified files for dependencies and copy them to dist folder with webpack
Anike Arni [Wed, 28 Dec 2016 19:18:45 +0000 (17:18 -0200)]
Use minified files for dependencies and copy them to dist folder with webpack

4 years agoMove foundation from bower to npm and package them with webpack
Anike Arni [Wed, 28 Dec 2016 18:16:56 +0000 (16:16 -0200)]
Move foundation from bower to npm and package them with webpack

4 years agoUpdate package script to use webpack files
Anike Arni [Wed, 28 Dec 2016 17:55:53 +0000 (15:55 -0200)]
Update package script to use webpack files

4 years agoBundles local files that were previously in script tags with webpack for optimization
Anike Arni [Wed, 28 Dec 2016 17:10:46 +0000 (15:10 -0200)]
Bundles local files that were previously in script tags with webpack for optimization

4 years agoCopy all necessary assest to dist folder to package, via webpack
Anike Arni [Wed, 28 Dec 2016 13:08:00 +0000 (11:08 -0200)]
Copy all necessary assest to dist folder to package, via webpack

4 years agoOutput javascript bundle in dist folder and use it locally
Anike Arni [Wed, 28 Dec 2016 12:43:25 +0000 (10:43 -0200)]
Output javascript bundle in dist folder and use it locally

4 years agoClarifies how js files are compiled by creating separate npm task
Anike Arni [Tue, 27 Dec 2016 17:38:37 +0000 (15:38 -0200)]
Clarifies how js files are compiled by creating separate npm task

4 years agoFixes jshint by adding semicolon in index.js
Anike Arni [Tue, 27 Dec 2016 17:33:22 +0000 (15:33 -0200)]
Fixes jshint by adding semicolon in index.js

4 years agoAdd webpack compilation to build, fix aliases, and add babel
Anike Arni [Tue, 27 Dec 2016 17:15:39 +0000 (15:15 -0200)]
Add webpack compilation to build, fix aliases, and add babel

4 years agoAdds index file for loading app with webpack
Anike Arni [Tue, 27 Dec 2016 13:21:12 +0000 (11:21 -0200)]
Adds index file for loading app with webpack

4 years agoRemoves almond from package.json as it will not be needed with webpack
Anike Arni [Tue, 27 Dec 2016 12:39:08 +0000 (10:39 -0200)]
Removes almond from package.json as it will not be needed with webpack

4 years agoRemove uneccessarily aliases in webpack
Anike Arni [Tue, 27 Dec 2016 12:12:05 +0000 (10:12 -0200)]
Remove uneccessarily aliases in webpack

4 years agoMove all bower dependencies to npm
Anike Arni [Tue, 27 Dec 2016 12:09:30 +0000 (10:09 -0200)]
Move all bower dependencies to npm

4 years agoCreate webpack config file and add aliases
Anike Arni [Tue, 27 Dec 2016 11:53:48 +0000 (09:53 -0200)]
Create webpack config file and add aliases

4 years agoRemoves all unecessary node modules references from package.json
Anike Arni [Tue, 27 Dec 2016 11:31:34 +0000 (09:31 -0200)]
Removes all unecessary node modules references from package.json

4 years agoRemoves inexistent link
Tayane Fernandes [Thu, 22 Dec 2016 19:10:52 +0000 (17:10 -0200)]
Removes inexistent link

4 years agoChanges board link
Tayane Fernandes [Thu, 22 Dec 2016 18:21:50 +0000 (16:21 -0200)]
Changes board link

4 years agoFixes the steps
Tayane Fernandes [Thu, 22 Dec 2016 18:19:11 +0000 (16:19 -0200)]
Fixes the steps

4 years agoAdds link to 'Furter Notes' and 'See the results'
Tayane Fernandes [Thu, 22 Dec 2016 17:57:20 +0000 (15:57 -0200)]
Adds link to 'Furter Notes' and 'See the results'

4 years agoOrganizes installation steps
Tayane Fernandes [Thu, 22 Dec 2016 16:42:59 +0000 (14:42 -0200)]
Organizes installation steps

4 years agoUpdates board link
Tayane Fernandes [Thu, 22 Dec 2016 15:21:23 +0000 (13:21 -0200)]
Updates board link

4 years agoRevert "Background settings"
Tayane Fernandes [Tue, 20 Dec 2016 17:58:06 +0000 (15:58 -0200)]
Revert "Background settings"

This reverts commit eae2e182940f34050c464c3c7f0e406934578969.

4 years agoRevert "Removing specific background"
Tayane Fernandes [Tue, 20 Dec 2016 17:57:50 +0000 (15:57 -0200)]
Revert "Removing specific background"

This reverts commit 20d93106c8d373a5438d6d69bff38c7ecd393d5a.

4 years agoRevert "Adding new css"
Tayane Fernandes [Tue, 20 Dec 2016 17:57:35 +0000 (15:57 -0200)]
Revert "Adding new css"

This reverts commit 652c1109ab0793fc7f3431d5ebf911c0bb6a72f2.

4 years agoAdding new css
SweetVirginia [Tue, 20 Dec 2016 17:45:45 +0000 (15:45 -0200)]
Adding new css

4 years agoRemoving specific background
SweetVirginia [Tue, 20 Dec 2016 17:33:28 +0000 (15:33 -0200)]
Removing specific background

4 years agoBackground settings
SweetVirginia [Tue, 20 Dec 2016 17:30:34 +0000 (15:30 -0200)]
Background settings

4 years ago[#847] Fixes the "Body" placeholder issue that isn't moving to body when clicked
Tayane Fernandes [Mon, 19 Dec 2016 18:08:30 +0000 (16:08 -0200)]
[#847] Fixes the "Body" placeholder issue that isn't moving to body when clicked

The hidden label was overlapping the placeholder and this was preventing the
user to click

4 years ago[#847] Changing the 'Body' placeholder to be 'Message'
Tayane Fernandes [Mon, 19 Dec 2016 17:58:02 +0000 (15:58 -0200)]
[#847] Changing the 'Body' placeholder to be 'Message'

4 years ago[#845] Fixes pep8 line spacing
Anike Arni [Wed, 14 Dec 2016 19:26:01 +0000 (17:26 -0200)]
[#845] Fixes pep8 line spacing

with @thaissiqueira

4 years ago[#845] Removes transparency from tag suggestions
Anike Arni [Wed, 14 Dec 2016 19:21:14 +0000 (17:21 -0200)]
[#845] Removes transparency from tag suggestions

With @thaissiqueira.

4 years ago[#845] Remove spacing between tag input and sugestions
Anike Arni [Wed, 14 Dec 2016 18:58:22 +0000 (16:58 -0200)]
[#845] Remove spacing between tag input and sugestions

with @thaissiqueira

4 years ago[#845] Fixes absence of email in functional test
Anike Arni [Wed, 14 Dec 2016 18:23:37 +0000 (16:23 -0200)]
[#845] Fixes absence of email in functional test

We noticed we had timeout issues while waiting for an email in inbox.
To solve this, we stopped using deferred in async calls and used
@wait_for instead. With @thaissiqueira.

4 years ago[#845] Move add tag button to tag icon.
Anike Arni [Wed, 14 Dec 2016 13:28:47 +0000 (11:28 -0200)]
[#845] Move add tag button to tag icon.

With @thaissiqueira.

4 years ago[#845] Doesn't hide tag button when adding new tag
Anike Arni [Tue, 13 Dec 2016 19:52:07 +0000 (17:52 -0200)]
[#845] Doesn't hide tag button when adding new tag

with @thaissiqueira

4 years agoMove functional tests to find elements with waits
Tulio Casagrande [Wed, 14 Dec 2016 16:49:23 +0000 (14:49 -0200)]
Move functional tests to find elements with waits

We were using the Selenium native find_element in a few places, which
could raise a TimeoutException. I changed to use our timed out version
and also renamed the internal methods to prevent misuse

4 years ago[#869] Move from stdlib to twisted trial unittest
Denis Costa [Wed, 14 Dec 2016 13:58:14 +0000 (11:58 -0200)]
[#869] Move from stdlib to twisted trial unittest

4 years agoIncrease timeout between interstitial and inbox
Tulio Casagrande [Wed, 14 Dec 2016 13:41:46 +0000 (11:41 -0200)]
Increase timeout between interstitial and inbox

When testing against staging, sometimes the first login is not completed
within the default 20 seconds, so I doubled the timeout.

4 years ago[project-issues#410] change gif source
Zara Gebru [Tue, 13 Dec 2016 14:32:31 +0000 (15:32 +0100)]
[project-issues#410] change gif source

4 years ago[project-issues#410] initalize pitchme presentation
Zara Gebru [Tue, 13 Dec 2016 14:26:50 +0000 (15:26 +0100)]
[project-issues#410] initalize pitchme presentation

4 years agoRemove dead code
Tulio Casagrande [Thu, 8 Dec 2016 17:52:34 +0000 (15:52 -0200)]
Remove dead code