oweals/gnunet.git
5 years agoRefactor, simplify, delete code
Julius Bünger [Mon, 13 Aug 2018 12:32:07 +0000 (14:32 +0200)]
Refactor, simplify, delete code

5 years agoMake non-exported functions static
Julius Bünger [Fri, 10 Aug 2018 10:50:39 +0000 (12:50 +0200)]
Make non-exported functions static

5 years agoUse synchronised logic for closing channels (rps service)
Julius Bünger [Fri, 10 Aug 2018 10:44:51 +0000 (12:44 +0200)]
Use synchronised logic for closing channels (rps service)

5 years agomoved test files and fixed namestore
Phil [Mon, 13 Aug 2018 09:23:13 +0000 (11:23 +0200)]
moved test files and fixed namestore

5 years agofix dep handling rest plugin
Schanzenbach, Martin [Mon, 13 Aug 2018 07:56:48 +0000 (09:56 +0200)]
fix dep handling rest plugin

5 years agofix build; move rest plugins to separate folder
Schanzenbach, Martin [Mon, 13 Aug 2018 06:51:19 +0000 (08:51 +0200)]
fix build; move rest plugins to separate folder

5 years ago-fix peerinfo warning
Phil [Sun, 12 Aug 2018 21:37:32 +0000 (23:37 +0200)]
-fix peerinfo warning

5 years agoChanged Namestore API, changed error handling, changed gns record json
Phil [Sun, 12 Aug 2018 21:11:10 +0000 (23:11 +0200)]
Changed Namestore API, changed error handling, changed gns record json

5 years agorewrite error handling and subsystem PUT
Phil [Sat, 11 Aug 2018 23:46:11 +0000 (01:46 +0200)]
rewrite error handling and subsystem PUT

5 years agosplit namespace of put request in identity rest api
Phil [Sat, 11 Aug 2018 12:21:58 +0000 (14:21 +0200)]
split namespace of put request in identity rest api

5 years agofix build order: peerinfo logic depending on transport must be in peerinfo-tool
Christian Grothoff [Sat, 11 Aug 2018 08:40:26 +0000 (10:40 +0200)]
fix build order: peerinfo logic depending on transport must be in peerinfo-tool

5 years agointroduce allocation wrappers to improve libgcrypt performance
Christian Grothoff [Sat, 11 Aug 2018 04:20:40 +0000 (06:20 +0200)]
introduce allocation wrappers to improve libgcrypt performance

5 years agoadded additional namespaces in identity rest api
Phil [Fri, 10 Aug 2018 22:35:35 +0000 (00:35 +0200)]
added additional namespaces in identity rest api

5 years agofix identity rename
Phil [Fri, 10 Aug 2018 21:50:40 +0000 (23:50 +0200)]
fix identity rename

5 years agoupdate potfiles
Christian Grothoff [Fri, 10 Aug 2018 19:53:22 +0000 (21:53 +0200)]
update potfiles

5 years agonicer pq logging
Christian Grothoff [Fri, 10 Aug 2018 19:53:02 +0000 (21:53 +0200)]
nicer pq logging

5 years agodo not warn about empty bodies
Christian Grothoff [Fri, 10 Aug 2018 16:52:51 +0000 (18:52 +0200)]
do not warn about empty bodies

5 years agochange makefile reorder back
Schanzenbach, Martin [Fri, 10 Aug 2018 08:03:58 +0000 (10:03 +0200)]
change makefile reorder back

5 years agoattempt #5422
Schanzenbach, Martin [Thu, 9 Aug 2018 22:47:29 +0000 (00:47 +0200)]
attempt #5422

5 years agotemp fix for json deps
Schanzenbach, Martin [Thu, 9 Aug 2018 22:25:38 +0000 (00:25 +0200)]
temp fix for json deps

5 years agofix parallel build
Schanzenbach, Martin [Thu, 9 Aug 2018 22:03:42 +0000 (00:03 +0200)]
fix parallel build

5 years agoMerge branch 'gsoc2018/rest_api'
Schanzenbach, Martin [Thu, 9 Aug 2018 21:57:14 +0000 (23:57 +0200)]
Merge branch 'gsoc2018/rest_api'

