oweals/gnunet.git
6 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

6 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)

6 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

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

6 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

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

6 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

6 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

6 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

6 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

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

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

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

6 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

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

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

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

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

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

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

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

6 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

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

6 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

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

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

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

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

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

6 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

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

6 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

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

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

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

6 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

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

6 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

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

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

6 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)

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

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

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

6 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

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

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

6 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!

6 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.

6 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.

6 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

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

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

6 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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

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

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

6 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

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

6 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

6 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

6 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.

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

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

6 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.

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

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

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

6 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

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

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

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

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

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

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

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

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

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

6 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

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

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

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

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

6 years agofix timestamps
Schanzenbach, Martin [Sat, 21 Jul 2018 10:50:50 +0000 (12:50 +0200)]
fix timestamps

6 years agofixes for JWT creation
Schanzenbach, Martin [Sat, 21 Jul 2018 10:02:24 +0000 (12:02 +0200)]
fixes for JWT creation

6 years agofix base64urlencode for JWT to adhere to RFC4648
Schanzenbach, Martin [Sat, 21 Jul 2018 08:10:22 +0000 (10:10 +0200)]
fix base64urlencode for JWT to adhere to RFC4648