forked from ucsb-cs/turnin
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathCHANGELOG
177 lines (144 loc) · 6.58 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
CHANGELOG:
2022-10-31 Alexandros K. Antonakakis <[email protected]>
- Improve error messages on setuid for class and user
- Fix potential NULL pointer dereference on pw_name
- Replace localtime with localtime_r
- Fix potential NULL pointer dereference on localtime_r
- Release v3.1.6
2022-10-28 Foivos S. Zakkak <[email protected]>
- Adding a simple github workflow for testing the repository
- Return 0 when exiting from `turnin --version`
2022-04-18 Foivos S. Zakkak <[email protected]>
- Exit turnin on EOF to avoid infinite loops in case of
redirection from wrongly formatted files or dropped ssh sessions
Thank you Alexandros K. Antonakakis for pointing out the issue
- Release v3.1.5
2022-03-24 Foivos S. Zakkak <[email protected]>
- Make verify-turnin score 10/10 in pylint
- Ensure necessary directories are present at DESTDIR
- Release v3.1.4
2022-03-24 Alexandros K. Antonakakis <[email protected]>
- Make verify-turnin work with python 3
- Add verify-turnin usage info in man page
- Make verify-turnin's version same with turnin's version
2016-10-29 Foivos S. Zakkak <[email protected]>
- Revert "Fix penalty for less than 24hours delay"
- Fix mktime() daylight saving changes
- Release v3.1.3
2016-10-04 Foivos S. Zakkak <[email protected]>
- Fix bug in verify-turnin
- Release v3.1.2
2016-09-30 Foivos S. Zakkak <[email protected]>
- Fix verify-turnin to work with late/on_time folder structure
- Release v3.1.1
2016-09-16 Foivos S. Zakkak <[email protected]>
- Fix penalty for less than 24hours delay
- Fix makefile for version.c generation
- Release v3.1.0
2015-08-21 ru108 <https://github.com/ru108>
- Add support for late submissions
- Release v3.0.0
2014-10-08 Foivos S. Zakkak <[email protected]>
- Split version from main source code
2014-10-08 Foivos S. Zakkak <[email protected]>
- Fix bug when turning in directories and include the trailing '/' like
, i.e., `turnin as1@c1 as1/`
- Release v2.3.1
2014-10-07 Antonios A. Chariton <[email protected]>
- Add verify-turnin to verify a turnin
- Rename the scripts for extraction
- Release v2.3
2014-09-27 Foivos S. Zakkak <[email protected]>
- Change the directory structure of the project (getting ready to slice
turnin.c)
- Add scripts for turnins extraction
- Update Makefile to much the new structure
- Fix Ignore hidden files or directories logic
- Release 2.2.2
2014-09-27 Antonios A. Chariton <[email protected]>
- Make error messages friendlier to the user
- Optimize wanttocontinue() and remove static buffer
2014-09-26 Antonios A. Chariton <[email protected]>
- Fix issue where turn ins have the user's group id
- Fix issue where LOGFILE and SHA256 have the group id of the first user
who turned in
- Release v2.2.1
2014-09-26 Foivos S. Zakkak <[email protected]>
- Fix decompression problems with symlink
- Release v2.2
2014-09-21 Antonios A. Chariton <[email protected]>
- Fix turnin out of bounds
- Release v2.1
2014-09-19 Foivos S. Zakkak <[email protected]>
- Fix maxturnin bypass
- Split changelog from source
- Some enhancements
- Release v2.0
2014-09-18 Antonios A. Chariton <[email protected]>
- Fix a problem that made SHA-256 calculation impossible
2014-09-06 Foivos S. Zakkak <[email protected]>
- Completely remove SUNOS5 code
- Add sha256-digests of turnins at SHA256
- Replace the 5K static buffer in writelog with a dynamic one
- Improve prompts
- Reclaim some memory (free)
2014-09-05 Foivos S. Zakkak <[email protected]>
- Ignore hidden files and folders
- Make sure the symlink to the latest turnin is a symlink before removing
2014-09-03 Foivos S. Zakkak <[email protected]>
- Let tar ignore backup and vcs files
- Fix arguments of tar to gunzip and not bzip
- Extend licensing. Add -V --version flags and add Copyright notices
with the contributors)
- Number all turnins and Create a symlink user.tgz to the latest turnin
- Fix wrong argument order in tar command
- Fix directory turn-in (bug introduced in 2014-09-02)
2014-09-03 Bryce Boe <[email protected]>
- Add license notice
2014-09-02 Foivos S. Zakkak <[email protected]>
- Fix Feature macros
- Check for proper values in LIMITS
- Use only tar (czf) for both the archiving and the compression
Now, it works something like this:
su user tar czf - assignment | su class tee ~class/TURNIN/as1 > /dev/null
- Write directly to the destination, don't use temp files and then move.
This comes at the cost of possible left overs in a case of a fail.
- Since the tar command is run by the user and not the class or the root
it can only access and archive files readable by the user. That means
we don't need to check about these files. We can let linux do all the
permission checking for us. Under the same spirit we do not need to
worry about absolute and relative paths including ".." (CAUTION: this is
only regarding files to be turned in and not the assignment path under
TURNIN or the class name)
As a result check_symlinks is no longer needed.
- Introduce strict checks for file-paths for the assignment
2014-09-01 Foivos S. Zakkak <[email protected]>
- Recursively check symlinks to get to the actual file
- Reduce use of strcpy
- Reduce attack surface
- Ignore signals at the beginning (can't get interrupted while privileged)
- Files renamed to *.tgz not *.tar.Z anymore
- Some comments
- isbinaryfile only checks for 0 since 0x80 results in false positives in
unicode
- Remove EQS define
- Rename shufflenames to movetar
- Add return type in functions
- Remove unused variables
- Fix Makefile
2013-02-15 Bryce Boe <[email protected]>
- Check for EOF on input prompts to fix 100% CPU zombie processes bug
- Reuse `wanttocontinue` for "already submitted prompt"
2010-11-04 Bryce Boe <[email protected]>
- Fix ".." and "." in project name bug.
- Also added exit(1) for user aborted exits.
v1.4: Jeff Sheltren <[email protected]>
Change functionality to work with newer NFS versions
Now, it works something like this:
su user tar cf - assignment | su class gzip > /tmp/file; mv /tmp/file ~class/TURNIN/assignment
v1.3: Jeff Sheltren <[email protected]>
Fix sprintf buffer overflow in writelog()
Security flaw found by Stefan Karpinski <[email protected]>
Fixed Y2K bug in logging. Andy Pippin <abp.cs.ucsb.edu>
Rewritten October 1993 by [email protected]
1993 version of the turnin program originally written by Paul Eggert