5 years agostyle
Schanzenbach, Martin [Thu, 9 Aug 2018 21:51:46 +0000 (23:51 +0200)]
style

5 years agominor formatting
Christian Grothoff [Thu, 9 Aug 2018 15:14:09 +0000 (17:14 +0200)]
minor formatting

5 years agoadjust RPS to new CADET API semantic, dead code elimination
Christian Grothoff [Thu, 9 Aug 2018 15:01:48 +0000 (17:01 +0200)]
adjust RPS to new CADET API semantic, dead code elimination

5 years agomerge
Christian Grothoff [Thu, 9 Aug 2018 14:43:47 +0000 (16:43 +0200)]
merge

5 years agochange CADET channel destroy API to not call the callback if the client initiated...
Christian Grothoff [Thu, 9 Aug 2018 14:35:32 +0000 (16:35 +0200)]
change CADET channel destroy API to not call the callback if the client initiated the channel's destruction

5 years agouse fprintf, change output style
Schanzenbach, Martin [Thu, 9 Aug 2018 14:22:33 +0000 (16:22 +0200)]
use fprintf, change output style

5 years agoactually fix revocation
Schanzenbach, Martin [Thu, 9 Aug 2018 14:13:01 +0000 (16:13 +0200)]
actually fix revocation

5 years agosyntax
Schanzenbach, Martin [Thu, 9 Aug 2018 14:10:56 +0000 (16:10 +0200)]
syntax

5 years agofix output; fix revocation
Schanzenbach, Martin [Thu, 9 Aug 2018 14:07:33 +0000 (16:07 +0200)]
fix output; fix revocation

5 years agoissue case insensitivity
Schanzenbach, Martin [Thu, 9 Aug 2018 12:22:40 +0000 (14:22 +0200)]
issue case insensitivity

5 years agoAdd docstrings to recently introduced functions
Julius Bünger [Thu, 9 Aug 2018 11:54:10 +0000 (13:54 +0200)]
Add docstrings to recently introduced functions

5 years agofix case insensitivity
Schanzenbach, Martin [Thu, 9 Aug 2018 10:58:48 +0000 (12:58 +0200)]
fix case insensitivity

5 years agoApparently ignoring return values from add_now is almost always a bug
Schanzenbach, Martin [Thu, 9 Aug 2018 09:23:07 +0000 (11:23 +0200)]
Apparently ignoring return values from add_now is almost always a bug

5 years agofix ego not found
Schanzenbach, Martin [Thu, 9 Aug 2018 09:10:46 +0000 (11:10 +0200)]
fix ego not found

5 years agoupdate
Schanzenbach, Martin [Thu, 9 Aug 2018 08:54:21 +0000 (10:54 +0200)]
update

5 years agouse to_string for attribute
Schanzenbach, Martin [Thu, 9 Aug 2018 08:32:31 +0000 (10:32 +0200)]
use to_string for attribute

5 years ago-Merge branch 'master' into gsoc2018/rest_api
Phil [Thu, 9 Aug 2018 08:23:29 +0000 (10:23 +0200)]
-Merge branch 'master' into gsoc2018/rest_api

5 years agoPeerinfo Rest API finished
Phil [Wed, 8 Aug 2018 21:26:11 +0000 (23:26 +0200)]
Peerinfo Rest API finished

5 years ago-fix added timeout for gns Rest plugin
Phil [Wed, 8 Aug 2018 21:25:44 +0000 (23:25 +0200)]
-fix added timeout for gns Rest plugin

5 years agoNamestore Rest API finished
Phil [Wed, 8 Aug 2018 21:24:10 +0000 (23:24 +0200)]
Namestore Rest API finished

5 years ago-wip namestore
Phil [Wed, 8 Aug 2018 01:59:08 +0000 (03:59 +0200)]
-wip namestore

5 years agoRestructure removal of peers during shutdown (rps service)
Julius Bünger [Tue, 7 Aug 2018 14:02:36 +0000 (16:02 +0200)]
Restructure removal of peers during shutdown (rps service)

