Commit Graph

541 Commits (237636b129b9d32aad8dea3fb1c5893032a62e90)

Author SHA1 Message Date
Andrii Ostapenko 0cc294c81a
Fix for gravatar email processing
Change-Id: Ibb974437a68157e01dc89cc17ae29aaa5ea0949d
Signed-off-by: Andrii Ostapenko <aostapenko@stackalytics.io>
2021-03-28 22:52:50 -05:00
Andrii Ostapenko ff530be322
Open avatar doc page in a new tab
Also set min-height for user profile container.

Change-Id: I4cdd13d966da9e1784084d727bb31ff18504f305
Signed-off-by: Andrii Ostapenko <aostapenko@stackalytics.io>
2021-03-27 23:15:35 -05:00
Andrii Ostapenko 3e3eccc4c3
Remove gravatar_email field and use first email in profile instead
Also use larger image for user profile and include link to
related documentation.

Change-Id: Ib81f6ecf03f1d00cff307b97aae53538c57d4dc6
Signed-off-by: Andrii Ostapenko <aostapenko@stackalytics.io>
2021-03-27 21:28:02 -05:00
Andrii Ostapenko 35bb90e8fd
Add ability to specify prefered gravatar email for user profile
Stackalytics does not ensure configuration email order during
processing. Thus additional field is required to ensure a proper
email is used to compile gravatar url.

Change-Id: I01805b1dec76cd1abd57a82f75cc158696f5c165
Signed-off-by: Andrii Ostapenko <aostapenko@stackalytics.io>
2021-03-27 00:46:39 -05:00
Sergey Nikitin d80b712f59 Added handling of key erorrs
Change-Id: Ic06725f3be524a553d4701c8019eb1a1741fe408
2020-12-27 09:44:43 +04:00
Sergey Nikitin 28443ccbe1 Added get() to get attrs safe
Change-Id: Ie9edf5076d18abaf3c387e58ece6ae99102f53bc
2020-12-23 10:28:11 +04:00
Sergey Nikitin 213b0336f0 Handle empty owner
Change-Id: I59f1f87cd666df8eea202373ad70bcdd7d1801eb
2020-12-22 22:06:48 +04:00
Sergey Nikitin b69d2b008b Added github token support for github autentification
Change-Id: I5869e01a9e8816d7aee1d783c8e091632cda707a
2020-11-17 16:47:22 +04:00
Sergey Nikitin 70e44c5f1a FIxed py38 tests
Change-Id: Id5f5c4bcee5f3f30e3e8c0ef04e9b7474a76b441
2020-10-27 21:49:04 +04:00
Sergey Nikitin 4378355164 Update hacking
Change-Id: Id7a40b422eaa2874b1e1402c12f28a2fa4f45daa
2020-09-18 12:22:53 +04:00
Andrii Ostapenko 8a2d98fc7a Use normalized company name in user links
Original company names are currently used in activity logs links and
user profile that break the link in case if company name contains '&'
or any other non-safe for url symbol. Thus avoid using original names
in favor of normalized ones.

E.g. https://www.stackalytics.com/?user_id=aostapenko

Change-Id: Ia508b12e26138dcced65a1c9a405f01aa5b54271
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-09-01 07:13:46 +00:00
Zuul 44448e4504 Merge "Show comments left to changes without vote" 2019-09-16 19:32:50 +00:00
Zuul 3eea6eb19d Merge "Add tooltip to star symbol which marks core reviewers" 2019-09-16 19:32:49 +00:00
Zuul f4af5049cf Merge "Update release for commit after date update" 2019-08-28 18:36:27 +00:00
Zuul 7eaea71b6b Merge "Allow to query Gerrit behind corporate proxy" 2019-08-28 18:08:57 +00:00
Roman Gorshunov 6d213fbb22 Show comments left to changes without vote
Patch allows to show number of comments left to changes w/o left
vote (i.e. when Vote is left to default value "0").

Change-Id: Id89bdd5fe4233589d9f2c11ed6dfaffebec44a86
2019-08-20 14:56:02 +02:00
Roman Gorshunov 2ef241db44 Add tooltip to star symbol which marks core reviewers
This commit adds a mouseover text to the star symbol which marks
members of core reviewers team.

Change-Id: I9847729bf36f069c47e841e036859d29262e783c
2019-08-12 17:10:45 +02:00
Sergey Nikitin 639dc820ce Added ability to read emails from *.txt archives
Change-Id: I34095519497f1a0c85b6d640d5457af7ea4df9f9
2019-08-11 14:17:01 +04:00
Andrii Ostapenko ebeee06e8e Allow to query Gerrit behind corporate proxy
Adds proxy_command configuration option to allow paramiko to communicate
with Gerrit behind corporate proxy.

Change-Id: I5418b31b15b83f55c2f78636ffa958755c55de8d
2019-08-08 23:38:25 +00:00
Andrii Ostapenko f539bc01dd Update release for commit after date update
Updates commit release after commit date is updated with change merge date
in case if commit is not a part of release_index.

Change-Id: I94db5fb02ddede17b3958150fdbcffc52367ea21
2019-06-26 11:09:01 -05:00
Andrii Ostapenko 8b5345b458 Adds support of multiple gerrit_ids
Previously only one gerrit_id for user_profile was supported and took
part in record_processing. In case of using multiple Gerrits or multiple
gerrit_ids in one Gerrit, while merging profiles all except one
gerrit_ids were rejected.