5 years agoremove jsonapi dep from copying
Schanzenbach, Martin [Mon, 6 Aug 2018 14:36:58 +0000 (16:36 +0200)]
remove jsonapi dep from copying

5 years agoensure ego identifiers are lowercase
Schanzenbach, Martin [Mon, 6 Aug 2018 14:05:57 +0000 (16:05 +0200)]
ensure ego identifiers are lowercase

5 years agoadd copying rest plugin
Schanzenbach, Martin [Mon, 6 Aug 2018 12:34:56 +0000 (14:34 +0200)]
add copying rest plugin

5 years agofix gns and identity test script
Phil [Mon, 6 Aug 2018 00:26:04 +0000 (02:26 +0200)]
fix gns and identity test script

5 years agoGNS REST API finished
Phil [Mon, 6 Aug 2018 00:09:57 +0000 (02:09 +0200)]
GNS REST API finished

5 years agoIdentity REST API finished
Phil [Sun, 5 Aug 2018 20:43:35 +0000 (22:43 +0200)]
Identity REST API finished

5 years agoREADME.md: er, not ssh -- bring back rsh!
dvn [Thu, 2 Aug 2018 13:07:11 +0000 (15:07 +0200)]
README.md: er, not ssh -- bring back rsh!

5 years agoREADME.md: add section on VPN usage
dvn [Thu, 2 Aug 2018 13:01:41 +0000 (15:01 +0200)]
README.md: add section on VPN usage

This section and filesharing are almost verbatim copies of a tutorial
wldhx made half-a-year ago.

5 years agodocker: move Dockerfile to root of repo
dvn [Thu, 2 Aug 2018 12:33:18 +0000 (14:33 +0200)]
docker: move Dockerfile to root of repo

This is because of a limitation of Docker, which requires that you run
the Dockerfile from the directory in which you will copy in data. Moving
it to the root of the repo allows us to COPY in the code instead of
doing a 'git pull' from the container.

5 years agoREADME.md: provide link to libmicrohttpd
dvn [Thu, 2 Aug 2018 11:35:47 +0000 (13:35 +0200)]
README.md: provide link to libmicrohttpd

5 years agoadd peerinfo rest api
Phil [Thu, 2 Aug 2018 01:09:22 +0000 (03:09 +0200)]
add peerinfo rest api

5 years agofix lowercase identities
Phil [Thu, 2 Aug 2018 01:08:36 +0000 (03:08 +0200)]
fix lowercase identities

5 years agodocker: Add a docker quick-start directory
dvn [Wed, 1 Aug 2018 15:24:40 +0000 (17:24 +0200)]
docker: Add a docker quick-start directory

5 years agoREADME.md: Add examples for using gnunet-fs
dvn [Wed, 1 Aug 2018 14:28:18 +0000 (16:28 +0200)]
README.md: Add examples for using gnunet-fs

5 years agoREADME.md: make architecture svg larger
dvn [Wed, 1 Aug 2018 12:23:49 +0000 (14:23 +0200)]
README.md: make architecture svg larger

5 years agoREADME.md: Add file transfer via cadet usage example.
dvn [Wed, 1 Aug 2018 12:19:41 +0000 (14:19 +0200)]
README.md: Add file transfer via cadet usage example.

5 years agoREADME.md: Fix image alignment, and sizing
dvn [Wed, 1 Aug 2018 11:08:50 +0000 (13:08 +0200)]
README.md: Fix image alignment, and sizing

5 years agoREADME.md: syntax fix, and logo resize
dvn [Wed, 1 Aug 2018 11:04:32 +0000 (13:04 +0200)]
README.md: syntax fix, and logo resize

5 years agoREADME.md: Create a Markdown README document
dvn [Wed, 1 Aug 2018 10:52:33 +0000 (12:52 +0200)]
README.md: Create a Markdown README document

5 years ago-wip peerinfo, async call work in progress
Phil [Wed, 1 Aug 2018 01:27:43 +0000 (03:27 +0200)]
-wip peerinfo, async call work in progress

5 years ago-fix json and namestore
Phil [Wed, 1 Aug 2018 01:26:50 +0000 (03:26 +0200)]
-fix json and namestore