This commit adds new user gerrit_ids user_profile key containing all
required mapping between multiple Gerrits and gerrit_ids. Each gerrit_id
acts the same way as old gerrit_id during review record processing, that
potentially increases success rate of record identification and
decreses amount of unnecessary launchpad user queries by storing user
with all gerrit_ids as a primary key instead of one.

Also changes to UI added to represent multiple Gerrit accounts.

Change-Id: Id20c7ed46cd409946b9a5247a94331860895f859
2019-06-20 15:20:41 +00:00
Sergey Nikitin bac3247895 Added logs for dump
Change-Id: Iea0db1f7681b9847a9c0186ac311b501a47c5c27
2019-05-23 15:16:21 +04:00
Sergey Nikitin 5831700e22 Changed log for members
Change-Id: I06aff7bf4164541f7982f3534c2758bf16f207e3
2019-05-22 18:11:50 +04:00
Zuul f98957e11e Merge "Changed default review url" 2019-05-17 16:10:13 +00:00
Sergey Nikitin acdff467af Changed default review url
Change-Id: Iff57afe52c1a6344ee37f3d89fb15feb8cec703d
2019-05-17 19:50:29 +04:00
Sergey Nikitin cea75a5d4d Added more logs
Change-Id: Ie301d37b14256155297c1026df67a3e93a4c3e20
2019-05-17 19:36:31 +04:00
Zuul 37c2ebe9d0 Merge "Add Excel export button to contribution table" 2019-04-28 13:13:49 +00:00
Zuul 30ba9d6507 Merge "Process disagreements after cores are updated" 2019-04-28 13:01:14 +00:00
Zuul 657b983e93 Merge "Improve accuracy of merge date finding" 2019-04-28 13:01:12 +00:00
Zuul 33caa41202 Merge "Added more logs" 2019-04-21 06:52:00 +00:00
Sergey Nikitin c51cb5d85f Added more logs
Change-Id: I2458043e5c7fcb363dd5a6249e124f369f285449
2019-04-21 10:31:46 +04:00
Sergey Nikitin c2009e73a4 Fixed launchpad name
Change-Id: I4e71b2a625e6b40dc0cecd54b277cd5f41881e33
2019-04-21 10:14:07 +04:00
Zuul a7e951a6de Merge "Changed URLs on opendev" 2019-04-20 21:56:52 +00:00
Sergey Nikitin 6d72f722e4 Changed URLs on opendev
Change-Id: I28996c9f5d38eacbc7b1412b45cac2c2d2deddd6
2019-04-21 01:38:29 +04:00
Sergey Nikitin f6234f4aa0 Replace arg with get
Change-Id: Id5d2ea2313da182f1d8a2e310908db79f26144f1
2019-04-21 01:26:08 +04:00
Sergey Nikitin 5b90184272 Fix pep8 tests
Lines were too long (> 79)

Change-Id: I9f317b0303dfc61ee7d31fe6c9b8a29f56cae5a9
2019-04-12 11:43:15 +04:00
Ian Wienand bed964d2d9 Merge "Replace openstack.org git:// URLs with https://" 2019-04-10 01:06:08 +00:00
Andrii Ostapenko a8070a9869 Add Excel export button to contribution table
Change-Id: Icbfca66f21bde65bebf8c2d84bbe2c245a1426e0
2019-03-26 22:01:52 -05:00
Andrii Ostapenko 36f58b5136 Process disagreements after cores are updated
With this commit disagreements will be processed after cores are
determined. This way disagreements will be processed with actual core
list or, even more for initial data population, with existent core list.
In last case disagreements could not be determined at all.

Change-Id: Iecc79db81b5727bf4682bed0ec58d97e104266fb
2019-03-26 17:05:22 -05:00
Andrii Ostapenko 639b13ab0b Improve accuracy of merge date finding
Before this commit merge date was determinde by review lastUpdated
attribute, that could lead to severe inaccuracy in case if review was
updated by any comment after change is merged (e.g. cherry-pick via
gerrit in half a year)

Change-Id: Id579096ee3c34516382dcca14a487cd67ae2013c
2019-03-25 17:06:49 -05:00
Zuul 953dbc3771 Merge "Limit changes list in review report on server side" 2019-03-25 12:02:07 +00:00
Ian Wienand 60bfae86d3 Replace openstack.org git:// URLs with https://
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.

This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.

This update should result in no functional change.

For more information see the thread at

 http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html

Change-Id: I2e23cd9cf70cfa53da57eba2605063b0664f79b5
2019-03-24 20:36:09 +00:00
Zuul fbd22657db Merge "Allow to exclude module name from launchpad query" 2019-03-24 16:51:35 +00:00
Andrii Ostapenko 627edcf745 Limit changes list in review report on server side
Also adds an option 'report-default-limit' that allows to configure
default amount of changes to present in open changes report, in case
if limit query parameter is not provided.

Change-Id: I916d40c934a1dc2977ac76c4b0ceed3c80385926
2019-03-23 22:31:40 +00:00
Zuul d23e09f337 Merge "Remove hostname hardcode from commit records links" 2019-03-12 18:26:03 +00:00
Zuul 5e50044176 Merge "Support empty ssh_key_filename from configuration" 2019-03-12 17:59:17 +00:00
Zuul 343902e0d9 Merge "Do not rely on organization name for review processing" 2019-03-12 17:24:32 +00:00
Zuul e5af1187d3 Merge "Utilize gerrit ability to filter ls-projects" 2019-03-12 17:19:32 +00:00
Zuul a1cbfb5304 Merge "Add support of multiple Gerrits for review metrics" 2019-03-12 16:58:52 +00:00
Zuul f8c71a0d2e Merge "add cncf and redesign" 2019-03-11 17:22:35 +00:00