5 years agofix makefiles
Phil [Wed, 1 Aug 2018 01:25:18 +0000 (03:25 +0200)]
fix makefiles

5 years agoGNUNET_SCHEDULER_do_work: always check if shutdown is necessary and update wakeup
lurchi [Sun, 29 Jul 2018 16:18:34 +0000 (18:18 +0200)]
GNUNET_SCHEDULER_do_work: always check if shutdown is necessary and update wakeup
time

5 years agodocumentation: update formulations
Julius Bünger [Fri, 27 Jul 2018 20:33:02 +0000 (22:33 +0200)]
documentation: update formulations

5 years agoRemove obsolete DLL for cancellations of tasks
Julius Bünger [Fri, 27 Jul 2018 18:01:28 +0000 (20:01 +0200)]
Remove obsolete DLL for cancellations of tasks

5 years agoremove now obsolete usage of channel-related flags
Julius Bünger [Fri, 27 Jul 2018 18:00:45 +0000 (20:00 +0200)]
remove now obsolete usage of channel-related flags

5 years agoFix rps service: restructure channel-related code
Julius Bünger [Fri, 27 Jul 2018 17:57:03 +0000 (19:57 +0200)]
Fix rps service: restructure channel-related code

There is still an error left.
Valgrind reports
==2008== Invalid read of size 8
==2008==    at 0x50662A4: GNUNET_CONTAINER_multipeermap_contains (container_multipeermap.c:542)
==2008==    by 0x114E8A: Peers_remove_peer (gnunet-service-rps.c:1306)
==2008==    by 0x114E65: destroy_peer (gnunet-service-rps.c:1283)
==2008==    by 0x50A29B2: GNUNET_SCHEDULER_do_work (scheduler.c:2104)
==2008==    by 0x50A382D: select_loop (scheduler.c:2400)
==2008==    by 0x509DE48: GNUNET_SCHEDULER_run (scheduler.c:725)
==2008==    by 0x50A989E: GNUNET_SERVICE_run_ (service.c:1875)
==2008==    by 0x11EE83: main (gnunet-service-rps.c:4584)
==2008==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==2008==
==2008==
==2008== Process terminating with default action of signal 11 (SIGSEGV)
==2008==  Access not within mapped region at address 0x0
==2008==    at 0x50662A4: GNUNET_CONTAINER_multipeermap_contains (container_multipeermap.c:542)
==2008==    by 0x114E8A: Peers_remove_peer (gnunet-service-rps.c:1306)
==2008==    by 0x114E65: destroy_peer (gnunet-service-rps.c:1283)
==2008==    by 0x50A29B2: GNUNET_SCHEDULER_do_work (scheduler.c:2104)
==2008==    by 0x50A382D: select_loop (scheduler.c:2400)
==2008==    by 0x509DE48: GNUNET_SCHEDULER_run (scheduler.c:725)
==2008==    by 0x50A989E: GNUNET_SERVICE_run_ (service.c:1875)
==2008==    by 0x11EE83: main (gnunet-service-rps.c:4584)

This seems to only appear at shutdown so it is not dramatic.

5 years agofix rps service: put peer id into structure once
Julius Bünger [Thu, 26 Jul 2018 15:05:55 +0000 (17:05 +0200)]
fix rps service: put peer id into structure once

5 years agorps profiler: destroy pending req and rep in right place
Julius Bünger [Thu, 26 Jul 2018 15:04:44 +0000 (17:04 +0200)]
rps profiler: destroy pending req and rep in right place

5 years agorps service: improve logging - log peer id
Julius Bünger [Thu, 26 Jul 2018 14:53:51 +0000 (16:53 +0200)]
rps service: improve logging - log peer id

5 years agofix rps service: don't null out context, just channel
Julius Bünger [Thu, 26 Jul 2018 14:53:24 +0000 (16:53 +0200)]
fix rps service: don't null out context, just channel

5 years agorps service: don't send 'ping' twice
Julius Bünger [Thu, 26 Jul 2018 14:52:36 +0000 (16:52 +0200)]
rps service: don't send 'ping' twice

5 years agochange namestore, json handling; fix identity, gns
Phil [Thu, 26 Jul 2018 00:31:30 +0000 (02:31 +0200)]
change namestore, json handling; fix identity, gns

5 years ago-wip namestore api, changed adding gnsrecord
Phil [Wed, 25 Jul 2018 19:57:49 +0000 (21:57 +0200)]
-wip namestore api, changed adding gnsrecord

5 years agofix rps service: better handling of cadet channels
Julius Bünger [Wed, 25 Jul 2018 15:53:31 +0000 (17:53 +0200)]
fix rps service: better handling of cadet channels

5 years agoadded name search
Phil [Wed, 25 Jul 2018 15:43:37 +0000 (17:43 +0200)]
added name search

5 years ago-fix identity file
Phil [Wed, 25 Jul 2018 14:59:08 +0000 (16:59 +0200)]
-fix identity file

5 years agoRemove restrictive and unnecessary assert
lurchi [Tue, 24 Jul 2018 21:37:57 +0000 (23:37 +0200)]
Remove restrictive and unnecessary assert

Using the SCHEDULER_add* functions is now allowed before the first call to GNUNET_SCHEDULER_do_work.

5 years agoalso return empty egos
Schanzenbach, Martin [Tue, 24 Jul 2018 19:49:47 +0000 (21:49 +0200)]
also return empty egos

5 years agofix
Schanzenbach, Martin [Mon, 23 Jul 2018 21:14:17 +0000 (23:14 +0200)]
fix

5 years agofix wrong record type
Schanzenbach, Martin [Mon, 23 Jul 2018 20:58:20 +0000 (22:58 +0200)]
fix wrong record type

5 years agoswitch to gnsrecord reclaim records for OIDC clients
Schanzenbach, Martin [Mon, 23 Jul 2018 20:10:47 +0000 (22:10 +0200)]
switch to gnsrecord reclaim records for OIDC clients

5 years agofix
Schanzenbach, Martin [Mon, 23 Jul 2018 17:29:44 +0000 (19:29 +0200)]
fix

5 years agofix signature check
Schanzenbach, Martin [Mon, 23 Jul 2018 12:10:33 +0000 (14:10 +0200)]
fix signature check

5 years agofix
Schanzenbach, Martin [Mon, 23 Jul 2018 11:55:18 +0000 (13:55 +0200)]
fix

5 years agofixes
Schanzenbach, Martin [Mon, 23 Jul 2018 11:32:54 +0000 (13:32 +0200)]
fixes

5 years agorefactoring of OIDC plugin
Schanzenbach, Martin [Mon, 23 Jul 2018 10:42:18 +0000 (12:42 +0200)]
refactoring of OIDC plugin

5 years agofix build
Schanzenbach, Martin [Sun, 22 Jul 2018 19:49:38 +0000 (21:49 +0200)]
fix build

5 years agotowards secure redirects
Schanzenbach, Martin [Sun, 22 Jul 2018 19:26:47 +0000 (21:26 +0200)]
towards secure redirects

5 years agocleanup
Schanzenbach, Martin [Sun, 22 Jul 2018 16:02:48 +0000 (18:02 +0200)]
cleanup

5 years agoensure ticket contains client id
Schanzenbach, Martin [Sun, 22 Jul 2018 16:01:50 +0000 (18:01 +0200)]
ensure ticket contains client id

5 years agoadd signature check to token endpoint
Schanzenbach, Martin [Sun, 22 Jul 2018 14:37:49 +0000 (16:37 +0200)]
add signature check to token endpoint

5 years agofix code signing
Schanzenbach, Martin [Sun, 22 Jul 2018 13:50:52 +0000 (15:50 +0200)]
fix code signing

5 years agofix subject in JWT
Schanzenbach, Martin [Sat, 21 Jul 2018 11:34:50 +0000 (13:34 +0200)]
fix subject in JWT

5 years agoactually fix
Schanzenbach, Martin [Sat, 21 Jul 2018 11:04:17 +0000 (13:04 +0200)]
actually fix

5 years agofix
Schanzenbach, Martin [Sat, 21 Jul 2018 11:02:18 +0000 (13:02 +0200)]
fix